commission--yt-commit

This commit is contained in:
2025-06-19 14:13:59 +08:00
parent b360697a37
commit 2350346d95
5 changed files with 25 additions and 10 deletions

View File

@ -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;

View File

@ -16,7 +16,7 @@
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
height: calc(100vh - 1rpx);
}
.section {
padding: 28.13rpx 26.25rpx;

View File

@ -19,7 +19,7 @@
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
height: calc(100vh - 1rpx);
}
.font {
font-size: 30rpx;