gpc-ui 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gpc-ui.common.js +34 -38
- package/lib/gpc-ui.common.js.map +1 -1
- package/lib/gpc-ui.css +1 -1
- package/lib/gpc-ui.umd.js +34 -38
- package/lib/gpc-ui.umd.js.map +1 -1
- package/lib/gpc-ui.umd.min.js +1 -1
- package/lib/gpc-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/gpc-login/index.vue +11 -4
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div style="color: #018a46; font-size: 40px; font-style: unset; text-align: right;">
|
|
5
5
|
{{systemTitle}}
|
|
6
6
|
</div>
|
|
7
|
-
<div style="color: #018a46; font-size: 32px; font-style: unset; text-align: right;"
|
|
7
|
+
<div style="color: #018a46; font-size: 32px; font-style: unset; text-align: right;">{{subtitle}}</div>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="wrap-box">
|
|
10
10
|
<div class="box-content">
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</drag-verify>
|
|
38
38
|
<div class="buttons clearfix">
|
|
39
39
|
<el-button class="btn-login fr button" :loading="loading" @click="getAccountLogin">登录</el-button>
|
|
40
|
-
<el-button type="text" style="color: #028037;" size="small" @click="getRegister">重置密码</el-button
|
|
40
|
+
<!-- <el-button type="text" style="color: #028037;" size="small" @click="getRegister">重置密码</el-button>-->
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
</TabPane>
|
|
@@ -293,7 +293,7 @@ export default {
|
|
|
293
293
|
if(this.isPassingLogin){
|
|
294
294
|
this.$emit('applySMSCodeRequest', this.verifyFrom);
|
|
295
295
|
this.isDisabledLogin = true
|
|
296
|
-
this.countdownLogin =
|
|
296
|
+
this.countdownLogin = 60
|
|
297
297
|
const interval = setInterval(()=>{
|
|
298
298
|
this.countdownLogin--
|
|
299
299
|
if(this.countdownLogin === 0){
|
|
@@ -373,7 +373,7 @@ export default {
|
|
|
373
373
|
if(this.isPassingRest){
|
|
374
374
|
this.$emit('applySMSCodeRequest', this.resetFrom);
|
|
375
375
|
this.isDisabledRest = true
|
|
376
|
-
this.countdownRest =
|
|
376
|
+
this.countdownRest = 60
|
|
377
377
|
const interval = setInterval(()=>{
|
|
378
378
|
this.countdownRest--
|
|
379
379
|
if(this.countdownRest === 0){
|
|
@@ -387,6 +387,13 @@ export default {
|
|
|
387
387
|
passCallRestBack() {
|
|
388
388
|
this.$emit('getCodeRequest', 'rest');
|
|
389
389
|
},
|
|
390
|
+
resetPwNotice(){
|
|
391
|
+
this.accountFrom.username = this.resetFrom.phoneNum
|
|
392
|
+
this.resetFrom.phoneNum = ''
|
|
393
|
+
this.resetFrom.code = ''
|
|
394
|
+
this.resetFrom.smsCode = ''
|
|
395
|
+
this.getLogin()
|
|
396
|
+
},
|
|
390
397
|
resetPw() {
|
|
391
398
|
this.isPassingRest = false;
|
|
392
399
|
this.$refs.dragVerifyRest.reset()
|