pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
  6. "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
  7. "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
  8. }
  9. },
  10. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  11. {
  12. "path": "pages/login/index",
  13. "style": {
  14. "navigationBarTitleText": "登录",
  15. "navigationStyle": "custom"
  16. }
  17. },
  18. {
  19. "path": "pages/index/index",
  20. "style": {
  21. "navigationBarTitleText": "Forge H5",
  22. "navigationStyle": "custom"
  23. }
  24. },
  25. {
  26. "path": "pages/message/index",
  27. "style": {
  28. "navigationBarTitleText": "消息中心",
  29. "navigationStyle": "custom"
  30. }
  31. },
  32. {
  33. "path": "pages/todo",
  34. "style": {
  35. "navigationBarTitleText": "待办",
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/todo-detail",
  41. "style": {
  42. "navigationBarTitleText": "审批详情",
  43. "navigationStyle": "custom"
  44. }
  45. },
  46. {
  47. "path": "pages/mine/index",
  48. "style": {
  49. "navigationBarTitleText": "我的",
  50. "navigationStyle": "custom"
  51. }
  52. },
  53. {
  54. "path": "pages/demo/loading/index",
  55. "style": {
  56. "navigationBarTitleText": "组件演示",
  57. "navigationStyle": "custom"
  58. }
  59. },
  60. {
  61. "path": "pages/app-entry",
  62. "style": {
  63. "navigationBarTitleText": "应用功能",
  64. "navigationStyle": "custom"
  65. }
  66. },
  67. {
  68. "path": "pages/hotel/scan-bind",
  69. "style": {
  70. "navigationBarTitleText": "扫码绑定",
  71. "navigationStyle": "custom"
  72. }
  73. },
  74. {
  75. "path": "pages/hotel/qr-scanner",
  76. "style": {
  77. "navigationBarTitleText": "扫描二维码",
  78. "navigationStyle": "custom"
  79. }
  80. }
  81. ],
  82. "tabBar": {
  83. "color": "#8A93A3",
  84. "selectedColor": "#0891B2",
  85. "backgroundColor": "#FFFFFF",
  86. "borderStyle": "white",
  87. "list": [
  88. {
  89. "pagePath": "pages/index/index",
  90. "text": "首页",
  91. "iconPath": "static/icons/ai-icon/home.svg",
  92. "selectedIconPath": "static/icons/ai-icon/home.svg"
  93. },
  94. {
  95. "pagePath": "pages/todo",
  96. "text": "待办",
  97. "iconPath": "static/icons/ai-icon/check-square.svg",
  98. "selectedIconPath": "static/icons/ai-icon/check-square.svg"
  99. },
  100. {
  101. "pagePath": "pages/mine/index",
  102. "text": "我的",
  103. "iconPath": "static/icons/ai-icon/user.svg",
  104. "selectedIconPath": "static/icons/ai-icon/user.svg"
  105. }
  106. ]
  107. },
  108. "globalStyle": {
  109. "navigationBarTextStyle": "black",
  110. "navigationBarTitleText": "Forge H5",
  111. "navigationBarBackgroundColor": "#F8F8F8",
  112. "backgroundColor": "#F8F8F8"
  113. }
  114. }