From 2bcd556961208b80af1cb157633c594faab1eca2 Mon Sep 17 00:00:00 2001
From: liuwh <liuwh@hugeinfo.com.cn>
Date: Mon, 24 Feb 2020 00:11:18 +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