pages.json 1.9 KB

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