diff --git a/pages/integralmall/payIntegcouponStatus/index.js b/pages/integralmall/payIntegcouponStatus/index.js index 2535a44..41aa814 100644 --- a/pages/integralmall/payIntegcouponStatus/index.js +++ b/pages/integralmall/payIntegcouponStatus/index.js @@ -53,9 +53,15 @@ Page({ * 去使用 */ gotoUse(){ - wx.navigateTo({ - url: '/pages/couponorder/index/index', - }) + if(this.data.formData.type=='50'){ + wx.navigateTo({ + url: '/pages/couponorder/index/index', + }) + }else{ + wx.navigateTo({ + url: '/pages/passCar/couponList/couponList', + }) + } }, /** * 返回首页 diff --git a/pages/integralmall/payIntegcoupondetail/index.js b/pages/integralmall/payIntegcoupondetail/index.js index 0ebbbd6..4cd9eb9 100644 --- a/pages/integralmall/payIntegcoupondetail/index.js +++ b/pages/integralmall/payIntegcoupondetail/index.js @@ -218,7 +218,7 @@ Page({ .then(res => { wx.hideLoading() wx.navigateTo({ - url: '/pages/integralmall/payIntegcouponStatus/index?title=' + _this.data.data.title + '&coverImg=' + _this.data.data.coverImg + '&remainingPoints=' + _this.data.remainingPoints, + url: '/pages/integralmall/payIntegcouponStatus/index?title=' + _this.data.data.title + '&coverImg=' + _this.data.data.coverImg + '&remainingPoints=' + _this.data.remainingPoints + '&type=' + _this.data.data.type, }) }) .catch(err => {