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
4778a163
authored
May 20, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
c6681ddd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
107 additions
and
6 deletions
assets/css/mine/bind.scss
pages.json
pages/mine/bindMail.vue
pages/mine/setting.vue
router/index.js
assets/css/mine/bind.scss
0 → 100644
View file @
4778a163
.page-bind
{
height
:
100vh
;
background-color
:
#ffff
;
padding-top
:
116rpx
;
.form-box
{
padding
:
0
60rpx
;
.uni-input
{
height
:
88rpx
;
background
:
#f5f5f7
;
border-radius
:
10rpx
;
text-indent
:
24rpx
;
font-size
:
26rpx
;
border
:
1px
solid
transparent
;
transition
:
all
0
.4s
ease
;
&
:
:-
webkit-input-placeholder
{
color
:
#919399
;
}
&
:focus-within
{
background-color
:
#ffffff
;
border
:
1px
solid
#1969f9
;
}
}
.btn
{
margin-top
:
40rpx
;
height
:
88rpx
;
background
:
#1969f9
;
border-radius
:
10rpx
;
font-size
:
28rpx
;
color
:
#fff
;
}
}
.success
{
image
{
width
:
356rpx
;
height
:
356rpx
;
}
.tt
{
margin-top
:
32rpx
;
font-size
:
28rpx
;
color
:
#292b33
;
}
.btn
{
margin-top
:
100rpx
;
width
:
344rpx
;
height
:
68rpx
;
background
:
#1969f9
;
border-radius
:
10rpx
;
font-size
:
28rpx
;
color
:
#fff
;
}
}
}
pages.json
View file @
4778a163
...
...
@@ -148,6 +148,12 @@
"style"
:
{
"navigationBarTitleText"
:
"账户设置"
}
},
{
"path"
:
"pages/mine/bindMail"
,
"style"
:
{
"navigationBarTitleText"
:
"绑定邮箱"
}
}
],
"globalStyle"
:
{
...
...
pages/mine/bindMail.vue
0 → 100644
View file @
4778a163
<
template
>
<view
class=
"page-bind"
>
<navElement
title=
"绑定邮箱"
></navElement>
<view
class=
"form-box"
v-if=
"flag"
>
<view><input
type=
"text"
placeholder=
"请输入邮箱号码"
class=
"uni-input"
/></view>
<view
class=
"btn row rowCenter verCenter"
@
click=
"flag = false"
>
绑定
</view>
</view>
<view
class=
"success column rowCenter verCenter"
v-else
>
<image
src=
"../../static/success.png"
></image>
<text
class=
"tt"
>
我是一条文案文案文案
</text>
<navigator
class=
"btn row rowCenter verCenter"
url=
"/login"
hover-class=
"none"
>
去验证
</navigator>
</view>
</view>
</
template
>
<
script
>
import
{
Api_Url
}
from
'@/util/api.js'
;
import
{
setCookie
,
delCookie
,
getCookie
,
startCountdown
}
from
'@/util/util.js'
;
import
navElement
from
'@/components/nav.vue'
;
export
default
{
components
:
{
navElement
},
data
()
{
return
{
flag
:
true
};
},
onShow
()
{},
methods
:
{}
};
</
script
>
<
style
lang=
"scss"
>
@import
'@/assets/css/mine/bind.scss'
;
</
style
>
pages/mine/setting.vue
View file @
4778a163
...
...
@@ -12,27 +12,27 @@
<text
class=
"iconfont icon-jt"
></text>
</view>
</navigator>
<
view
class=
"box row bothSide verCenter curr
"
>
<
navigator
class=
"box row bothSide verCenter curr"
url=
"/user/bindMail"
hover-class=
"none
"
>
<view
class=
"text"
><text
class=
"t1"
>
邮箱
</text></view>
<view
class=
"right"
>
<text
class=
"t1"
>
绑定
</text>
<text
class=
"iconfont icon-jt"
></text>
</view>
</
view
>
<
view
class=
"box row bothSide verCenter curr
"
>
</
navigator
>
<
navigator
class=
"box row bothSide verCenter curr"
url=
"/user/bindMail"
hover-class=
"none
"
>
<view
class=
"text"
><text
class=
"t1"
>
QQ号
</text></view>
<view
class=
"right"
>
<text
class=
"t1"
>
绑定
</text>
<text
class=
"iconfont icon-jt"
></text>
</view>
</
view
>
<
view
class=
"box row bothSide verCenter curr
"
>
</
navigator
>
<
navigator
class=
"box row bothSide verCenter curr"
url=
"/user/bindMail"
hover-class=
"none
"
>
<view
class=
"text"
><text
class=
"t1"
>
微信号
</text></view>
<view
class=
"right"
>
<text
class=
"t1"
>
绑定
</text>
<text
class=
"iconfont icon-jt"
></text>
</view>
</
view
>
</
navigator
>
<view
class=
"company"
>
<view
class=
"box row bothSide verCenter curr"
style=
"margin-bottom: 0;border-radius:0;border-bottom: 1px solid #F0F0F2;"
>
<view
class=
"text"
><text
class=
"t1"
>
公司信息
</text></view>
...
...
router/index.js
View file @
4778a163
...
...
@@ -200,6 +200,13 @@ const router = new Router({
meta
:
{
title
:
'账户设置'
}
},
{
path
:
'/pages/mine/bindMail'
,
aliasPath
:
'/user/bindMail'
,
meta
:
{
title
:
'绑定邮箱'
}
}
]
});
...
...
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