minipro_standard/components/myTabber.vue
@@ -7,7 +7,7 @@ activeColor="#222" inactiveColor="#666" :safeAreaInsetBottom="true"> <u-tabbar-item text="待办"> <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> @@ -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);