From 2fe7fbbbd9ab3c7595d48c80ff58f6acde3bcdd9 Mon Sep 17 00:00:00 2001 From: mixtan <424491071@qq.com> Date: Wed, 9 Jul 2025 17:16:34 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=96=B0=E5=A2=9E=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E5=92=8C=E6=88=91=E7=9A=84=E6=A0=8F=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WaterfallsFlowItem/WaterfallsFlowItem.vue | 61 +++++++++++++++++++ pagesub/index/components/tabbar.vue | 52 ++++++++++++---- 2 files changed, 101 insertions(+), 12 deletions(-) create mode 100644 components/WaterfallsFlowItem/WaterfallsFlowItem.vue diff --git a/components/WaterfallsFlowItem/WaterfallsFlowItem.vue b/components/WaterfallsFlowItem/WaterfallsFlowItem.vue new file mode 100644 index 0000000..4902c97 --- /dev/null +++ b/components/WaterfallsFlowItem/WaterfallsFlowItem.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/pagesub/index/components/tabbar.vue b/pagesub/index/components/tabbar.vue index de0fabf..1b37201 100644 --- a/pagesub/index/components/tabbar.vue +++ b/pagesub/index/components/tabbar.vue @@ -14,6 +14,7 @@ 首页 + 分类 - + @click=" gopage(3,`/pages/index/image?category_id=${categoryId}&store_id=${storeId}`)" + > + + + + 发现 + + + {{ goodsNum }} - + @click="gopage(5,`/pages/index/member?category_id=${categoryId}&store_id=${storeId}`)" + > + + + + 我的 + + @@ -100,9 +122,15 @@ export default { console.log("当前页面,不执行跳转"); return; } - this.$.navigateTo({ - url, - }); + if([3,5].includes(tabIndex)){ + this.$.switchTab({ + url, + }); + } else { + this.$.navigateTo({ + url, + }); + } }, }, };