From 4ae82dd51c340c717e67b6a073d66e08cd787e15 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Thu, 6 Jan 2022 22:17:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=AE=BE=E7=BD=AE=E5=85=85=E5=80=BC=E9=87=91?= =?UTF-8?q?=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trade-union-recharge.vue | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/subPages/trade-union-recharge/trade-union-recharge.vue b/subPages/trade-union-recharge/trade-union-recharge.vue index 9125247..7946f14 100644 --- a/subPages/trade-union-recharge/trade-union-recharge.vue +++ b/subPages/trade-union-recharge/trade-union-recharge.vue @@ -21,14 +21,14 @@ {{amount}}元 - + @@ -77,7 +77,7 @@ data() { return { inputAmount: '', //金额 - amountList: [50, 100, 200], //预设3个可选快捷金额 + amountList: [50, 100, 150], //预设3个可选快捷金额 paytype: 'wxpay', //支付类型 user: "", imagewxUrl: app.globalData.imageWxImg, @@ -105,38 +105,38 @@ }); return; } - if (parseFloat(this.inputAmount).toString() == "NaN") { - uni.showToast({ - title: '请输入正确金额', - icon: 'none', - duration: 2000 - }); - return; - } - if (this.inputAmount <= 0) { - uni.showToast({ - title: '请输入大于0的金额', - icon: 'none', - duration: 2000 - }); - return; - } - if (this.inputAmount > 2000) { - uni.showToast({ - title: '充值金额不能超过大于2000', - icon: 'none', - duration: 2000 - }); - return; - } - if (parseFloat(this.inputAmount).toFixed(2) != parseFloat(this.inputAmount)) { - uni.showToast({ - title: '最多只能输入两位小数哦~', - icon: 'none', - duration: 2000 - }); - return; - } + // if (parseFloat(this.inputAmount).toString() == "NaN") { + // uni.showToast({ + // title: '请输入正确金额', + // icon: 'none', + // duration: 2000 + // }); + // return; + // } + // if (this.inputAmount <= 0) { + // uni.showToast({ + // title: '请输入大于0的金额', + // icon: 'none', + // duration: 2000 + // }); + // return; + // } + // if (this.inputAmount > 2000) { + // uni.showToast({ + // title: '充值金额不能超过大于2000', + // icon: 'none', + // duration: 2000 + // }); + // return; + // } + // if (parseFloat(this.inputAmount).toFixed(2) != parseFloat(this.inputAmount)) { + // uni.showToast({ + // title: '最多只能输入两位小数哦~', + // icon: 'none', + // duration: 2000 + // }); + // return; + // } uni.showLoading({ title: '正在提交订单...' })