Sfoglia il codice sorgente

knowledege swipper切换

xjc 3 anni fa
parent
commit
817a595bbf
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      pages/knowledge/knowledge.js

+ 5 - 0
pages/knowledge/knowledge.js

@@ -179,6 +179,11 @@ Page({
        }
      });
    },
+   swchange:function(e){
+    this.setData({
+      act: e.detail.current
+    })
+  },
   /**
    * 生命周期函数--监听页面初次渲染完成
    */