
image.png
第一步
配置 tabBar 配置tabbar的原因是这样才可以在自定义组件中使用 switchTab
tabBar: { color: '#bbc0ca', selectedColor: '1f83e1', backgroundColor: '#feffff', borderStyle: 'white', list: [ ... // iconPath selectedIconPath 都加一张白底背...