Browse Source

Merge branch 'develop' into test

test
JinxChen 1 year ago
parent
commit
749fec5b29
2 changed files with 11 additions and 5 deletions
  1. +3
    -2
      src/views/package-home/index.vue
  2. +8
    -3
      src/views/pay-result/index.vue

+ 3
- 2
src/views/package-home/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2023-02-24 14:18:25 * @Date: 2023-02-24 14:18:25
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-03-02 00:20:21
* @LastEditTime: 2023-03-02 01:30:58
* @FilePath: \TelpoH5FrontendWeb\src\views\package-home\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\package-home\index.vue
* @description: * @description:
--> -->
@@ -71,12 +71,13 @@ export default {
if (isNotNull(code)) { if (isNotNull(code)) {
this.$store.commit("wxAuthCode", code); this.$store.commit("wxAuthCode", code);
/* this.getOpenId(); */ /* this.getOpenId(); */
this.getWxCode();
} }
} else { } else {
this.getWxCode(); this.getWxCode();
} }
} else { } else {
//this.getWxCode();
this.getWxCode();
console.log("当前浏览器内核并非支付宝或者微信"); console.log("当前浏览器内核并非支付宝或者微信");
} }
}, },


+ 8
- 3
src/views/pay-result/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2023-02-24 16:47:33 * @Date: 2023-02-24 16:47:33
* @LastEditors: JinxChen * @LastEditors: JinxChen
* @LastEditTime: 2023-03-02 00:52:22
* @LastEditTime: 2023-03-02 01:44:33
* @FilePath: \TelpoH5FrontendWeb\src\views\pay-result\index.vue * @FilePath: \TelpoH5FrontendWeb\src\views\pay-result\index.vue
* @description: * @description:
--> -->
@@ -46,7 +46,7 @@
<p>激活电话卡</p> <p>激活电话卡</p>
</div> --> </div> -->
<div class="back-btn" @click="onBackHome"> <div class="back-btn" @click="onBackHome">
<p>第二步:去使用功能</p>
<p>第{{isAliPay ? '三' : ''}}步:去使用功能</p>
</div> </div>
</div> </div>
</div> </div>
@@ -73,13 +73,18 @@ export default {
payStatus: null, //支付状态 payStatus: null, //支付状态
price: this.$route.query.price, //价格 price: this.$route.query.price, //价格
outTradeNo: this.$route.query.outTradeNo, //支付订单号 outTradeNo: this.$route.query.outTradeNo, //支付订单号
isIos: null //是否是ios
isIos: null, //是否是ios,
}; };
}, },
created() { created() {
this.checkParams(); this.checkParams();
this.closeTime(); this.closeTime();
}, },
computed: {
isAliPay() {
return this.$route.query.rechargeUrl !=='' && this.$route.query.alipayForm !== ''
}
},
mounted() { mounted() {
//this.checkParams(); //this.checkParams();
//this.closeTime(); //this.closeTime();


Loading…
Cancel
Save