微信小程序—tabBar
"tabBar": {
"color": "#000",
"selectedColor": "#ff0000",
"backgroundColor": "#CCC",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "./images/icon-1.jpg", // 默认图片路径
"selectedIconPath": "./images/icon-1-active.jpg" // 选中时的图片路径
},
{
"pagePath": "pages/logs/logs",
"text": "日志",
"iconPath": "./images/icon-2.jpg",
"selectedIconPath": "./images/icon-2-active.jpg"
}
]
},