pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path" : "pages/signIn/autoLogin",
  5. "style" :
  6. {
  7. "navigationBarTitleText": "",
  8. "enablePullDownRefresh": false,
  9. "navigationStyle": "custom"
  10. }
  11. },
  12. {
  13. "path": "pages/index/index",
  14. "style": {
  15. "navigationBarTitleText": "应急处理",
  16. "enablePullDownRefresh": false,
  17. "navigationStyle": "custom"
  18. }
  19. },
  20. {
  21. "path": "pages/addHandle/index",
  22. "style": {
  23. "navigationBarTitleText": "新增应急处理",
  24. "enablePullDownRefresh": false,
  25. "navigationStyle": "custom"
  26. }
  27. },
  28. {
  29. "path": "pages/details/index",
  30. "style": {
  31. "navigationBarTitleText": "应急处理详情",
  32. "enablePullDownRefresh": false,
  33. "navigationStyle": "custom"
  34. }
  35. },
  36. {
  37. "path": "pages/leave/index",
  38. "style": {
  39. "navigationBarTitleText": "请假管理",
  40. "enablePullDownRefresh": false,
  41. "navigationStyle": "custom"
  42. }
  43. },
  44. {
  45. "path": "pages/addLeave/index",
  46. "style": {
  47. "navigationBarTitleText": "请假",
  48. "enablePullDownRefresh": false,
  49. "navigationStyle": "custom"
  50. }
  51. },
  52. {
  53. "path": "pages/face/index",
  54. "style": {
  55. "navigationBarTitleText": "新增应急处置",
  56. "enablePullDownRefresh": false,
  57. "navigationStyle": "custom"
  58. }
  59. },
  60. {
  61. "path": "pages/signIn/signIn",
  62. "style": {
  63. "navigationBarTitleText": "",
  64. "enablePullDownRefresh": false,
  65. "navigationStyle": "custom"
  66. }
  67. },
  68. {
  69. "path": "pages/signIn/logOn",
  70. "style": {
  71. "navigationBarTitleText": "",
  72. "enablePullDownRefresh": false,
  73. "navigationStyle": "custom"
  74. }
  75. }
  76. ],
  77. "globalStyle": {
  78. "navigationBarTextStyle": "black",
  79. "navigationBarTitleText": "uni-app",
  80. "navigationBarBackgroundColor": "#fff",
  81. "backgroundColor": "#fff"
  82. },
  83. "uniIdRouter": {},
  84. "tabBar": {
  85. "color": "#7A7E83", // tab 上的文字默认颜色
  86. "selectedColor": "#7B5DF0", // tab 上的文字选中时的颜色
  87. "borderStyle": "black", // tabbar 上边框的颜色,可选值 black/white
  88. "backgroundColor": "#ffffff", // tab 的背景色
  89. "list": [{ // 最少2个、最多5个 tab
  90. "pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义
  91. "iconPath": "static/medical_services.svg", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
  92. "selectedIconPath": "static/medical_service.svg", // 选中时的图片路径
  93. "text": "应急处理" // tab 上按钮文字
  94. }, {
  95. "pagePath": "pages/leave/index",
  96. "iconPath": "static/schedule (2).svg",
  97. "selectedIconPath": "static/schedule.svg",
  98. "text": "请假管理"
  99. }]
  100. }
  101. }