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, + }); + } }, }, };