Mr.Shi
2023-09-14 57513aa6aa3374271212c022219b9104321c21ad
minipro_standard/components/myTabber.vue
@@ -7,8 +7,8 @@
         activeColor="#222"
         inactiveColor="#666"
         :safeAreaInsetBottom="true">
         <u-tabbar-item text="待办">
            <view class="" slot="active-icon">
         <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);