微信小程序tabbar
微信小程tabbar在app.json中配置
tabBar 属性:
color :tab上的文字默认颜色
selectedColor:tab上的文字选中时的颜色
backgroundColor:tab上的背景颜色
borderStyle:tab上的边框的颜色 black/white
position:tabBar 所在的位置 bottom/top 默认是在bottom 设置top时,图标显示不出来
list:tabBar的列表数组, 最少一个最多五个,
list可配置的属性:
iconPath :图标路径
selectedIconPath:选中时的图标路径
pagePath :页面路径, 必须在pages中存在
text:选项的文字