From f25d936c4d36d8ee572c1836f1cd79a8ab52bc2b Mon Sep 17 00:00:00 2001 From: From-wh Date: Sat, 18 Feb 2023 17:43:35 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E6=94=AF=E4=BB=98=E5=AE=9D=E6=94=AF?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uni-app/pages/goods/cashier/index.vue | 16 +- .../pages/users/user_payment/index.vue | 1429 ++++++++--------- 2 files changed, 717 insertions(+), 728 deletions(-) diff --git a/template/uni-app/pages/goods/cashier/index.vue b/template/uni-app/pages/goods/cashier/index.vue index 0266a6c55..269870de7 100644 --- a/template/uni-app/pages/goods/cashier/index.vue +++ b/template/uni-app/pages/goods/cashier/index.vue @@ -505,17 +505,11 @@ case 'ALIPAY_PAY': //#ifdef H5 - if (this.from === 'weixin') { - uni.redirectTo({ - url: `/pages/users/alipay_invoke/index?id=${orderId}&pay_key=${res.data.result.pay_key}` - }); - } else { - uni.hideLoading(); - that.formContent = res.data.result.jsConfig; - that.$nextTick(() => { - document.getElementById('alipaysubmit').submit(); - }) - } + uni.hideLoading(); + that.formContent = res.data.result.jsConfig; + that.$nextTick(() => { + document.getElementById('alipaysubmit').submit(); + }) //#endif // #ifdef MP uni.navigateTo({ diff --git a/template/uni-app/pages/users/user_payment/index.vue b/template/uni-app/pages/users/user_payment/index.vue index 779979922..e6438a971 100644 --- a/template/uni-app/pages/users/user_payment/index.vue +++ b/template/uni-app/pages/users/user_payment/index.vue @@ -1,718 +1,713 @@ - - - - -