头部配置
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "微信接口",
"navigationBarTextStyle": "black"
},
//底部导航 在app.json
"tabBar":{
"selectedColor": "#D53e37", //选中的文字色
"backgroundColor": "#f5f5f5", //低部背景色
"borderStyle": "black", //边框色
"list": [
{
"text":"电影",
"pagePath": "pages/index/index", //一定要是当前页面
"iconPath": "",
"selectedIconPath": ""
},
{
"text":"电影a",
"pagePath": "pages/logs/logs", //不能相同
"iconPath": "",
"selectedIconPath": ""
}
]
},
将指定小程序页面设置为首页
"entryPagePath": "pages/iphone/iphone",