首页 > 代码库 > 小程序 app.json

小程序 app.json

{
"pages":[
"pages/index/index",
"pages/logs/logs"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle":"black",
"enablePullDownRefresh": "true"
},
"tabBar":{
"color":"#ddd",
"selectedColor": "red",
"backgroundColor": "#f2f2f2",
"borderStyle": "white",
"list":[{
"pagePath":"pages/index/index",
"text":"首页",
"iconPath":"imges/home.png",
"selectedIconPath": "images/home-fill.png"
},{
"pagePath": "pages/logs/logs",
"text": "商品",
"iconPath": "images/sale.png",
"selectedIconPath": "images/sale-fill.png"
}]
}
}

小程序 app.json