程式碼如下
{
"pages":[
"pages/lists/lists",
"pages/detail/detail",
"pages/aboutme/aboutme",
"pages/form/form",
"pages/index/index",
"pages/logs/logs"
],
"window":{
"backgroundTextStyle":"light",
"backgroundColor": "#eeeeee",
"navigationBarBackgroundColor": "#000",
"navigationBarTitleText": "仲愷心理諮詢",
"navigationBarTextStyle":"#fff"
},
"tabBar": {
"list": [{
"pagePath": "pages/lists/lists",
"text": "首頁",
"iconPath":"images/1.jpg",
"selectedIconPath":"images/2.jpg"
},
{
"pagePath": "pages/aboutme/aboutme",
"text": "關於我們",
"iconPath":"images/3.jpg",
"selectedIconPath":"images/4.jpg"
},
{
"pagePath": "pages/form/form",
"text": "使用者反饋",
"iconPath":"images/3.jpg",
"selectedIconPath":"images/4.jpg"
}
]
}
}複製程式碼
效果圖
原因
