zjh 5 anos atrás
pai
commit
27626d3cf4
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      pages/item/item.js

+ 3 - 3
pages/item/item.js

@@ -329,12 +329,12 @@ Page({
   onFold:function(e){
     console.log( e.currentTarget.dataset.id);
     wx.navigateTo({
-      url:"../news/news"
+      url:"../news/news?newsId="+e.currentTarget.dataset.id
       });
   },
   // 点击tab切换 
   swichNav: function(e) {
-    console.log(e)
+    // console.log(e)
     var that = this;
     if (this.data.currentTab === e.target.dataset.current) {
       return false;
@@ -348,7 +348,7 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
-    console.log(options)
+    // console.log(options)
     var Name = "object.Name"
     var value = "object.value"
     var color='object.color'