Explorar el Código

knowledege swipper切换

xjc hace 3 años
padre
commit
817a595bbf
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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
+    })
+  },
   /**
    * 生命周期函数--监听页面初次渲染完成
    */