实名更新

This commit is contained in:
GaoHao
2025-01-08 22:24:32 +08:00
parent 54d2f057c2
commit 58d7250464
5 changed files with 18 additions and 18 deletions

View File

@@ -57,9 +57,9 @@
<view class="u-flex-1" style="color: grey;padding-bottom: 30px;padding-top: 20upx;" @click="realName">
实名认证
</view>
<view class="u-flex-1" style="color: grey;padding-bottom: 30px;padding-top: 20upx;" @click="goZhifuBao">
<!-- <view class="u-flex-1" style="color: grey;padding-bottom: 30px;padding-top: 20upx;" @click="goZhifuBao">
提现账号
</view>
</view> -->
<view class="u-flex-1" style="color: grey;padding-bottom: 30px;padding-top: 20upx;" @click="goqianbao">
红包明细
</view>

View File

@@ -9,10 +9,10 @@
<list-cell title="手机号" type="text" placeholder="请输入银行预留号码" v-model="mobile"></list-cell>
<button class="confirm-btn" @click="toLogin"
<button v-if="!user.accountNo" class="confirm-btn" @click="toLogin"
:disabled="logining">认证</button>
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;margin-top: 32rpx;margin-bottom: 10rpx;">请正确填写收款人的银行卡号和真实的收款人姓名</view>
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">手机号需是银行卡银行卡预留手机号</view>
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">手机号需是银行卡预留手机号</view>
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">银行卡号需与收款人姓名一致</view>
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx;;margin-bottom: 10rpx;">身份证信息仅可使用一次</view>
<view style="font-size: 24upx;color: #999999;padding: 0 64rpx">否则将无法正常收款请须知</view>
@@ -32,6 +32,7 @@
mobile: '',
certNum: '',
accountNo: '',
user: {},
logining: false
}
},
@@ -41,16 +42,15 @@
if (userId) {
this.$u.api.userinfo().then(res => {
if (res.code === 0) {
this.user = res.data
if (res.data.certName) {
this.certName = res.data.certName;
}
if (res.data.mobile) {
this.mobile = res.data.mobile;
}
if (res.data.certNo) {
this.certNum = res.data.certNo;
}
if (res.data.accountNo) {
this.certNum = res.data.certNo;
this.accountNo = res.data.accountNo;
}
@@ -77,7 +77,7 @@
})
} else if (!this.mobile) {
uni.showToast({
title: '请输入手机号',
title: '请输入手机号',
icon: 'none'
})
} else if (!this.certNum) {