pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. { "path" : "pages/disclaimer/index", "style" : { "navigationBarTitleText" : "免责声明" }}
  35. ],
  36. "globalStyle": {
  37. "navigationStyle": "custom",
  38. "navigationBarTextStyle": "white",
  39. "navigationBarTitleText": "慕尼黑上海电子生产设备展",
  40. "navigationBarBackgroundColor": "#F8F8F8",
  41. "backgroundColor": "#F8F8F8",
  42. "usingComponents": {
  43. "van-icon": "/wxcomponents/vant/icon/index",
  44. "van-empty": "/wxcomponents/vant/empty/index",
  45. "van-button": "/wxcomponents/vant/button/index",
  46. "van-dialog": "/wxcomponents/vant/dialog/index"
  47. }
  48. },
  49. "uniIdRouter": {},
  50. "condition" : { //模式配置,仅开发期间生效
  51. "current": 0, //当前激活的模式(list 的索引项)
  52. "list": [
  53. {
  54. "name": "", //模式名称
  55. "path": "", //启动页面,必选
  56. "query": "" //启动参数,在页面的onLoad函数里面得到
  57. }
  58. ]
  59. }
  60. }