Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5d68629e
authored
May 27, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
企业专享
parent
363ab24a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
174 additions
and
1 deletions
assets/css/mine/zqsx.scss
pages.json
pages/mine/about.vue
pages/mine/enterprise.vue
router/index.js
assets/css/mine/zqsx.scss
View file @
5d68629e
.page-zqsx
{
.page-zqsx
{
.back
{
position
:
fixed
;
top
:
22rpx
;
left
:
32rpx
;
.iconfont
{
font-size
:
44rpx
;
color
:
#ffffff
;
}
}
.bg
{
.bg
{
height
:
760rpx
;
height
:
760rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202305/20/037958d4bfd087998ada3fbeb60f5eb0.png')
no-repeat
center
;
background
:
url('https://img.ichunt.com/images/ichunt/202305/20/037958d4bfd087998ada3fbeb60f5eb0.png')
no-repeat
center
;
background-size
:
cover
;
background-size
:
cover
;
}
}
.bg1
{
height
:
760rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202305/27/8ba5b044f4d5584e13759b8167c4640a.png')
no-repeat
center
;
background-size
:
cover
;
}
.form-box
{
.form-box
{
position
:
relative
;
position
:
relative
;
top
:
-128rpx
;
top
:
-128rpx
;
...
...
pages.json
View file @
5d68629e
...
@@ -244,6 +244,12 @@
...
@@ -244,6 +244,12 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"FAE技术支持申请"
"navigationBarTitleText"
:
"FAE技术支持申请"
}
}
},
{
"path"
:
"pages/mine/enterprise"
,
"style"
:
{
"navigationBarTitleText"
:
"企业专享"
}
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
...
...
pages/mine/about.vue
View file @
5d68629e
<
template
>
<
template
>
<view
class=
"page-user"
>
账期服务
</view>
<view
class=
"page-user"
>
关于我们
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
pages/mine/enterprise.vue
0 → 100644
View file @
5d68629e
<
template
>
<view
class=
"page-zqsx"
>
<view
class=
"back"
v-back
><text
class=
"iconfont icon-arrleft"
></text></view>
<view
class=
"bg1"
></view>
<view
class=
"form-box"
>
<view
class=
"kefu row verCenter"
>
<text
class=
"iconfont icon-a-juxingbeifen141"
></text>
<text
class=
"tt"
>
企业专线对接
</text>
</view>
<view
class=
"input-box column"
>
<view
class=
"text"
>
<text
class=
"t1"
>
*
</text>
<text
class=
"t2"
>
公司名称:
</text>
</view>
<view><input
type=
"text"
placeholder=
"请输入公司名称"
class=
"uni-input"
v-model=
"formParams.com_name"
/></view>
</view>
<view
class=
"input-box column"
>
<view
class=
"text"
>
<text
class=
"t1"
>
*
</text>
<text
class=
"t2"
>
联系人:
</text>
</view>
<view><input
type=
"text"
placeholder=
"请输入联系人"
class=
"uni-input"
v-model=
"formParams.linkman"
/></view>
</view>
<view
class=
"input-box column"
>
<view
class=
"text"
>
<text
class=
"t1"
>
*
</text>
<text
class=
"t2"
>
联系电话:
</text>
</view>
<view><input
type=
"text"
placeholder=
"请输入联系电话"
class=
"uni-input"
v-model=
"formParams.mobile"
/></view>
</view>
<view
class=
"input-box column"
>
<view
class=
"text"
>
<text
class=
"t1"
>
*
</text>
<text
class=
"t2"
>
邮箱:
</text>
</view>
<view><input
type=
"text"
placeholder=
"请输入邮箱"
class=
"uni-input"
v-model=
"formParams.email"
/></view>
</view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"submit()"
>
提交
</view>
</view>
<!-- 提交成功 -->
<uni-popup
ref=
"popup"
type=
"center"
>
<view
class=
"layer-box"
>
<text
class=
"iconfont icon-xxx colose"
@
click=
"close()"
></text>
<view
class=
"success row"
>
<text
class=
"iconfont icon-huaban"
></text>
<view
class=
"success-text column"
>
<text
class=
"t1"
>
提交成功
</text>
<text
class=
"t2"
>
正在为您安排专人对接,请注意接听预留电话
</text>
</view>
</view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"reload()"
>
确定
</view>
</view>
</uni-popup>
</view>
</
template
>
<
script
>
import
{
Api_Url
}
from
'@/util/api.js'
;
import
navElement
from
'@/components/nav.vue'
;
export
default
{
components
:
{
navElement
},
data
()
{
return
{
formParams
:
{
com_name
:
''
,
linkman
:
''
,
mobile
:
''
,
email
:
''
,
com_nature
:
''
,
business_license_src
:
''
}
};
},
onShow
()
{},
methods
:
{
open
()
{
this
.
$refs
.
popup
.
open
(
'center'
);
},
close
()
{
this
.
$refs
.
popup
.
close
();
},
reload
()
{
window
.
location
.
reload
();
},
submit
()
{
if
(
!
this
.
formParams
.
com_name
)
{
uni
.
showToast
({
title
:
'请填写公司名称'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
formParams
.
linkman
)
{
uni
.
showToast
({
title
:
'请填写联系人'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
formParams
.
mobile
)
{
uni
.
showToast
({
title
:
'请填写电话'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
formParams
.
email
)
{
uni
.
showToast
({
title
:
'请填写邮箱'
,
icon
:
'none'
});
return
false
;
}
if
(
!
this
.
formParams
.
com_nature
)
{
uni
.
showToast
({
title
:
'请选择公司性质'
,
icon
:
'none'
});
return
false
;
}
this
.
formParams
.
business_license_src
=
this
.
image_list
[
0
];
this
.
request
(
Api_Url
+
'/help/help/addCreditApply'
,
'POST'
,
this
.
formParams
,
true
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
open
();
}
else
{
uni
.
showModal
({
itle
:
'提示'
,
content
:
res
.
err_msg
,
showCancel
:
false
});
}
});
}
}
};
</
script
>
<
style
lang=
"scss"
>
@import
'@/assets/css/mine/zqsx.scss'
;
</
style
>
router/index.js
View file @
5d68629e
...
@@ -328,6 +328,14 @@ const router = new Router({
...
@@ -328,6 +328,14 @@ const router = new Router({
title
:
'FAE技术支持申请'
,
title
:
'FAE技术支持申请'
,
auth
:
false
auth
:
false
}
}
},
{
path
:
'/pages/mine/enterprise'
,
aliasPath
:
'/enterprise'
,
meta
:
{
title
:
'企业专享'
,
auth
:
false
}
}
}
]
]
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment