{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "慕尼黑上海电子生产设备展" } }, { "path": "pages/news/index", "style": { "navigationBarTitleText": "新闻" } }, // 活动模块 { "path": "pages/activity/index", "style": { "navigationBarTitleText": "同期活动" } }, { "path": "pages/activity/detail", "style": { "navigationBarTitleText": "同期详情" } }, { "path": "pages/activity/guest", "style": { "navigationBarTitleText": "演讲嘉宾" } }, // 展商模块 { "path": "pages/exhibitor/index" }, { "path": "pages/exhibitor/exhibit", "style": { "navigationBarTitleText": "展品信息" } }, { "path": "pages/exhibitor/exhibit-detail", "style": { "navigationBarTitleText": "展品详情" } }, { "path": "pages/exhibitor/detail", "style": { "navigationBarTitleText": "展商详情" } }, { "path": "pages/exhibitor/exhibitor-activity", "style": { "navigationBarTitleText": "展商活动详情" } }, { "path": "pages/exhibitor/exhibitor-news", "style": { "navigationBarTitleText": "展商新闻详情" } }, // 用户模块 { "path": "pages/user/index", "style": { "navigationBarTitleText": "个人中心" } }, { "path": "pages/user/login", "style": { "navigationBarTitleText": "登录" } }, { "path": "pages/user/setting", "style": { "navigationBarTitleText": "设置" } }, { "path": "pages/user/info", "style": { "navigationBarTitleText": "个人信息" } }, { "path": "pages/user/info-edit", "style": { "navigationBarTitleText": "修改个人信息" } }, { "path": "pages/user/like", "style": { "navigationBarTitleText": "我的点赞" } }, { "path": "pages/user/favorites", "style": { "navigationBarTitleText": "我的收藏" } }, { "path": "pages/user/vote", "style": { "navigationBarTitleText": "我的投票" } }, //APP协议模块 { "path": "pages/disclaimer/index", "style": { "navigationBarTitleText": "免责声明" } }, { "path": "pages/disclaimer/privacy", "style": { "navigationBarTitleText": "隐私政策" } }, { "path": "pages/disclaimer/legalNotice", "style": { "navigationBarTitleText": "法律信息" } }, // 组件页面 { "path": "pages/index/search", "style": { "navigationBarTitleText": "搜索" } }, // WEBVIEW { "path": "pages/index/webview", "style": { "navigationStyle": "default", "navigationBarTitleText": "加载中...", "navigationBarBackgroundColor": "#332968" } }, // 观众指南 { "path": "pages/files/index", "style": { "navigationBarTitleText": "观众指南" } }, { "path": "pages/checkIn/checkInRoute", "style": { "navigationBarTitleText": "" } }, { "path": "pages/checkIn/index", "style": { "navigationBarTitleText": "" } } ], "globalStyle": { "navigationStyle": "custom", "navigationBarTextStyle": "white", "navigationBarTitleText": "慕尼黑上海电子生产设备展", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "usingComponents": { "van-icon": "/wxcomponents/vant/icon/index", "van-empty": "/wxcomponents/vant/empty/index", "van-button": "/wxcomponents/vant/button/index", "van-dialog": "/wxcomponents/vant/dialog/index" } }, "uniIdRouter": {}, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [ { "name": "单页面", //模式名称 "path": "pages/checkIn/checkInRoute", //启动页面,必选 "query": "tab=exhibitor" //启动参数,在页面的onLoad函数里面得到 } ] } }