From a92909feb628eedf28e2b7688ca831413bcd5557 Mon Sep 17 00:00:00 2001 From: wangyx <2838268875@qq.com> Date: Thu, 14 Aug 2025 18:27:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E6=BB=9A=E5=8A=A8=E4=B8=8D?= =?UTF-8?q?=E5=A5=BD=E4=BD=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/kfPage/list.vue | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/pagesA/kfPage/list.vue b/pagesA/kfPage/list.vue index 1683596..cab9adb 100644 --- a/pagesA/kfPage/list.vue +++ b/pagesA/kfPage/list.vue @@ -19,14 +19,18 @@ - - 加载中... 没有更多了 - { + this.isScrolling = false; + }, 100); + }, + // 上拉加载更多 handleLoadMore() { - if (this.loading || this.loadingMore || !this.hasMore) return; + if (this.loading || this.loadingMore || !this.hasMore || this.isScrolling) return; this.loadingMore = true; this.loadAppointmentList(); }, @@ -458,6 +476,8 @@ export default { } .appointment-list { + height: calc(100vh - 100rpx); /* 减去搜索框和padding的高度,给滚动留更多空间 */ + overflow: hidden; .appointment-card { background-color: #fff; border-radius: 16rpx;