| | |
| | | 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"> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { mapState } from 'vuex' |
| | | |
| | | export default { |
| | | name:"myTabbar", |
| | | props: { |
| | |
| | | value: 0 |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapState(['upcomingNum']) |
| | | }, |
| | | methods: { |
| | | click(index) { |
| | | // console.log('click', index); |