minipro_standard/components/myTabber.vue
@@ -6,7 +6,7 @@ fixed activeColor="#222" inactiveColor="#666" > :safeAreaInsetBottom="true"> <u-tabbar-item text="待办"> <view class="" slot="active-icon"> <image src="@/static/nav_daiban_sel@2x.png" class="icon-style" mode=""></image> @@ -71,7 +71,7 @@ this.value = index }) console.log(this.value); console.log(index); if (index==0) { // console.log('index'); uni.switchTab({ @@ -91,6 +91,9 @@ } }, } /** * * */ </script> <style lang="scss" scope>