From ea87c908fb6cdfc3e227a584a53e6730efb8262a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:41:12 +0800
Subject: [PATCH] 小程序代码
---
minipro_standard/components/myTabber.vue | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/minipro_standard/components/myTabber.vue b/minipro_standard/components/myTabber.vue
index fb67430..b8b5250 100644
--- a/minipro_standard/components/myTabber.vue
+++ b/minipro_standard/components/myTabber.vue
@@ -2,14 +2,13 @@
<view>
<u-tabbar
:value="index"
- :customStyle="{paddingTop: '5px',paddingBottom: '5px',}"
@change="change"
fixed
activeColor="#222"
inactiveColor="#666"
:safeAreaInsetBottom="true">
- <u-tabbar-item text="寰呭姙" :badge="upcomingNum.d">
- <view class="" slot="active-icon">
+ <u-tabbar-item text="寰呭姙">
+ <view class="" slot="active-icon">
<image src="@/static/nav_daiban_sel@2x.png" class="icon-style" mode=""></image>
</view>
<view class="" slot="inactive-icon">
@@ -32,14 +31,11 @@
<image src="@/static/nav_wode@2x.png" class="icon-style" mode=""></image>
</view>
</u-tabbar-item>
-
</u-tabbar>
</view>
</template>
<script>
- import { mapState } from 'vuex'
-
export default {
name:"myTabbar",
props: {
@@ -49,9 +45,6 @@
return {
value: 0
};
- },
- computed: {
- ...mapState(['upcomingNum'])
},
methods: {
click(index) {
--
Gitblit v1.9.3