From bb52e0d4baffe8e0486c951e525b6614bd4aaa28 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 24 四月 2023 14:08:56 +0800 Subject: [PATCH] 修改样式,修复已知bug --- components/tab-bar/tab-bar.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/tab-bar/tab-bar.vue b/components/tab-bar/tab-bar.vue index 4fb3d63..ecd53a7 100644 --- a/components/tab-bar/tab-bar.vue +++ b/components/tab-bar/tab-bar.vue @@ -22,13 +22,14 @@ // tabBarList: this.$store.state.userTabbar }; }, - computed:{ - tabBarList(){ - return this.$store.state.userTabbar + computed: { + tabBarList() { + return this.$store.state.userTabbar; } }, methods: { tabbarchange(e) { + console.log(e, 'tab鍒囨崲鍦板潃'); uni.switchTab({ url: '/' + this.tabBarList[e].pagePath }); @@ -40,7 +41,7 @@ ::v-deep.tab-bar { .u-tabbar { &__content { - background: #ececec!important; + background: #ececec !important; &__item-wrapper { height: vww(50); } -- Gitblit v1.9.1