问问大神们,我设置了tabbar为什么显示不出来呢?(下面是我写的程序)
{
"pages": [
"pages/index/index",
"pages/userConsole/userConsole",
"pages/storageConsole/storageConsole",
"pages/databaseGuide/databaseGuide",
"pages/addFunction/addFunction",
"pages/deployFunctions/deployFunctions",
"pages/chooseLib/chooseLib",
"pages/openapi/openapi",
"pages/openapi/serverapi/serverapi",
"pages/openapi/callback/callback",
"pages/openapi/cloudid/cloudid",
"pages/im/im",
"pages/im/room/room"
],
"window": {
"backgroundColor": "#F6F6F6",
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#0094ff",
"navigationBarTitleText": "云开发 QuickStart",
"navigationBarTextStyle": "white",
"enablePullDownRefresh":true
},
"sitemapLocation": "sitemap.json",
"style": "v2"
},
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "icon/shouye.png",
"selectedIconPath": "icon/shouye_1.png"
},
{
"pagePath": "pages/chooseLib/chooseLib",
"text": "查找",
"iconPath": "icon/chazhao_1.png",
"selectedIconPath": "icon/chazhao_f.png"
}
]
}
2 回复
{
"pages": [
"pages/index/index",
"pages/userConsole/userConsole",
"pages/storageConsole/storageConsole",
"pages/databaseGuide/databaseGuide",
"pages/addFunction/addFunction",
"pages/deployFunctions/deployFunctions",
"pages/chooseLib/chooseLib",
"pages/openapi/openapi",
"pages/openapi/serverapi/serverapi",
"pages/openapi/callback/callback",
"pages/openapi/cloudid/cloudid",
"pages/im/im",
"pages/im/room/room"
],
"window": {
"backgroundColor": "#F6F6F6",
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#0094ff",
"navigationBarTitleText": "云开发 QuickStart",
"navigationBarTextStyle": "white",
"enablePullDownRefresh":true
},
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "icon/shouye.png",
"selectedIconPath": "icon/shouye_1.png"
},
{
"pagePath": "pages/chooseLib/chooseLib",
"text": "查找",
"iconPath": "icon/chazhao_1.png",
"selectedIconPath": "icon/chazhao_f.png"
}
]
},
"sitemapLocation": "sitemap.json",
"style": "v2"
}