diff --git a/src/views/package-home/index.vue b/src/views/package-home/index.vue index 1948610..2510fec 100644 --- a/src/views/package-home/index.vue +++ b/src/views/package-home/index.vue @@ -1,7 +1,7 @@ @@ -71,12 +71,13 @@ export default { if (isNotNull(code)) { this.$store.commit("wxAuthCode", code); /* this.getOpenId(); */ + this.getWxCode(); } } else { this.getWxCode(); } } else { - //this.getWxCode(); + this.getWxCode(); console.log("当前浏览器内核并非支付宝或者微信"); } }, diff --git a/src/views/pay-result/index.vue b/src/views/pay-result/index.vue index 2e0ab62..2a6196a 100644 --- a/src/views/pay-result/index.vue +++ b/src/views/pay-result/index.vue @@ -1,7 +1,7 @@ @@ -46,7 +46,7 @@

激活电话卡

-->
-

第二步:去使用功能

+

第{{isAliPay ? '三' : '二'}}步:去使用功能

@@ -73,13 +73,18 @@ export default { payStatus: null, //支付状态 price: this.$route.query.price, //价格 outTradeNo: this.$route.query.outTradeNo, //支付订单号 - isIos: null //是否是ios + isIos: null, //是否是ios, }; }, created() { this.checkParams(); this.closeTime(); }, + computed: { + isAliPay() { + return this.$route.query.rechargeUrl !=='' && this.$route.query.alipayForm !== '' + } + }, mounted() { //this.checkParams(); //this.closeTime();