混淆,改动代码

This commit is contained in:
GYJ
2024-12-21 10:38:04 +08:00
parent a7f6209b08
commit f87a4b285e
34 changed files with 780 additions and 782 deletions

View File

@@ -13,7 +13,7 @@
<text class="title">验证码</text>
<input type="number" :value="code" placeholder="请输入验证码" maxlength="6" data-key="code"
@input="inputChange" @confirm="toLogin" />
<button class="send-msg" @click="sendMsg" :disabled="sending">{{sendTime}}</button>
<button class="send-msg" @click="sendMsg" :disabled="sendIng">{{sendTime}}</button>
</view>
<view class="cu-form-group"
style="border: 2upx solid whitesmoke;margin-bottom: 20px;border-radius: 30px">
@@ -34,10 +34,10 @@
code: '',
mobile: '',
password: '',
sending: false,
sendIng: false,
sendTime: '获取验证码',
count: 60,
logining: false
loginIng: false
}
},
@@ -64,7 +64,7 @@
})
this.$u.get('/app/Login/sendMsg/' + mobile + '/forget').then(res => {
if (res.code === 0) {
this.sending = true;
this.sendIng = true;
uni.showToast({
title: '验证码发送成功请注意查收',
icon: 'none',
@@ -89,12 +89,12 @@
} = this;
if (count === 1) {
this.count = 60;
this.sending = false;
this.sendIng = false;
this.sendTime = '获取验证码'
} else {
this.count = count - 1;
this.sending = true;
this.sendTime = count - 1 + '秒后重新获取';
this.sendIng = true;
this.sendTime = count - 1 + '秒后获取';
setTimeout(this.countDown.bind(this), 1000);
}
},
@@ -140,7 +140,7 @@
duration: 1000
})
} else {
this.logining = true;
this.loginIng = true;
// this.$queue.showLoading("正在修改密码中...");
uni.showLoading({
title: '正在修改密码中...'