json 是小程序内的配置文件,用来配置路由,样式的数据内容;
官方demo中给出来默认的json配置项
page = []
page 是路由,是小程序开发总配置的分发器,
"pages": [
"page/component/index",
"page/component/component-pages/action-sheet/action-sheet"
]
window = {}
window是全局对象,指的是微信的页面设置;
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "演示",
"navigationBarBackgroundColor": "#fbf9fe",
网友评论