提交 943a9e6a authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 fd6367fa
...@@ -96,15 +96,14 @@ export default { ...@@ -96,15 +96,14 @@ export default {
}, },
// 支付 // 支付
goPay() { goPay() {
return // if (this.orderStatus === 1) {
if (this.orderStatus === 1) { // this.$toast('您已购买全部服务,可直接使用')
this.$toast('您已购买全部服务,可直接使用') // return false
return false // }
} // // 自动获取订单状态
// 自动获取订单状态 // this.autoGetOrderStatus()
this.autoGetOrderStatus() // // 调起微信支付
// 调起微信支付 // this.$refs.h5pay.pay()
this.$refs.h5pay.pay()
} }
}, },
mounted() { mounted() {
......
...@@ -122,15 +122,14 @@ export default { ...@@ -122,15 +122,14 @@ export default {
}, },
// 支付 // 支付
async goPay() { async goPay() {
return // if (this.orderStatus === 1) {
if (this.orderStatus === 1) { // this.$toast('您已购买全部服务,可直接使用')
this.$toast('您已购买全部服务,可直接使用') // return false
return false // }
} // await this.tikeOrderStatus()
await this.tikeOrderStatus() // wx.miniProgram.navigateTo({
wx.miniProgram.navigateTo({ // url: `/pages/pay/index?shop_id=${webConf.others.PAY_SHOP_ID}&spu_id=${webConf.others.PAY_SPU_ID}&sku_id=${webConf.others.PAY_SKU_ID}`
url: `/pages/pay/index?shop_id=${webConf.others.PAY_SHOP_ID}&spu_id=${webConf.others.PAY_SPU_ID}&sku_id=${webConf.others.PAY_SKU_ID}` // })
})
}, },
// 去我的订单页面 // 去我的订单页面
goMyOrder() { goMyOrder() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论