混淆,改动代码

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

@@ -1,5 +1,5 @@
<template>
<view class="container1">
<view class="containerView">
<view class="cu-form-group"
style="margin: 30upx;border: 2upx solid whitesmoke;margin-bottom: 20px;border-radius: 30px">
<view class="title">手机号</view>
@@ -11,11 +11,10 @@
<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>
<button class="confirm-btn" @click="toLogin" :disabled="logining">立即绑定</button>
</view>
<button class="confirm-btn" @click="toLogin" :disabled="loginIng">立即绑定</button>
</view>
</template>
@@ -29,8 +28,8 @@
return {
mobile: '',
code: '',
logining: false,
sending: false,
loginIng: false,
sendIng: false,
sendTime: '获取验证码',
count: 60,
type: '',
@@ -55,11 +54,11 @@
} = this;
if (count === 1) {
this.count = 60;
this.sending = false;
this.sendIng = false;
this.sendTime = '获取验证码'
} else {
this.count = count - 1;
this.sending = true;
this.sendIng = true;
this.sendTime = count - 1 + '秒后重新获取';
setTimeout(this.countDown.bind(this), 1000);
}
@@ -76,7 +75,7 @@
this.$queue.showLoading("正在发送验证码...");
this.$Request.getT('/app/Login/sendMsg/' + mobile + '/gzg').then(res => {
if (res.code === 0) {
this.sending = true;
this.sendIng = true;
this.$queue.showToast('验证码发送成功请注意查收');
this.countDown();
uni.hideLoading();
@@ -162,7 +161,7 @@
background: #557EFD;
}
.container1 {
.containerView {
top: 0;
padding-top: 32upx;
position: relative;