diff --git a/pages/video/index.js b/pages/video/index.js index 89f2357..1e6ee5e 100644 --- a/pages/video/index.js +++ b/pages/video/index.js @@ -65,7 +65,12 @@ Page({ success:function(res){ } - }) - - } + }) + }, + //---加载更多是靠这个函数---- + onReachBottom: function() { + var goods_list = this.selectComponent("#goods_list"); //组件的id + if (goods_list) goods_list.get_list(); + }, + }) \ No newline at end of file