苹果内购+订单结算页面条件编译

This commit is contained in:
@fawn-nine
2024-07-09 14:26:26 +08:00
parent 05edf730c9
commit 545fd9cc75
12 changed files with 391 additions and 118 deletions

View File

@@ -249,7 +249,7 @@
yszcText: {},
quShow: false,
quCodeList: [], // 国家区域码
quCode: 86,
quCode: '86',
submitClickNum:0, // 登陆按钮点击次数
};
},
@@ -507,6 +507,7 @@
}
if (this.quCode == null || this.quCode == 86) {
if (!this.$base.phoneRegular.test(this.phone)) {
this.submitClickNum += 1
uni.showToast({
title: '手机格式不正确',
icon: 'none'
@@ -523,7 +524,7 @@
});
return;
}
if (!this.$base.mailRegular.test(this.email)) {
if (!this.$base.mailRegular.test(this.email)) {
uni.showToast({
title: '邮箱格式不正确',
icon: 'none'