這篇文章帶給大家的內容是關於微信小程式中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 }}
以上是微信小程式中app.json配置的程式碼解析的詳細內容。更多資訊請關注PHP中文網其他相關文章!