From 2df29d470e1d26d25c8105abc5d29f13c93a391f Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Thu, 14 May 2026 19:29:43 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 31 +++++++++---------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 9122731..c0a88d1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -330,8 +330,8 @@ - - + + 校园 暂时没有可抢订单 @@ -339,7 +339,6 @@ - 送达时间:{{item.mustFinishTime != null ? item.mustFinishTime : '' | formatHourMinute }} @@ -445,7 +444,7 @@ - + @@ -789,11 +788,10 @@ } }, onReachBottom() { - if (this.searchForm.pageNum < this.total) { - this.searchForm.pageNum++; - this.getProduct(this.searchForm.categoryId); - return; - } + // 接管原 delivery-list scroll-view 的 scrolltolower 分页 + if (this.searchForm.pageNum >= this.totalPages) return; + this.searchForm.pageNum++; + this.getDelivery(); }, onLoad() { @@ -1215,15 +1213,6 @@ } }).catch((res) => {}) }, - onReachPage() { - console.log("11111") - if (this.searchForm.pageNum >= this.totalPages) return; - this.searchForm.pageNum++; - this.getDelivery(); - }, - gundongTop(){ - console.log("00000000000000000000000") - }, searchOrder(type, value) { if (type == 'getarea') { if (this.searchForm.getAreaId == value.id) { @@ -2512,10 +2501,8 @@ } .delivery-list-wrap { - height: 1200rpx; - contain: layout paint; - will-change: transform; - -webkit-overflow-scrolling: touch; + /* 改为单一 page-scroll:内容跟随页面滚动,不再是独立 scroll-view */ + width: 100%; } .empty-delivery {