From 0628cc216f33883ef372179f0af56ad5b792afaf Mon Sep 17 00:00:00 2001 From: "Stormeye.Wu" Date: Wed, 29 Aug 2018 10:43:45 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8D=B3=E6=97=B6=E6=8A=A2=E8=B4=AD=E6=94=AF?= =?UTF-8?q?=E4=BB=98][=E4=BF=AE=E5=A4=8D]:=E6=94=AF=E4=BB=98=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/rushToBuy/index.js | 12 +++++++----- pages/index/rushToBuy/index.wxml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pages/index/rushToBuy/index.js b/pages/index/rushToBuy/index.js index 15a43db..abc0778 100644 --- a/pages/index/rushToBuy/index.js +++ b/pages/index/rushToBuy/index.js @@ -36,13 +36,15 @@ Component({ gotodetail: function(e) { console.log(e); console.log("出错啦 大哥"); - console.log(e.currentTarget.dataset.id); - console.log(e.currentTarget.dataset.targetad); + console.log(e.currentTarget.dataset); wx.navigateTo({ url: `/pages/coupon/detail/index?couponChannelId=${ - e.currentTarget.dataset.id - }&couponId=${e.currentTarget.dataset.couponId} - }&targetAd=${e.currentTarget.dataset.targetad}` + e.currentTarget.dataset.couponchannelid + }&couponId=${ + e.currentTarget.dataset.couponid + }&targetAd=${ + e.currentTarget.dataset.targetad + }` }); } }, diff --git a/pages/index/rushToBuy/index.wxml b/pages/index/rushToBuy/index.wxml index aaaacf4..9e9eef7 100644 --- a/pages/index/rushToBuy/index.wxml +++ b/pages/index/rushToBuy/index.wxml @@ -2,7 +2,7 @@ 限时抢购查看更多> - + {{item.title}}