完善提示

This commit is contained in:
donqi 2022-06-27 18:04:12 +08:00
parent 3e0b1593c5
commit 9c0b3ed736
2 changed files with 27 additions and 13 deletions

View File

@ -69,7 +69,7 @@
<view class="cu-form-group"> <view class="cu-form-group">
<view class="title">验证码</view> <view class="title">验证码</view>
<input name="identifyCode" placeholder="请输入验证码"></input> <input name="identifyCode" placeholder="请输入验证码"></input>
<button class='cu-btn bg-main-color shadow'>获取验证码</button> <button class='cu-btn bg-main-color shadow' @click="getPhoneVertifyNum">获取验证码</button>
</view> </view>
<view class="cu-form-group"> <view class="cu-form-group">
<view class="title">关联信息</view> <view class="title">关联信息</view>
@ -112,6 +112,12 @@
url: '/pages/my/contract' url: '/pages/my/contract'
}) })
}, },
getPhoneVertifyNum() {
uni.showToast({
title: '功能开发中,暂无法使用',
icon: 'none'
})
},
validateForm(confirmFormData) { validateForm(confirmFormData) {
let formInfoValid = Boolean(confirmFormData.name) && let formInfoValid = Boolean(confirmFormData.name) &&
Boolean(confirmFormData.phone) && Boolean(confirmFormData.phone) &&
@ -148,13 +154,17 @@
let formValid = this.validateForm(formData); let formValid = this.validateForm(formData);
console.log(formData); console.log(formData);
if (formValid) { if (formValid) {
// uni.showToast({
// title: '',
// icon: 'success',
// mask: true
// })
// uni.navigateTo({
// url: '/pages/my/my-operator'
// })
uni.showToast({ uni.showToast({
title: '保存成功', title: '功能开发中,暂无法使用',
icon: 'success', icon: 'none'
mask: true
})
uni.navigateTo({
url: '/pages/my/my-operator'
}) })
} }
} }

View File

@ -69,13 +69,17 @@
async loadData() { async loadData() {
this.myMoneyBag = await this.$api.data('myMoneyBag'); this.myMoneyBag = await this.$api.data('myMoneyBag');
// //
let billRes = await this.$request.qryFinancialCount(); // let billRes = await this.$request.qryFinancialCount();
this.bill = billRes.data; // this.bill = billRes.data;
for (let i = 0; i < this.bill.length; i++) { // for (let i = 0; i < this.bill.length; i++) {
this.openStatusArr.push('1'); // this.openStatusArr.push('1');
} // }
this.curUserInfo = this.$request.getCurUserInfo(); this.curUserInfo = this.$request.getCurUserInfo();
this.loadBindBankCard(); this.loadBindBankCard();
uni.showToast({
title: '功能开发中,暂无法使用',
icon: 'none'
})
}, },
async reloadData() { async reloadData() {
this.loadBindBankCard(); this.loadBindBankCard();