From 7712856a1c93fcc90742906197b344b8103d2310 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Wed, 25 Mar 2026 14:50:34 +0800 Subject: [PATCH] tab --- components/tab-bar/postList.vue | 54 +++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/components/tab-bar/postList.vue b/components/tab-bar/postList.vue index 539cdcd..0264831 100644 --- a/components/tab-bar/postList.vue +++ b/components/tab-bar/postList.vue @@ -1,6 +1,15 @@ @@ -8,7 +17,7 @@ export default { data() { return { - + menuButtonInfo: {} } }, props:{ @@ -16,22 +25,55 @@ }, watch: { + }, + onReachBottom() { + if (this.searchForm.pageNumber >= this.totalPages) return; + // this.status = 'loading'; + this.searchForm.pageNumber++; + this.getShopList(); + }, methods: { - + init() { + console.log("配送初始化") + this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() + this.$forceUpdate() + }, + getShopList(){ + + } } } \ No newline at end of file