pages.json 2.8 KB

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