commission--yt-commit
This commit is contained in:
@ -154,11 +154,11 @@ Page({
|
||||
return false;
|
||||
}
|
||||
|
||||
// 检查银行卡号是否为 16 位且只包含数字
|
||||
const bankCardPattern = /^[0-9]{16}$/;
|
||||
// 检查银行卡号是否为 16 - 19 位且只包含数字
|
||||
const bankCardPattern = /^[0-9]{16,19}$/;
|
||||
if (!bankCardPattern.test(bankCardNumber)) {
|
||||
wx.showToast({
|
||||
title: '银行卡号必须是 16 位数字',
|
||||
title: '银行卡号必须是 16 - 19 位数字',
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
|
@ -16,7 +16,7 @@
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
height: 100%;
|
||||
height: calc(100vh - 1rpx);
|
||||
}
|
||||
.section {
|
||||
padding: 28.13rpx 26.25rpx;
|
||||
|
@ -19,7 +19,7 @@
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
height: 100%;
|
||||
height: calc(100vh - 1rpx);
|
||||
}
|
||||
.font {
|
||||
font-size: 30rpx;
|
||||
|
Reference in New Issue
Block a user