微信小程序开发-tabbar组件
"tabBar": {
"backgroundColor": "#303133",
"color": "#ffffff",
"selectedColor": "#CC1004",
"list": [
{
"pagePath": "pages/subject/subject",
"text": "专题",
"iconPath": "pages/images/tab/subject-0.jpg",
"selectedIconPath": "pages/images/tab/subject-1.jpg"
},
{
"pagePath": "pages/classify/classify",
"text": "分类",
"iconPath": "pages/images/tab/classify-0.jpg",
"selectedIconPath": "pages/images/tab/classify-1.jpg"
},
{
"pagePath": "pages/download/download",
"text": "下载",
"iconPath": "pages/images/tab/download-0.jpg",
"selectedIconPath": "pages/images/tab/download-1.jpg"
},
{
"pagePath": "pages/me/me",
"text": "我的",
"iconPath": "pages/images/tab/me-0.jpg",
"selectedIconPath": "pages/images/tab/me-1.jpg"
},
{
"pagePath": "pages/setup/setup",
"text": "设置",
"iconPath": "pages/images/tab/setup-0.jpg",
"selectedIconPath": "pages/images/tab/setup-1.jpg"
}
]
}