在 Page 中定义 onPullDownRefresh 处理函数,监听该页面用户下拉刷新事件。javascript
例:html
首先要在app.json中配置Page({ onPullDownRefresh: function(){ wx.stopPullDownRefresh() } })