diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 9cba30d..075b9c5 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -6,6 +6,10 @@ { "launchtype" : "remote" }, + "h5" : + { + "launchtype" : "remote" + }, "mp-weixin" : { "launchtype" : "remote" diff --git a/pages/goods/refuel-confirm/refuel-confirm.vue b/pages/goods/refuel-confirm/refuel-confirm.vue index 59cb8ef..b81c6f0 100644 --- a/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/pages/goods/refuel-confirm/refuel-confirm.vue @@ -67,7 +67,7 @@ - + 重要说明 diff --git a/pages/goods/refuel-details/refuel-details.vue b/pages/goods/refuel-details/refuel-details.vue index c229ded..aa8c146 100644 --- a/pages/goods/refuel-details/refuel-details.vue +++ b/pages/goods/refuel-details/refuel-details.vue @@ -66,7 +66,7 @@ + @blur="Listeningfocus" maxlength="3" /> 约{{litre}}L @@ -284,6 +284,13 @@ }, //失去焦点算价格和油升 Listeningfocus() { + if(this.inputMoney > 800){ + uni.showToast({ + title: '加油金额不能超过800元', + icon: "none" + }); + this.inputMoney = 800; + } //原来计算方式 this.litre = parseFloat(this.inputMoney / this.priceOfficial).toFixed(2); this.totalPrice = parseFloat(this.inputMoney / this.priceOfficial * this.priceVip).toFixed(2); diff --git a/pages/order/confirmation.vue b/pages/order/confirmation.vue index 467c15d..4887a31 100644 --- a/pages/order/confirmation.vue +++ b/pages/order/confirmation.vue @@ -95,7 +95,7 @@ - 积分支付可用积分: {{user.gold}} @@ -105,7 +105,7 @@ - + @@ -116,8 +116,8 @@ - - + + 汇联通工会卡可用余额: {{tongCardPrice}}元 diff --git a/pages/pay/payment/payment.vue b/pages/pay/payment/payment.vue index c29f0e5..56dea76 100644 --- a/pages/pay/payment/payment.vue +++ b/pages/pay/payment/payment.vue @@ -18,7 +18,7 @@ - +