From 54a0b7c1a758f958f7e6fd0b86fa8e0aecfeca75 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 28 八月 2023 16:17:33 +0800 Subject: [PATCH] 呼叫客服增加选择呼叫类型 --- components/tab-bar/tab-bar.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/tab-bar/tab-bar.vue b/components/tab-bar/tab-bar.vue index 6c7662f..f52bebc 100644 --- a/components/tab-bar/tab-bar.vue +++ b/components/tab-bar/tab-bar.vue @@ -22,14 +22,13 @@ // tabBarList: this.$store.state.userTabbar }; }, - computed:{ - tabBarList(){ - return this.$store.state.userTabbar + computed: { + tabBarList() { + return this.$store.state.userTabbar; } }, methods: { tabbarchange(e) { - console.log('tabbar鏀瑰彉',this.current, e,this.tabBarList); uni.switchTab({ url: '/' + this.tabBarList[e].pagePath }); @@ -41,7 +40,7 @@ ::v-deep.tab-bar { .u-tabbar { &__content { - background: #ececec!important; + background: #ececec !important; &__item-wrapper { height: vww(50); } -- Gitblit v1.9.1