diff --git a/physical-merchants/classify/order/pay.vue b/physical-merchants/classify/order/pay.vue index fa1a40e..028dd70 100644 --- a/physical-merchants/classify/order/pay.vue +++ b/physical-merchants/classify/order/pay.vue @@ -181,9 +181,6 @@ } }, - onUnload() { - clearInterval(this.timers); - }, //查询支付方式 getThirdPartyByDetail() { // #ifdef H5 @@ -231,8 +228,11 @@ // 倒计时结束时,显示00:00:00 if (lefttime <= 0) { clearInterval(this.timers); - uni.redirectTo({ - url:'/pages/user/order_list/order_list?tbIndex='+'-1' + // uni.redirectTo({ + // url:'/pages/user/order_list/order_list?tbIndex='+'-1' + // }) + uni.navigateBack({ + }) this.countdownh = this.countdownm = this.countdowns = "00"; diff --git a/physical-merchants/settleAccounts/settleAccounts.vue b/physical-merchants/settleAccounts/settleAccounts.vue index 16df08f..2b68992 100644 --- a/physical-merchants/settleAccounts/settleAccounts.vue +++ b/physical-merchants/settleAccounts/settleAccounts.vue @@ -5,7 +5,6 @@ {{addressDetail.regionName+" "+addressDetail.address}} - {{addressDetail.consignee}} @@ -243,6 +242,8 @@ isSelectJf: false, //是否选择积分抵扣 isShowjf:true,//是否显示积分 PaymentPassword: 0, + + noClick:true,//去支付的点击防抖判断 } }, components: { @@ -635,6 +636,18 @@ }, // 去支付按钮,下单 settleAccount() { + + if(this.noClick){ + this.noClick = false; + setTimeout(()=>{ + this.noClick = true; + },2000) + }else{ + return + } + + + if (!this.addressDetail&&!this.haveAddress) { uni.showToast({ title: '请选择地址',