"window": {
//导航条的背景颜色
"navigationBarBackgroundColor": "#219bf4",
// 设置文本的颜色 只有black 和 white
"navigationBarTextStyle": "black",
//设置文本的内容
"navigationBarTitleText": "Hello world",
//设置窗口的背景色
"backgroundColor": "#f0f",
//设置窗口下拉框背景色 只有 dark 和 light
"backgroundTextStyle": "dark",
//开发页面下拉的开启
"enablePullDownRefresh": true
}
//调试是控制台打印信息
"debug" : true
// 这是底边选项栏
"tabBar": {
//选中项的文本颜色修改
"selectedColor": "#219bf3",
//这是没有选中的文本颜色
"color": "#444",
// 这是底边栏的背景色
"backgroundColor": "#f6f6f6",
// 这是底边栏的上边框 ,只有白色黑色
"borderStyle": "white",
//这个list 里面的成员 是两个到五个
"list": [
{ "text": "Home", "pagePath": "pages/index/index"},
{ "text": "Home", "pagePath": "pages/index/index"}
]
}
微信小程序 app.json 里面窗口配置的解释
最新推荐文章于 2023-06-26 19:32:18 发布