实名相关更新

This commit is contained in:
GaoHao
2025-01-08 19:56:39 +08:00
parent 7cbadc5638
commit 84c66e6529
4 changed files with 344 additions and 88 deletions

View File

@@ -1,19 +1,17 @@
<template>
<view class="containerView">
<up-cell-group>
<up-cell title="收款人姓名">
<up-cell-group :border="false">
<up-cell title="收款人姓名">
<template #right-icon> <up-input border="none" v-model="data.zhiFuBaoName" placeholder="请输入支付宝收款人姓名"></up-input> </template>
</up-cell>
<up-cell title="支付宝账号">
<template #right-icon> <up-input border="none" v-model="data.zhiFuBao" placeholder="请输入要绑定的支付宝手机号"></up-input> </template>
</up-cell>
</up-cell-group>
<button :class="data.zhiFuBao&&data.zhiFuBaoName?'confirm-btn':'confirm-btn1'" @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">否则将无法正常收款请须知</view>
<button class="confirm-btn" @click="toLogin"
:disabled="data.logining">绑定账户</button>
<view style="font-size: 24upx;color: #999999;padding: 0 15rpx;margin-top: 32rpx;margin-bottom: 10rpx;">请正确填写收款人的支付宝账户和真实的收款人姓名</view>
<view style="font-size: 24upx;color: #999999;padding: 0 15rpx">否则将无法正常收款请须知</view>
</view>
</template>
@@ -25,14 +23,14 @@
import { commonType } from '@/api/init.js';
let data = reactive({
zhiFuBao: '',
zhiFuBaoName: '',
zhiFuBao: null,
zhiFuBaoName: null,
logining: false
})
onLoad(() => {
this.zhiFuBao = uni.getStorageSync('userInfo').zhiFuBao;
this.zhiFuBaoName = uni.getStorageSync('userInfo').zhiFuBaoName;
data.zhiFuBao = uni.getStorageSync('userInfo').zhiFuBao;
data.zhiFuBaoName = uni.getStorageSync('userInfo').zhiFuBaoName;
})
function inputChange(e) {
@@ -69,7 +67,7 @@
icon: 'none',
complete() {
setTimeout(function() {
// uni.navigateBack();
uni.navigateBack();
}, 1000)
}
})
@@ -87,7 +85,7 @@
}
.containerView {
padding-top: 32upx;
padding:30rpx;
position: relative;
width: 100%;
height: 100%;
@@ -107,7 +105,7 @@
font-size: 32rpx;
&:after {
border-radius: 60px;
border: none;
}
}
@@ -122,9 +120,9 @@
background: #ff7581;
color: #ffffff;
font-size: 32rpx;
border: none;
&:after {
border-radius: 60px;
border: none;
}
}
</style>