微信小程序 动态改变默认菜单 tabbar 的值
wx.setTabBarItem({
index: 0,
text: 'home',
iconPath: '/path/to/iconPath',
selectedIconPath: '/path/to/selectedIconPath'
})
详情参考微信小程序API
https://developers.weixin.qq.com/miniprogram/dev/api/wx.showNavigationBarLoading.html