|
@@ -1098,9 +1098,24 @@ export default {
|
|
|
case 'COUPON_EXCHANGE': // 停车券兑换
|
|
|
this.$store.dispatch('clearUnlicensed');
|
|
|
uni.setStorageSync('loadData', '');
|
|
|
+ if (isAlipay()) {
|
|
|
+ my.navigateTo({
|
|
|
+ url: `/pages/pointsMall/pointsMallNew?exchangeTypes=2`,
|
|
|
+ complete: function (res) {
|
|
|
+ console.log('回调::', res)
|
|
|
+ },
|
|
|
+ success: function (res) {
|
|
|
+ console.log('跳转成功::', res)
|
|
|
+ },
|
|
|
+ fail: function (err) {
|
|
|
+ console.log('跳转失败::', res)
|
|
|
+ }
|
|
|
+ });
|
|
|
+ } else {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
"url": "/pages/pointsMall/pointsMallNew?exchangeTypes=2" // 去 login 页面 1 去登录
|
|
|
})
|
|
|
+ }
|
|
|
break
|
|
|
case 'PARKING_INVOICE': // 停车开票
|
|
|
// const isJump = await this.jumpToPreJudgmentOfParkingInvoice();
|