pages/tabbar/index/home.vue
@@ -81,7 +81,7 @@ </view> </swiper-item> </swiper> <custom-tabbar bgColor="#333333" :selected="0" selectedTextColor="#ffffff"></custom-tabbar> <custom-tabbar bgColor="#333333" selected="index" selectedTextColor="#ffffff"></custom-tabbar> </view> </template>