From 9f1504e7afd2892ed84c845519303bd347698c80 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Mon, 24 Jun 2019 17:27:53 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9=E4=B8=93=E9=A2=98=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8][=E4=BF=AE=E6=94=B9]:[=E6=8A=95=E6=94=BE=E6=8B=BC?= =?UTF-8?q?=E5=9B=A2=E9=A1=B5=E9=9D=A2=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E6=94=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/topicDetail/index.js | 11 +++++++++++ pages/topicDetail/index.wxml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pages/topicDetail/index.js b/pages/topicDetail/index.js index e7f9114..dfccb99 100644 --- a/pages/topicDetail/index.js +++ b/pages/topicDetail/index.js @@ -69,6 +69,17 @@ Page({ }); }) }, + gotoDetail:function(e){ + if (e.currentTarget.dataset.type == 9){ + wx.navigateTo({ + url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${e.currentTarget.dataset.couponchannelid}`, + }) + }else{ + wx.navigateTo({ + url: `/pages/coupon/detail/index?couponChannelId=${e.currentTarget.dataset.couponchannelid}&couponId=${e.currentTarget.dataset.couponid}`, + }) + } + }, gotoactdetail:function(){ let that = this; console.log(that.data.data.detail) diff --git a/pages/topicDetail/index.wxml b/pages/topicDetail/index.wxml index 10ebfd0..d2e0de3 100644 --- a/pages/topicDetail/index.wxml +++ b/pages/topicDetail/index.wxml @@ -16,7 +16,7 @@ - +