From 62a240df3ff2f1bcddea834ccb15fccefc51ae26 Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Sat, 09 May 2020 09:18:16 +0800
Subject: [PATCH] 5-8开发任务

---
 SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js b/SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js
index d2d0a3a..b39d961 100644
--- a/SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js
+++ b/SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js
@@ -68,7 +68,7 @@
   /**
    * 生命周期函数--监听页面加载
    */
-  onLoad: function (options) {
+  onLoad: function(options) {
     var that = this;
     wx.showLoading();
     wx.request({
@@ -78,7 +78,7 @@
         size: 1000,
         flag: '主动预防',
       },
-      success: function (res) {
+      success: function(res) {
         wx.hideLoading();
         console.log('res', res);
         if (res.data.code == 0) {
@@ -102,8 +102,15 @@
     })
   },
 
+  folder: function(event) {
+    var title = event.currentTarget.dataset['title'];
+    wx.navigateTo({
+      url: '../law2Publicitylist/law2Publicitylist?title=' + title,
+    })
+  },
+
   // 跳转
-  linkFunction: function (event) {
+  linkFunction: function(event) {
     var str = event.currentTarget.dataset['str'];
     var id = event.currentTarget.dataset['id'];
     wx.navigateTo({

--
Gitblit v1.8.0