//页面上划 滚动条触底事件
onReachBottom() {
//1 判断还有没有下一页数据
if (this.QueryParams.pagenum >= this.totalPages) {
wx.showToast({
title: '没有下一页数据了',
})
} else {
this.QueryParams.pagenum++;
this.getGoodsList();
}
}
微信小程序——滚动条触底事件
最新推荐文章于 2024-03-02 06:00:00 发布