本篇文章给大家带来的内容是关于微信小程序中app.json配置的代码解析,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。 app.json配置详细分析 {
"pages": [ "pages/index/index", "pages/vultr/vultr"
],
"window": {
"navigationBarBackgroundColor": "#ff99bb",
"navigationBarTextStyle": "black",
"navigationBarTitleText": "小程序",
"backgroundColor": "#c2f0f0",
"backgroundTextStyle": "light",
"enablePullDownRefresh": true
},
"tabBar": {
"color": "#ff99ff",
"selectedColor": "#99bbff",
"backgroundColor": "#ff4dd2",
"borderStyle": "black",
"position":"top",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "img/1.png",
"selectedIconPath": "img/3.png"
},{
"pagePath": "pages/vultr/vultr",
"text": "科学",
"iconPath": "img/2.png",
"selectedIconPath": "img/3.png"
}] },
"networkTimeout": {
"request": 20000,
"connectSocket": 20000,
"uploadFile": 20000,
"downloadFile": 20000
}}
结构分成4部分页面注册 窗体设置 菜单栏设置 网络延迟设置
页面注册窗体设置菜单栏设置网络延迟设置相关推荐: 小程序中页面布局和绝对定位以及按钮代码 微信小程序如何获取音乐链接(图文) 微信小程序中带参数返回上一页的方法总结(三种) 以上就是微信小程序中app.json配置的代码解析的详细内容,更多请关注模板之家(www.mb5.com.cn)其它相关文章! |