123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- {
- "pages": [{
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "系统首页",
- "navigationStyle": "custom",
- "app-plus": {
- "titleNView": false //禁用原生导航栏
- }
- }
- },
- {
- "path": "pages/home/index",
- "style": {
- "navigationBarTitleText": "健康问答",
- "navigationStyle": "custom",
- "app-plus": {
- "titleNView": false //禁用原生导航栏
- },
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/science/index",
- "style": {
- "navigationBarTitleText": "医疗科普",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/my/index",
- "style": {
- "navigationBarTitleText": "个人中心"
- }
- },
- {
- "path": "pages/login/index",
- "style": {
- "navigationBarTitleText": "登录"
- }
- }
- ],
- "subPackages": [ //分包配置
- {
- "root": "pagesHome",
- "pages": [ //分包
- {
- "path": "group/index",
- "style": {
- "navigationBarTitleText": "群组"
- }
- },
- {
- "path": "friend/index",
- "style": {
- "navigationBarTitleText": "好友"
- }
- },
- {
- "path": "other/agree",
- "style": {
- "navigationBarTitleText": "用户协议"
- }
- }
- ]
- },
- {
- "root": "pagesScience",
- "pages": [ //分包
- {
- "path": "science/index",
- "style": {
- "navigationBarTitleText": "医疗科普详情"
- }
- }
- ]
- },
- {
- "root": "pagesMy",
- "pages": [ //分包
- {
- "path": "basic/index",
- "style": {
- "navigationBarTitleText": "基本信息"
- }
- },
- {
- "path": "group/index",
- "style": {
- "navigationBarTitleText": "群组信息",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "person/index",
- "style": {
- "navigationBarTitleText": "群成员",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "person/detail",
- "style": {
- "navigationBarTitleText": "用户详情"
- }
- },
- {
- "path": "science/index",
- "style": {
- "navigationBarTitleText": "医疗科普",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "answer/index",
- "style": {
- "navigationBarTitleText": "答复记录"
- }
- }
- ]
- }
- ],
- "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函数里面得到
- }]
- }
- }
|