c4c5dccd by simon

默认提交

1 parent 81229c49
...@@ -163,6 +163,34 @@ module.exports = { ...@@ -163,6 +163,34 @@ module.exports = {
163 newPasswordSurePlaceholder: "輸入登錄密碼", 163 newPasswordSurePlaceholder: "輸入登錄密碼",
164 sure: "確認", 164 sure: "確認",
165 }, 165 },
166 passwordReset: {
167 type1: {
168 title: "密碼找回",
169 t1: "用戶輸入信息",
170 t1Placeholder: "手機號/一賬通用戶名",
171 submit: "確認",
172 },
173 type2: {
174 title: "密碼找回",
175 t1: "手機短信驗證碼",
176 t1Placeholder: "請輸入驗證碼",
177 submit: "確認",
178 },
179 type3: {
180 title: "密碼找回",
181 t1: "核對身份證信息",
182 t1Placeholder: "",
183 submit: "確認",
184 },
185 type4: {
186 title: "請設置新的密碼",
187 t1: "新密碼",
188 t1Placeholder: "請輸入新密碼",
189 t2: "確認密碼",
190 t2Placeholder: "請重新輸入新密碼",
191 submit: "確認",
192 }
193 },
166 index: { 194 index: {
167 news: "新聞資訊", 195 news: "新聞資訊",
168 newMore: "查看更多", 196 newMore: "查看更多",
......
...@@ -163,6 +163,34 @@ module.exports = { ...@@ -163,6 +163,34 @@ module.exports = {
163 newPasswordSurePlaceholder: "輸入登錄密碼", 163 newPasswordSurePlaceholder: "輸入登錄密碼",
164 sure: "確認", 164 sure: "確認",
165 }, 165 },
166 passwordReset: {
167 type1: {
168 title: "密碼找回",
169 t1: "用戶輸入信息",
170 t1Placeholder: "手機號/一賬通用戶名",
171 submit: "確認",
172 },
173 type2: {
174 title: "密碼找回",
175 t1: "手機短信驗證碼",
176 t1Placeholder: "請輸入驗證碼",
177 submit: "確認",
178 },
179 type3: {
180 title: "密碼找回",
181 t1: "核對身份證信息",
182 t1Placeholder: "",
183 submit: "確認",
184 },
185 type4: {
186 title: "請設置新的密碼",
187 t1: "新密碼",
188 t1Placeholder: "請輸入新密碼",
189 t2: "確認密碼",
190 t2Placeholder: "請重新輸入新密碼",
191 submit: "確認",
192 }
193 },
166 index: { 194 index: {
167 news: "新聞資訊", 195 news: "新聞資訊",
168 newMore: "查看更多", 196 newMore: "查看更多",
......
...@@ -163,6 +163,34 @@ module.exports = { ...@@ -163,6 +163,34 @@ module.exports = {
163 newPasswordSurePlaceholder: "输入登录密码", 163 newPasswordSurePlaceholder: "输入登录密码",
164 sure: "确认", 164 sure: "确认",
165 }, 165 },
166 passwordReset: {
167 type1: {
168 title: "密码找回",
169 t1: "用户输入信息",
170 t1Placeholder: "手机号/一账通用户名",
171 submit: "确认",
172 },
173 type2: {
174 title: "密码找回",
175 t1: "手机短信验证码",
176 t1Placeholder: "请输入验证码",
177 submit: "确认",
178 },
179 type3: {
180 title: "密码找回",
181 t1: "核对身份证信息",
182 t1Placeholder: "",
183 submit: "确认",
184 },
185 type4: {
186 title: "请设置新的密码",
187 t1: "新密码",
188 t1Placeholder: "请输入新密码",
189 t2: "确认密码",
190 t2Placeholder: "请重新输入新密码",
191 submit: "确认",
192 }
193 },
166 index: { 194 index: {
167 news: "新闻资讯", 195 news: "新闻资讯",
168 newMore: "查看更多", 196 newMore: "查看更多",
......
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
8 data() { 8 data() {
9 return { 9 return {
10 key: 'value', 10 key: 'value',
11 type: 1, // 1:输入用户信息 2:找回密码 3:核对信息 4.重置密码 11 type: 4, // 1:输入用户信息 2:找回密码 3:核对信息 4.重置密码
12 values: { 12 values: {
13 // 返回的token,串连整个流程,后台安全校验使用 13 // 返回的token,串连整个流程,后台安全校验使用
14 vcodeuuid: "", 14 vcodeuuid: "",
......
...@@ -9,72 +9,72 @@ ...@@ -9,72 +9,72 @@
9 9
10 <!-- 输入用户信息 --> 10 <!-- 输入用户信息 -->
11 <div v-if="type == 1" class="login"> 11 <div v-if="type == 1" class="login">
12 <div class="login-tit">{{$t('register.title2')}}</div> 12 <div class="login-tit">{{$t('passwordReset.type1.title')}}</div>
13 <div class="login-tit-space-1"></div> 13 <div class="login-tit-space-1"></div>
14 <div class="gird-g form"> 14 <div class="gird-g form">
15 <div class="pure-u-1 form-item"> 15 <div class="pure-u-1 form-item">
16 <div class="label"> 16 <div class="label">
17 <img src="@/assets/images/register/icon-register-phone.png"> {{$t('register.newPassword')}} 17 <img src="@/assets/images/register/icon-register-phone.png"> {{$t('passwordReset.type1.t1')}}
18 </div> 18 </div>
19 <div class="ipt-wrap"> 19 <div class="ipt-wrap">
20 <input :placeholder="$t('register.newPasswordPlaceholder')" class="ipt" type="password" v-model="values.password"> 20 <input :placeholder="$t('passwordReset.type1.t1Placeholder')" class="ipt" type="password" v-model="values.password">
21 </div> 21 </div>
22 <div class="validator"> 22 <div class="validator">
23 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示 23 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示
24 </div> 24 </div>
25 </div> 25 </div>
26 </div> 26 </div>
27 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('register.sure')}}</div> 27 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('passwordReset.type1.submit')}}</div>
28 </div> 28 </div>
29 29
30 <!-- 找回密码 --> 30 <!-- 找回密码 -->
31 <div v-if="type == 2" class="login"> 31 <div v-if="type == 2" class="login">
32 <div class="login-tit">{{$t('register.title2')}}</div> 32 <div class="login-tit">{{$t('passwordReset.type2.title')}}</div>
33 <div class="login-tit-space-1"></div> 33 <div class="login-tit-space-1"></div>
34 <div class="gird-g form"> 34 <div class="gird-g form">
35 <div class="pure-u-1 form-item"> 35 <div class="pure-u-1 form-item">
36 <div class="label"> 36 <div class="label">
37 <img src="@/assets/images/register/icon-register-phone.png"> {{$t('register.newPassword')}} 37 <img src="@/assets/images/register/icon-register-phone.png"> {{$t('passwordReset.type2.t1Placeholder')}}
38 </div> 38 </div>
39 <div class="ipt-wrap"> 39 <div class="ipt-wrap">
40 <input :placeholder="$t('register.newPasswordPlaceholder')" class="ipt" type="password" v-model="values.password"> 40 <input :placeholder="$t('passwordReset.type2.t1Placeholder')" class="ipt" type="password" v-model="values.password">
41 </div> 41 </div>
42 <div class="validator"> 42 <div class="validator">
43 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示 43 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示
44 </div> 44 </div>
45 </div> 45 </div>
46 </div> 46 </div>
47 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('register.sure')}}</div> 47 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('passwordReset.type2.submit')}}</div>
48 </div> 48 </div>
49 49
50 <!-- 核对信息 --> 50 <!-- 核对信息 -->
51 <div v-if="type == 3" class="login"> 51 <div v-if="type == 3" class="login">
52 <div class="login-tit">{{$t('register.title2')}}</div> 52 <div class="login-tit">{{$t('passwordReset.type3.title')}}</div>
53 <div class="login-tit-space-1"></div> 53 <div class="login-tit-space-1"></div>
54 <div class="gird-g form"> 54 <div class="gird-g form">
55 <div class="pure-u-1 form-item"> 55 <div class="pure-u-1 form-item">
56 <div class="label"> 56 <div class="label">
57 <img src="@/assets/images/register/icon-register-phone.png"> {{$t('register.newPassword')}} 57 <img src="@/assets/images/register/icon-register-phone.png"> {{$t('passwordReset.type3.t1')}}
58 </div> 58 </div>
59 <div class="ipt-wrap"> 59 <div class="ipt-wrap">
60 <input :placeholder="$t('register.newPasswordPlaceholder')" class="ipt disable" type="password" v-model="values.password"> 60 <input class="ipt disable" type="password" v-model="values.password">
61 </div> 61 </div>
62 </div> 62 </div>
63 </div> 63 </div>
64 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('register.sure')}}</div> 64 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('passwordReset.type3.submit')}}</div>
65 </div> 65 </div>
66 66
67 <!-- 重置密码 --> 67 <!-- 重置密码 -->
68 <div v-if="type == 4" class="login"> 68 <div v-if="type == 4" class="login">
69 <div class="login-tit">{{$t('register.title2')}}</div> 69 <div class="login-tit">{{$t('passwordReset.type4.title')}}</div>
70 <div class="login-tit-space-4"></div> 70 <div class="login-tit-space-4"></div>
71 <div class="gird-g form"> 71 <div class="gird-g form">
72 <div class="pure-u-1 form-item"> 72 <div class="pure-u-1 form-item">
73 <div class="label"> 73 <div class="label">
74 <img src="@/assets/images/register/icon-register-lock.png"> {{$t('register.newPassword')}} 74 <img src="@/assets/images/register/icon-register-lock.png"> {{$t('passwordReset.type4.t1')}}
75 </div> 75 </div>
76 <div class="ipt-wrap"> 76 <div class="ipt-wrap">
77 <input :placeholder="$t('register.newPasswordPlaceholder')" class="ipt" type="password" v-model="values.password"> 77 <input :placeholder="$t('passwordReset.type4.t1Placeholder')" class="ipt" type="password" v-model="values.password">
78 </div> 78 </div>
79 <div class="validator"> 79 <div class="validator">
80 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示 80 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示
...@@ -82,17 +82,17 @@ ...@@ -82,17 +82,17 @@
82 </div> 82 </div>
83 <div class="pure-u-1 form-item"> 83 <div class="pure-u-1 form-item">
84 <div class="label"> 84 <div class="label">
85 <img src="@/assets/images/register/icon-register-lock.png"> {{$t('register.newPasswordSure')}} 85 <img src="@/assets/images/register/icon-register-lock.png"> {{$t('passwordReset.type4.t2')}}
86 </div> 86 </div>
87 <div class="ipt-wrap"> 87 <div class="ipt-wrap">
88 <input :placeholder="$t('register.newPasswordSurePlaceholder')" class="ipt" type="password" v-model="values.passwordRepeat"> 88 <input :placeholder="$t('passwordReset.type4.t2Placeholder')" class="ipt" type="password" v-model="values.passwordRepeat">
89 </div> 89 </div>
90 <div class="validator"> 90 <div class="validator">
91 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示 91 <img src="@/assets/images/common/icon-notice.png" alt=""> 验证提示
92 </div> 92 </div>
93 </div> 93 </div>
94 </div> 94 </div>
95 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('register.sure')}}</div> 95 <div @click="onRegisterHandler()" class="login-submit pointer">{{$t('passwordReset.type4.submit')}}</div>
96 </div> 96 </div>
97 </div> 97 </div>
98 </div> 98 </div>
......