/*app.json*/
{
"pages": [//把所有的页面路径写在pages中
"pages/index/index",
"pages/logs/logs",
"pages/abstract/abstract",
"pages/product/product",
"pages/consult/consult"
],
"window": {//顶部导航栏
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#1CB3D0",//导航栏背景颜色
"navigationBarTitleText": "wechat",//导航栏文字内容
"navigationBarTextStyle": "white",//导航栏文字颜色
"enablePullDownRefresh":true,//下拉刷新
"onReachBottomDistance":100
},
"tabBar": {//底部tabBar
"color": "#9E9E9E",//tabBar的未选择图标的文字颜色
"selectedColor": "#1CB3D0",//tabBar的已选择图标的文字颜色
"borderStyle": "white",//tarBar边框颜色
"list": [
{
"pagePath": "pages/index/index",//目标页面路径
"iconPath": "images/homeo.png",//未选择的icon
"selectedIconPath": "images/home.png",//已选择的icon
"text": "首 页"//图标下方的文字
},
{
"pagePath": "pages/abstract/abstract",
"iconPath": "images/showo.png",
"selectedIconPath": "images/show.png",
"text": "简 介"
},
{
"pagePath": "pages/product/product",
"iconPath": "images/staro.png",
"selectedIconPath": "images/star.png",
"text": "产 品"
},
{
"pagePath": "pages/consult/consult",
"iconPath": "images/callo.png",
"selectedIconPath": "images/call.png",
"text": "咨 询"
}
]
},
"networkTimeout": {
"request": 10000,
"downloadFile": 10000
},
"debug": true,//这个非常有用,最好加上
"functionalPages":true
}