c4c5dccd by simon

默认提交

1 parent 81229c49
......@@ -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: "查看更多",
......
......@@ -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: "查看更多",
......
......@@ -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: "查看更多",
......
......@@ -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: "",
......
......@@ -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.newPasswordPlaceholder')" class="ipt" type="password" v-model="values.password">
<input :placeholder="$t('passwordReset.type1.t1Placeholder')" 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.newPasswordPlaceholder')" class="ipt" type="password" v-model="values.password">
<input :placeholder="$t('passwordReset.type2.t1Placeholder')" 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.newPasswordPlaceholder')" class="ipt" type="password" v-model="values.password">
<input :placeholder="$t('passwordReset.type4.t1Placeholder')" 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.newPasswordSurePlaceholder')" class="ipt" type="password" v-model="values.passwordRepeat">
<input :placeholder="$t('passwordReset.type4.t2Placeholder')" 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>
......