commission--yt-commit
This commit is contained in:
@ -25,6 +25,22 @@ Page({
|
||||
success: (res) => {
|
||||
console.log('当前账户是---->',res.data);
|
||||
if (res.data.code === 1) {
|
||||
if (res.data.data === null ) {
|
||||
wx.showModal({
|
||||
title: '提示',
|
||||
content: '当前无账户,请添加',
|
||||
complete: (res) => {
|
||||
if (res.cancel) {
|
||||
wx.navigateBack()
|
||||
} else if (res.confirm) {
|
||||
wx.navigateTo({
|
||||
url: '/pages/personCenter/bindBankCard/bindBankCard',
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
return;
|
||||
}
|
||||
this.setData({
|
||||
cardHolder: res.data.data.cardHolder,
|
||||
idCardNumber: res.data.data.idCardNumber,
|
||||
@ -72,7 +88,7 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
this.getAccountInfo()
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
.mt-27 {
|
||||
margin-top: 50.63rpx;
|
||||
margin-top: 32.63rpx;
|
||||
}
|
||||
.page {
|
||||
padding: 65.63rpx 37.5rpx 701.25rpx 58.13rpx;
|
||||
@ -17,7 +17,7 @@
|
||||
margin-top: 82.5rpx;
|
||||
}
|
||||
.group_2 {
|
||||
padding-bottom: 41.25rpx;
|
||||
padding-bottom: 29.25rpx;
|
||||
border-bottom: solid 1.88rpx #d1d1d1;
|
||||
}
|
||||
.font {
|
||||
@ -48,11 +48,11 @@
|
||||
line-height: 22.76rpx;
|
||||
}
|
||||
.group_3 {
|
||||
padding-bottom: 41.25rpx;
|
||||
padding-bottom: 29.25rpx;
|
||||
}
|
||||
.group_4 {
|
||||
margin-right: 11.25rpx;
|
||||
padding: 30rpx 0;
|
||||
padding: 25rpx 0;
|
||||
border-top: solid 1.88rpx #d1d1d1;
|
||||
border-bottom: solid 1.88rpx #d1d1d1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user