From aeab73facdc02b13474e671215bec79c8e64008a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 14 九月 2023 18:01:37 +0800
Subject: [PATCH] 组织bug
---
minipro_standard/components/myTabber.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/minipro_standard/components/myTabber.vue b/minipro_standard/components/myTabber.vue
index 5fdc680..b29f6ec 100644
--- a/minipro_standard/components/myTabber.vue
+++ b/minipro_standard/components/myTabber.vue
@@ -6,9 +6,9 @@
fixed
activeColor="#222"
inactiveColor="#666"
- >
- <u-tabbar-item text="寰呭姙">
- <view class="" slot="active-icon">
+ :safeAreaInsetBottom="true">
+ <u-tabbar-item text="寰呭姙" :badge="upcomingNum.d">
+ <view class="" slot="active-icon">
<image src="@/static/nav_daiban_sel@2x.png" class="icon-style" mode=""></image>
</view>
<view class="" slot="inactive-icon">
@@ -36,6 +36,8 @@
</template>
<script>
+ import { mapState } from 'vuex'
+
export default {
name:"myTabbar",
props: {
@@ -46,6 +48,9 @@
value: 0
};
},
+ computed: {
+ ...mapState(['upcomingNum'])
+ },
methods: {
click(index) {
// console.log('click', index);
--
Gitblit v1.9.3