{ "pages": [{ "path": "pages/index/index", "style": { "navigationBarTitleText": "系统首页", "app-plus": { "titleNView": false //禁用原生导航栏 } } }, { "path": "pages/login/index", "style": { "navigationBarTitleText": "登录", "app-plus": { "titleNView": false //禁用原生导航栏 } } }, { "path": "pages/home/index", "style": { "navigationBarTitleText": "健康问答", "app-plus": { "titleNView": false //禁用原生导航栏 }, "enablePullDownRefresh": true } }, { "path": "pages/science/index", "style": { "navigationBarTitleText": "医疗科普", "app-plus": { "titleNView": false //禁用原生导航栏 }, "enablePullDownRefresh": true } }, { "path": "pages/my/index", "style": { "app-plus": { "titleNView": false //禁用原生导航栏 }, "navigationBarTitleText": "个人中心" } } ], "subPackages": [ //分包配置 { "root": "pagesHome", "pages": [ //分包 { "path": "index/index", "style": { "navigationBarTitleText": "test" } } ] }, { "root": "pagesScience", "pages": [ //分包 { "path": "index/index", "style": { "navigationBarTitleText": "test" } } ] }, { "root": "pagesMy", "pages": [ //分包 { "path": "index/index", "style": { "navigationBarTitleText": "test" } } ] } ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "随访小程序", "navigationBarTextStyle": "black", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "backgroundColorTop": "#F4F5F6", "backgroundColorBottom": "#F4F5F6" }, "tabBar": { "color": "#7A7E83", "selectedColor": "#007AFF", "borderStyle": "black", "backgroundColor": "#F8F8F8", "list": [{ "pagePath": "pages/home/index", "iconPath": "static/home.png", "selectedIconPath": "static/homeHL.png", "text": "健康问答" }, { "pagePath": "pages/science/index", "iconPath": "static/science.png", "selectedIconPath": "static/scienceHL.png", "text": "医疗科普" }, { "pagePath": "pages/my/index", "iconPath": "static/my.png", "selectedIconPath": "static/myHL.png", "text": "个人中心" } ] }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "系统首页", //模式名称 "path": "pages/index/index", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }] } }