微信小程序开发--3.8监听页面滑动

在.json文件中添加

"enablePullDownRefresh": true

监听用户下拉刷新函数

onPullDownRefresh: function () {}

页面上拉触底事件的处理函数

onReachBottom: function () {}

猜你喜欢

转载自blog.csdn.net/weixin_46479909/article/details/132068399
今日推荐