diff --git a/pages/cloud/haveFun.vue b/pages/cloud/haveFun.vue index e65fb48..867e7f4 100644 --- a/pages/cloud/haveFun.vue +++ b/pages/cloud/haveFun.vue @@ -68,7 +68,10 @@ 暂无数据 - + @@ -102,6 +105,11 @@ export default { return arr } }, + onReachBottom() { + // 后端接口结构需要调整下,需要补充总页数,前端可判断当前页数大于等于总页数则不发送网络请求 + this.page++ + this.fetchList() + }, onLoad() { this.getMapData() getHotelTypeList().then(({data}) => {