微信二维码扫描后跳转页面,或者提示超时 & 余额提现取消校验规则

This commit is contained in:
2024-01-16 00:06:57 +08:00
parent 2378a99f57
commit c98f43a92d
11 changed files with 414 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ Page({
this.data.money = e.detail.value;
},
// 确认提现
// 确认提现
withdrawalClick(e) {
if (!this.data.cardholder) {
wx.showToast({
@@ -111,9 +111,9 @@ Page({
})
return;
}
if (this.data.bankCard.length != 16) {
if (this.data.bankCard.length < 13 || this.data.bankCard.length > 19) {
wx.showToast({
title: '请输入16位银行卡号',
title: '请输入正确银行卡号',
icon: 'none',
})
return;
@@ -175,4 +175,4 @@ Page({
})
}
})
})