From e29d2313a38c0278577e645b4bb110e677175e10 Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Sun, 23 Feb 2020 12:36:07 +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