一、tab栏配置
https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html#tabBar
底部或顶部tab切换,必须有4个必填项
list : 配置tab栏的列表项,为数组,至少2个最多5个,每个元素都为一组对象
color : 用于配置tab栏文字默认颜色,仅支持16进制颜色
selectedColor: tab栏文字选中颜色,仅支持16进制颜色
backgroundColor: tab栏背景颜色,仅支持16进制颜色
list:{ "pagePath": "pages/index/index", "text":"首页", "iconPath": "images/tab_home.png", "selectedIconPath": "images/tab_home_selected.png" }
icon 大小限制为 40kb,建议尺寸为 81px * 81px