Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c4c5dccd
authored
2019-11-12 15:55:57 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
81229c49
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
103 additions
and
19 deletions
src/common/lang/en.js
src/common/lang/tc.js
src/common/lang/zh.js
src/pages/password-reset/password-reset.js
src/pages/password-reset/password-reset.vue
src/common/lang/en.js
View file @
c4c5dcc
...
...
@@ -163,6 +163,34 @@ module.exports = {
newPasswordSurePlaceholder
:
"輸入登錄密碼"
,
sure
:
"確認"
,
},
passwordReset
:
{
type1
:
{
title
:
"密碼找回"
,
t1
:
"用戶輸入信息"
,
t1Placeholder
:
"手機號/一賬通用戶名"
,
submit
:
"確認"
,
},
type2
:
{
title
:
"密碼找回"
,
t1
:
"手機短信驗證碼"
,
t1Placeholder
:
"請輸入驗證碼"
,
submit
:
"確認"
,
},
type3
:
{
title
:
"密碼找回"
,
t1
:
"核對身份證信息"
,
t1Placeholder
:
""
,
submit
:
"確認"
,
},
type4
:
{
title
:
"請設置新的密碼"
,
t1
:
"新密碼"
,
t1Placeholder
:
"請輸入新密碼"
,
t2
:
"確認密碼"
,
t2Placeholder
:
"請重新輸入新密碼"
,
submit
:
"確認"
,
}
},
index
:
{
news
:
"新聞資訊"
,
newMore
:
"查看更多"
,
...
...
src/common/lang/tc.js
View file @
c4c5dcc
...
...
@@ -163,6 +163,34 @@ module.exports = {
newPasswordSurePlaceholder
:
"輸入登錄密碼"
,
sure
:
"確認"
,
},
passwordReset
:
{
type1
:
{
title
:
"密碼找回"
,
t1
:
"用戶輸入信息"
,
t1Placeholder
:
"手機號/一賬通用戶名"
,
submit
:
"確認"
,
},
type2
:
{
title
:
"密碼找回"
,
t1
:
"手機短信驗證碼"
,
t1Placeholder
:
"請輸入驗證碼"
,
submit
:
"確認"
,
},
type3
:
{
title
:
"密碼找回"
,
t1
:
"核對身份證信息"
,
t1Placeholder
:
""
,
submit
:
"確認"
,
},
type4
:
{
title
:
"請設置新的密碼"
,
t1
:
"新密碼"
,
t1Placeholder
:
"請輸入新密碼"
,
t2
:
"確認密碼"
,
t2Placeholder
:
"請重新輸入新密碼"
,
submit
:
"確認"
,
}
},
index
:
{
news
:
"新聞資訊"
,
newMore
:
"查看更多"
,
...
...
src/common/lang/zh.js
View file @
c4c5dcc
...
...
@@ -163,6 +163,34 @@ module.exports = {
newPasswordSurePlaceholder
:
"输入登录密码"
,
sure
:
"确认"
,
},
passwordReset
:
{
type1
:
{
title
:
"密码找回"
,
t1
:
"用户输入信息"
,
t1Placeholder
:
"手机号/一账通用户名"
,
submit
:
"确认"
,
},
type2
:
{
title
:
"密码找回"
,
t1
:
"手机短信验证码"
,
t1Placeholder
:
"请输入验证码"
,
submit
:
"确认"
,
},
type3
:
{
title
:
"密码找回"
,
t1
:
"核对身份证信息"
,
t1Placeholder
:
""
,
submit
:
"确认"
,
},
type4
:
{
title
:
"请设置新的密码"
,
t1
:
"新密码"
,
t1Placeholder
:
"请输入新密码"
,
t2
:
"确认密码"
,
t2Placeholder
:
"请重新输入新密码"
,
submit
:
"确认"
,
}
},
index
:
{
news
:
"新闻资讯"
,
newMore
:
"查看更多"
,
...
...
src/pages/password-reset/password-reset.js
View file @
c4c5dcc
...
...
@@ -8,7 +8,7 @@ export default {
data
()
{
return
{
key
:
'value'
,
type
:
1
,
// 1:输入用户信息 2:找回密码 3:核对信息 4.重置密码
type
:
4
,
// 1:输入用户信息 2:找回密码 3:核对信息 4.重置密码
values
:
{
// 返回的token,串连整个流程,后台安全校验使用
vcodeuuid
:
""
,
...
...
src/pages/password-reset/password-reset.vue
View file @
c4c5dcc
...
...
@@ -9,72 +9,72 @@
<!-- 输入用户信息 -->
<div
v-if=
"type == 1"
class=
"login"
>
<div
class=
"login-tit"
>
{{
$t
(
'
register.title2
'
)
}}
</div>
<div
class=
"login-tit"
>
{{
$t
(
'
passwordReset.type1.title
'
)
}}
</div>
<div
class=
"login-tit-space-1"
></div>
<div
class=
"gird-g form"
>
<div
class=
"pure-u-1 form-item"
>
<div
class=
"label"
>
<img
src=
"@/assets/images/register/icon-register-phone.png"
>
{{
$t
(
'
register.newPassword
'
)
}}
<img
src=
"@/assets/images/register/icon-register-phone.png"
>
{{
$t
(
'
passwordReset.type1.t1
'
)
}}
</div>
<div
class=
"ipt-wrap"
>
<input
:placeholder=
"$t('
register.newPassword
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.password"
>
<input
:placeholder=
"$t('
passwordReset.type1.t1
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.password"
>
</div>
<div
class=
"validator"
>
<img
src=
"@/assets/images/common/icon-notice.png"
alt=
""
>
验证提示
</div>
</div>
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
register.sure
'
)
}}
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
passwordReset.type1.submit
'
)
}}
</div>
</div>
<!-- 找回密码 -->
<div
v-if=
"type == 2"
class=
"login"
>
<div
class=
"login-tit"
>
{{
$t
(
'
register.title2
'
)
}}
</div>
<div
class=
"login-tit"
>
{{
$t
(
'
passwordReset.type2.title
'
)
}}
</div>
<div
class=
"login-tit-space-1"
></div>
<div
class=
"gird-g form"
>
<div
class=
"pure-u-1 form-item"
>
<div
class=
"label"
>
<img
src=
"@/assets/images/register/icon-register-phone.png"
>
{{
$t
(
'
register.newPassword
'
)
}}
<img
src=
"@/assets/images/register/icon-register-phone.png"
>
{{
$t
(
'
passwordReset.type2.t1Placeholder
'
)
}}
</div>
<div
class=
"ipt-wrap"
>
<input
:placeholder=
"$t('
register.newPassword
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.password"
>
<input
:placeholder=
"$t('
passwordReset.type2.t1
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.password"
>
</div>
<div
class=
"validator"
>
<img
src=
"@/assets/images/common/icon-notice.png"
alt=
""
>
验证提示
</div>
</div>
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
register.sure
'
)
}}
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
passwordReset.type2.submit
'
)
}}
</div>
</div>
<!-- 核对信息 -->
<div
v-if=
"type == 3"
class=
"login"
>
<div
class=
"login-tit"
>
{{
$t
(
'
register.title2
'
)
}}
</div>
<div
class=
"login-tit"
>
{{
$t
(
'
passwordReset.type3.title
'
)
}}
</div>
<div
class=
"login-tit-space-1"
></div>
<div
class=
"gird-g form"
>
<div
class=
"pure-u-1 form-item"
>
<div
class=
"label"
>
<img
src=
"@/assets/images/register/icon-register-phone.png"
>
{{
$t
(
'
register.newPassword
'
)
}}
<img
src=
"@/assets/images/register/icon-register-phone.png"
>
{{
$t
(
'
passwordReset.type3.t1
'
)
}}
</div>
<div
class=
"ipt-wrap"
>
<input
:placeholder=
"$t('register.newPasswordPlaceholder')"
class=
"ipt disable"
type=
"password"
v-model=
"values.password"
>
<input
class=
"ipt disable"
type=
"password"
v-model=
"values.password"
>
</div>
</div>
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
register.sure
'
)
}}
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
passwordReset.type3.submit
'
)
}}
</div>
</div>
<!-- 重置密码 -->
<div
v-if=
"type == 4"
class=
"login"
>
<div
class=
"login-tit"
>
{{
$t
(
'
register.title2
'
)
}}
</div>
<div
class=
"login-tit"
>
{{
$t
(
'
passwordReset.type4.title
'
)
}}
</div>
<div
class=
"login-tit-space-4"
></div>
<div
class=
"gird-g form"
>
<div
class=
"pure-u-1 form-item"
>
<div
class=
"label"
>
<img
src=
"@/assets/images/register/icon-register-lock.png"
>
{{
$t
(
'
register.newPassword
'
)
}}
<img
src=
"@/assets/images/register/icon-register-lock.png"
>
{{
$t
(
'
passwordReset.type4.t1
'
)
}}
</div>
<div
class=
"ipt-wrap"
>
<input
:placeholder=
"$t('
register.newPassword
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.password"
>
<input
:placeholder=
"$t('
passwordReset.type4.t1
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.password"
>
</div>
<div
class=
"validator"
>
<img
src=
"@/assets/images/common/icon-notice.png"
alt=
""
>
验证提示
...
...
@@ -82,17 +82,17 @@
</div>
<div
class=
"pure-u-1 form-item"
>
<div
class=
"label"
>
<img
src=
"@/assets/images/register/icon-register-lock.png"
>
{{
$t
(
'
register.newPasswordSure
'
)
}}
<img
src=
"@/assets/images/register/icon-register-lock.png"
>
{{
$t
(
'
passwordReset.type4.t2
'
)
}}
</div>
<div
class=
"ipt-wrap"
>
<input
:placeholder=
"$t('
register.newPasswordSure
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.passwordRepeat"
>
<input
:placeholder=
"$t('
passwordReset.type4.t2
Placeholder')"
class=
"ipt"
type=
"password"
v-model=
"values.passwordRepeat"
>
</div>
<div
class=
"validator"
>
<img
src=
"@/assets/images/common/icon-notice.png"
alt=
""
>
验证提示
</div>
</div>
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
register.sure
'
)
}}
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer"
>
{{
$t
(
'
passwordReset.type4.submit
'
)
}}
</div>
</div>
</div>
</div>
...
...
Please
register
or
sign in
to post a comment