From 1ada23584d67b782ec625789ee12ebfbbfbea6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Wed, 15 Jun 2022 10:09:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9B=B6=E9=92=B1=E5=8F=8D?= =?UTF-8?q?=E5=A4=8D=E5=85=85=E5=80=BCbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cart/payment/payOrder.vue | 9 +++++---- pages/mine/deposit/recharge.vue | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/pages/cart/payment/payOrder.vue b/pages/cart/payment/payOrder.vue index a898921..840a42f 100644 --- a/pages/cart/payment/payOrder.vue +++ b/pages/cart/payment/payOrder.vue @@ -138,7 +138,8 @@ if (this.routerVal.recharge_sn) { // 判断当前是否是充值 this.sn = this.routerVal.recharge_sn; - this.orderType = "RECHARGE"; + this.orderType = "RECHARGE"; + } else if (this.routerVal.trade_sn) { this.sn = this.routerVal.trade_sn; this.orderType = "TRADE"; @@ -161,7 +162,7 @@ }); // #endif - // #ifndef MP-WEIXIN + if(this.routerVal.recharge_sn){ this.payList = res.data.result.support.filter((item) => { return item != "WALLET"; @@ -170,7 +171,7 @@ else{ this.payList = res.data.result.support; } - // #ifndef APP-PLUS + // #ifdef H5 //判断是否微信浏览器 var ua = window.navigator.userAgent.toLowerCase(); if (ua.match(/MicroMessenger/i) == 'micromessenger') { @@ -182,7 +183,7 @@ } // #endif - // #endif + this.walletValue = res.data.result.walletValue; diff --git a/pages/mine/deposit/recharge.vue b/pages/mine/deposit/recharge.vue index 37c9b51..c9272d5 100644 --- a/pages/mine/deposit/recharge.vue +++ b/pages/mine/deposit/recharge.vue @@ -1,3 +1,4 @@ +