From febf1743bfa473d7a00eaec206e833c9bd4ee5e5 Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Mon, 24 Feb 2020 01:14:29 +0800 Subject: [PATCH] 修改 --- SunshineLnsMinApp/pages/fzxkt/fzxkt.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/SunshineLnsMinApp/pages/fzxkt/fzxkt.js b/SunshineLnsMinApp/pages/fzxkt/fzxkt.js index 50f1ac5..54adb6f 100644 --- a/SunshineLnsMinApp/pages/fzxkt/fzxkt.js +++ b/SunshineLnsMinApp/pages/fzxkt/fzxkt.js @@ -29,6 +29,15 @@ scrollLeft: (e.currentTarget.dataset.id - 1) * 60 }) }, + + // 跳转详情 + link: function (e) { + var id = e.currentTarget.dataset.id; + console.log(e.currentTarget.dataset.id); + wx.navigateTo({ + url: '../fzxktDetail/fzxktDetail?id=' + id + }) + }, /** * 生命周期函数--监听页面加载 */ -- Gitblit v1.8.0