From 246c9844fa7408f7e8281d53a89254a6892f5c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Thu, 18 Apr 2019 18:08:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=AF=E5=88=86=E5=95=86=E5=9F=8E][?= =?UTF-8?q?=E5=85=91=E6=8D=A2=E7=A7=AF=E5=88=86=E5=88=B8=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E4=BF=AE=E6=94=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/integralmall/payIntegcouponStatus/index.js | 12 +++++++++--- pages/integralmall/payIntegcoupondetail/index.js | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) 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 => {