pages/tabBar/tabBarIndex.vue
@@ -39,15 +39,15 @@ return { } }, mounted(){ }, methods: { click_page(item){ let page = '/' + item; uni.switchTab({ url: page, success:function(res){ console.log(res); console.log("成功") } console.log("跳转",item) uni.reLaunch({ url: page }) } } @@ -64,7 +64,7 @@ box-shadow: 0 -3px 12px rgba(0,0,0,0.05); } .u-page__item__slot-icon{ width: 24px; height: 24px; width: 22px; height: 22px; } </style>