pages.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "慕尼黑上海电子生产设备展"
  7. }
  8. },
  9. { "path": "pages/news/index", "style": { "navigationBarTitleText": "新闻" }},
  10. // 活动模块
  11. { "path": "pages/activity/index" , "style": { "navigationBarTitleText": "同期活动" }},
  12. { "path": "pages/activity/detail", "style": { "navigationBarTitleText": "同期详情" }},
  13. { "path": "pages/activity/guest", "style": { "navigationBarTitleText": "演讲嘉宾" }},
  14. // 展商模块
  15. // { "path": "pages/exhibitor/index" },
  16. { "path": "pages/exhibitor/exhibit", "style": { "navigationBarTitleText": "展品信息" }},
  17. { "path": "pages/exhibitor/exhibit-detail", "style": { "navigationBarTitleText": "展品详情" }},
  18. { "path": "pages/exhibitor/detail", "style": { "navigationBarTitleText": "展商详情" }},
  19. // 用户模块
  20. { "path": "pages/user/index", "style": { "navigationBarTitleText": "个人中心" }},
  21. { "path": "pages/user/login", "style": { "navigationBarTitleText": "登录" } },
  22. { "path": "pages/user/setting", "style": { "navigationBarTitleText": "设置" }},
  23. { "path": "pages/user/info", "style": { "navigationBarTitleText": "个人信息" }},
  24. { "path": "pages/user/info-edit", "style": { "navigationBarTitleText": "修改个人信息" }},
  25. { "path": "pages/user/like", "style": { "navigationBarTitleText": "我的点赞" }},
  26. { "path": "pages/user/favorites", "style": { "navigationBarTitleText": "我的收藏" }},
  27. { "path": "pages/user/vote", "style": { "navigationBarTitleText": "我的投票" }},
  28. //APP协议模块
  29. { "path": "pages/disclaimer/index", "style": { "navigationBarTitleText": "免责声明" }},
  30. // 组件页面
  31. { "path": "pages/index/search", "style": { "navigationBarTitleText": "搜索" }},
  32. // WEBVIEW
  33. { "path": "pages/index/webview", "style": { "navigationStyle": "default", "navigationBarTitleText": "加载中...", "navigationBarBackgroundColor": "#332968" }}
  34. ],
  35. "globalStyle": {
  36. "navigationStyle": "custom",
  37. "navigationBarTextStyle": "white",
  38. "navigationBarTitleText": "慕尼黑上海电子生产设备展",
  39. "navigationBarBackgroundColor": "#F8F8F8",
  40. "backgroundColor": "#F8F8F8",
  41. "usingComponents": {
  42. "van-icon": "/wxcomponents/vant/icon/index",
  43. "van-empty": "/wxcomponents/vant/empty/index",
  44. "van-button": "/wxcomponents/vant/button/index",
  45. "van-dialog": "/wxcomponents/vant/dialog/index"
  46. }
  47. },
  48. "uniIdRouter": {},
  49. "condition" : { //模式配置,仅开发期间生效
  50. "current": 0, //当前激活的模式(list 的索引项)
  51. "list": [
  52. {
  53. "name": "", //模式名称
  54. "path": "", //启动页面,必选
  55. "query": "" //启动参数,在页面的onLoad函数里面得到
  56. }
  57. ]
  58. }
  59. }