From 2f2bfd2331d98852b130c301c8b386b22003870b Mon Sep 17 00:00:00 2001 From: myvin <851399101@qq.com> Date: Mon, 29 Oct 2018 17:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=B8=E7=82=B9=20tab=20=E9=A1=B5=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=8E=A8=E8=8D=90=E6=B7=BB=E5=8A=A0=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/feidian/feidian.js | 6 ++++++ pages/feidian/feidian.wxml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/feidian/feidian.js b/pages/feidian/feidian.js index b47dbdb..0e8ec2a 100644 --- a/pages/feidian/feidian.js +++ b/pages/feidian/feidian.js @@ -116,6 +116,12 @@ Page({ }, }) }, + toFeidianDetail(e) { + let id = e.currentTarget.dataset.id + wx.navigateTo({ + url: `/pages/feidianDetail/feidianDetail?msgId=${id}`, + }) + }, onReachBottom() { this.pinListRecommend() }, diff --git a/pages/feidian/feidian.wxml b/pages/feidian/feidian.wxml index 642f635..ae21264 100644 --- a/pages/feidian/feidian.wxml +++ b/pages/feidian/feidian.wxml @@ -2,7 +2,7 @@ - +