From a2e68daf8f490937ad661b3b81326e2cc3728eea Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Wed, 26 Jun 2024 15:18:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=90=8E=20=E4=BC=9A=E5=91=98=E5=8D=A1?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98=E6=8A=A5=E9=94=99=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E4=B8=8D=E8=83=BD=E4=BD=BF=E7=94=A8=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/annex/vip_center/index.vue | 20 +++++++++++++++----- pages/order_pay_status/index.vue | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/pages/annex/vip_center/index.vue b/pages/annex/vip_center/index.vue index c2e5c45..f4837e5 100644 --- a/pages/annex/vip_center/index.vue +++ b/pages/annex/vip_center/index.vue @@ -354,6 +354,19 @@ }, // 立即购买 createMemberCard(type) { + + if (type == 'weixin') { + // #ifdef H5 + type = _this.$wechat.isWeixin() ? 'weixin' : 'h5' + // #endif + // #ifdef MP + type = 'routine' + // #endif + // #ifdef APP-PLUS + type = 'weixin' + // #endif + } + uni.showLoading({ title: '正在加载…' }); @@ -419,7 +432,7 @@ jsConfig = res.data.result.config, goPages = '/pages/users/user_coupon/index'; - // console.log('支付成功', status) + console.log('支付成功', status) switch (status) { case 'ORDER_EXIST': case 'EXTEND_ORDER': @@ -436,10 +449,7 @@ that.payClose(); that.getMemberCard(); - return that.$util.Tips({ - title: res.message, - icon: 'success' - }); + that.$util.tips({ content: res.message}); break; case 'alipay': case "alipayQr": diff --git a/pages/order_pay_status/index.vue b/pages/order_pay_status/index.vue index e62fd30..56d7c56 100644 --- a/pages/order_pay_status/index.vue +++ b/pages/order_pay_status/index.vue @@ -9,7 +9,7 @@ {{payResult}} - + 订单编号 {{order_pay_info.group_order_sn}}