在app.json中
"tabBar": { "color":"black", "list":[{ "pagePath": "pages/index/index", "text":"答疑", "iconPath":"image/usbox.png", "selectedIconPath": "image/usbox-actived.png"}, { "pagePath": "pages/search/search", "text": "找专家", "iconPath":"image/search.png", "selectedIconPath": "image/search-actived.png" }, { "pagePath": "pages/home/home", "text": "我的", "iconPath":"image/profile.png", "selectedIconPath": "image/profile-actived.png" }] }