@@ -53,9 +53,15 @@ Page({ | |||||
* 去使用 | * 去使用 | ||||
*/ | */ | ||||
gotoUse(){ | 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', | |||||
}) | |||||
} | |||||
}, | }, | ||||
/** | /** | ||||
* 返回首页 | * 返回首页 | ||||
@@ -218,7 +218,7 @@ Page({ | |||||
.then(res => { | .then(res => { | ||||
wx.hideLoading() | wx.hideLoading() | ||||
wx.navigateTo({ | 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 => { | .catch(err => { | ||||