This commit is contained in:
唐明明
2022-06-14 18:38:32 +08:00
parent adfc25d91c
commit a3221cfe18
12 changed files with 895 additions and 891 deletions

View File

@@ -14,7 +14,7 @@
<button :disabled="getSms" size="mini" @click="getPhoneCode()">{{sendCode}}</button>
</view>
<view class="auth-input">
<input v-model="parentId" type="number" placeholder="输入邀请码">
<input v-model="parentId" placeholder="输入邀请码">
</view>
<view class="auth-button">
<button @click="login('code')">登录</button>
@@ -49,7 +49,11 @@
},
methods: {
// 获取验证码
getPhoneCode() {
getPhoneCode() {
uni.showLoading({
title : '加载中...',
mask :true
})
let outTime;
let smsTime = 60;
getSms({