Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
23cbd780
Commit
23cbd780
authored
4 years ago
by
xulili
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专属客服和注册
parent
79c9e9ff
master
dev_lqs
dev_wm
dev_xll
1 merge request
!10
Dev xll
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
334 additions
and
0 deletions
+334
-0
icon-code.png
H5/src/assets/images/icon-code.png
+0
-0
icon-invite-code.png
H5/src/assets/images/icon-invite-code.png
+0
-0
icon-user.png
H5/src/assets/images/icon-user.png
+0
-0
logo.png
H5/src/assets/images/logo.png
+0
-0
customer-service.vue
H5/src/views/customer-service.vue
+124
-0
register.vue
H5/src/views/register.vue
+210
-0
No files found.
H5/src/assets/images/icon-code.png
0 → 100755
View file @
23cbd780
2.19 KB
This diff is collapsed.
Click to expand it.
H5/src/assets/images/icon-invite-code.png
0 → 100755
View file @
23cbd780
2.28 KB
This diff is collapsed.
Click to expand it.
H5/src/assets/images/icon-user.png
0 → 100755
View file @
23cbd780
2.14 KB
This diff is collapsed.
Click to expand it.
H5/src/assets/images/logo.png
0 → 100755
View file @
23cbd780
10.4 KB
This diff is collapsed.
Click to expand it.
H5/src/views/customer-service.vue
0 → 100644
View file @
23cbd780
<
template
>
<div
class=
"customer-service"
>
<div
class=
"nav"
>
<van-icon
name=
"arrow-left"
size=
"20"
class=
"nav-left"
@
click=
"$router.go(-1)"
/>
<span
class=
"nav-title"
>
专属客服
</span>
</div>
<div
class=
"panel-box"
>
<div
class=
"panel-content"
>
<div
class=
"title"
>
客服二维码
</div>
<img
src=
"@/assets/images/logo.png"
class=
"qrCode"
alt=
""
>
<div
class=
"save-code"
>
<p>
保存二维码
</p>
<p>
打开微信扫一扫添加客服
</p>
</div>
<van-button>
保存
</van-button>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"customerService"
,
data
()
{
return
{
};
},
methods
:
{
handleUrl
(
urlName
)
{
this
.
$router
.
push
({
name
:
urlName
});
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
$white
:
#ffffff
;
.customer-service
{
width
:
100%
;
height
:
298px
;
background-image
:
url("../assets/images/森林状态.png")
;
background-size
:
cover
;
.nav
{
position
:
relative
;
display
:
flex
;
align-items
:
center
;
width
:
100%
;
height
:
46px
;
color
:
#fff
;
.nav-left
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
width
:
52px
;
height
:
100%
;
line-height
:
46px
;
text-align
:
center
;
}
.nav-title
{
max-width
:
60%
;
margin
:
0
auto
;
font-weight
:
bold
;
font-size
:
16px
;
}
}
.panel-box
{
height
:
calc
(
100vh
-
86px
);
padding
:
0
15px
;
margin-top
:
15px
;
.panel-content
{
width
:
100%
;
height
:
100%
;
background-color
:
#ffffff
;
box-shadow
:
0px
2px
12px
0px
rgba
(
6
,
0
,
1
,
0
.04
);
border-radius
:
4px
;
padding-top
:
45px
;
box-sizing
:
border-box
;
.title
{
font-size
:
18px
;
font-weight
:
normal
;
font-stretch
:
normal
;
line-height
:
26px
;
letter-spacing
:
0px
;
color
:
#333333
;
text-align
:
center
;
}
.qrCode
{
width
:
128px
;
height
:
130px
;
margin
:
80px
auto
30px
;
display
:
block
;
}
.save-code
{
font-size
:
14px
;
font-weight
:
normal
;
font-stretch
:
normal
;
line-height
:
16px
;
letter-spacing
:
0px
;
color
:
#999999
;
}
.van-button
{
width
:
160px
;
height
:
36px
;
background-color
:
#88c678
;
border-radius
:
4px
;
font-size
:
18px
;
color
:
#ffffff
;
margin
:
85px
auto
0
;
display
:
block
;
}
}
}
}
</
style
>
This diff is collapsed.
Click to expand it.
H5/src/views/register.vue
0 → 100644
View file @
23cbd780
<
template
>
<div
class=
"register-container"
>
<van-icon
name=
"arrow-left"
@
click=
"$router.go(-1)"
/>
<img
src=
"@/assets/images/logo.png"
class=
"logo-img"
alt=
""
>
<div
class=
"form-content"
>
<van-cell-group>
<van-field
:value=
"value"
placeholder=
"请输入用户名"
:border=
"hasBorder"
bind:change=
"onChange"
>
<img
class=
"icon-user"
src=
"@/assets/images/icon-user.png"
slot=
"left-icon"
alt=
""
>
</van-field>
<van-field
:value=
"value"
placeholder=
"请输入验证码"
:border=
"hasBorder"
bind:change=
"onChange"
>
<img
class=
"icon-user"
src=
"@/assets/images/icon-code.png"
slot=
"left-icon"
alt=
""
>
<van-button
slot=
"button"
size=
"small"
type=
"primary"
class=
"verify-code"
>
发送验证码
</van-button>
</van-field>
<van-field
:value=
"value"
placeholder=
"请输入推荐人邀请码(非必填)"
:border=
"hasBorder"
bind:change=
"onChange"
>
<img
class=
"icon-user"
src=
"@/assets/images/icon-invite-code.png"
slot=
"left-icon"
alt=
""
>
</van-field>
</van-cell-group>
<van-button
class=
"btn-submit"
@
click=
"register"
>
注册
</van-button>
</div>
<van-overlay
:show=
"show"
class-name=
"registerEorr"
@
click=
"onClickHide"
>
<div
class=
"wrapper"
@
click
.
stop
>
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"error-tip"
></div>
<div
class=
"tip"
>
{{
tip
}}
</div>
<van-button>
确定
</van-button>
</div>
</van-overlay>
</div>
</
template
>
<
script
>
export
default
{
name
:
'register'
,
data
(){
return
{
value
:
''
,
hasBorder
:
false
,
show
:
true
,
title
:
'注册失败'
,
tip
:
'该推荐人邀请码不存在,请重新填写'
}
},
methods
:
{
register
(){
// this.show = true
},
onClickHide
(){
this
.
show
=
false
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.register-container
{
height
:
100vh
;
background-color
:
#ffffff
;
padding
:
54px
15px
0
15px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
.van-icon-arrow-left
{
position
:
absolute
;
left
:
15px
;
top
:
9px
;
// display: block;
// font-size: 25px;
// color: #333;
// margin: 13px 0 0 15px;
}
.logo-img
{
width
:
102px
;
height
:
102px
;
display
:
block
;
margin
:
0
auto
50px
;
}
.form-content
{
padding
:
0
15px
;
.van-field__left-icon
{
display
:
flex
;
align-items
:
center
;
}
.
van-cell-group
:
:
after
{
display
:
none
;
}
.van-cell
{
background-color
:
#f9f9f9
;
border-radius
:
25px
;
margin-bottom
:
20px
;
}
}
.icon-user
{
width
:
18px
;
height
:
18px
;
}
.icon-code
{
width
:
16px
;
height
:
18px
;
}
.icon-code
{
width
:
17px
;
height
:
17px
;
}
.btn-submit
{
width
:
100%
;
height
:
44px
;
background-image
:
linear-gradient
(
72deg
,
#88c678
0%
,
#95e87f
100%
)
,
linear-gradient
(
#999999
,
#999999
);
background-blend-mode
:
normal
,
normal
;
border-radius
:
22px
;
color
:
#ffffff
;
font-size
:
18px
;
margin-top
:
20px
;
}
.verify-code
{
background-color
:
transparent
;
border
:
none
;
color
:
#88c677
;
}
.van-overlay.registerEorr
{
.wrapper
{
width
:
315px
;
height
:
293px
;
position
:
absolute
;
background-color
:
#ffffff
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-60%
);
padding
:
30px
0
;
text-align
:
center
;
box-sizing
:
border-box
;
border-radius
:
4px
;
.title
{
font-size
:
20px
;
font-weight
:
normal
;
font-stretch
:
normal
;
line-height
:
20px
;
letter-spacing
:
0px
;
color
:
#333333
;
}
.error-tip
{
width
:
72px
;
height
:
72px
;
border
:
6px
solid
#ff0000
;
border-radius
:
50%
;
font-size
:
48px
;
font-weight
:bold
;
color
:
#ff0000
;
margin
:
25px
auto
;
position
:
relative
;
&
:before
,
&
:after
{
content
:
""
;
display
:
inline-block
;
width
:
6px
;
height
:
30px
;
background-color
:
#ff0000
;
border-radius
:
4px
;
transform-origin
:center
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
}
&
:before
{
transform
:translate
(
-50
%
,
-50
%
)
rotate
(
45deg
)
;
}
&
:after
{
transform
:translate
(
-50
%
,
-50
%
)
rotate
(
-45deg
)
;
}
}
.tip
{
font-size
:
14px
;
font-weight
:
normal
;
font-stretch
:
normal
;
line-height
:
20px
;
color
:
#999999
;
}
.van-button
{
width
:
160px
;
height
:
36px
;
background-color
:
#88c678
;
border-radius
:
18px
;
color
:
#ffffff
;
margin-top
:
25px
;
}
}
}
}
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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