wechat_jiaxuan/pages/userinfo/favorite.js
@@ -17,6 +17,11 @@ onLoad(options) { this.getList() }, onPullDownRefresh: function () { console.log('下拉刷新'); this.setData({ dataList: [], pageNum: 1, total: 0 }) this.getList() }, onReachBottom() { console.log('触底事件'); const { total, dataList, pageNum } = this.data @@ -101,21 +106,6 @@ onUnload() { }, /** * 页面相关事件处理函数--监听用户下拉动作 */ onPullDownRefresh() { }, /** * 页面上拉触底事件的处理函数 */ /** * 用户点击右上角分享 */ onShareAppMessage() { }