暫無描述

pages.json 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "enablePullDownRefresh": true, //下拉刷新
  7. "navigationBarTitleText": "登录页",
  8. "app-plus": {
  9. "titleNView": false //禁用原生导航栏
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/myTask/myTask",
  15. "style": {
  16. "navigationBarTitleText": "我的任务"
  17. }
  18. },
  19. {
  20. "path": "pages/adressBook/adressBook",
  21. "style": {
  22. "navigationBarTitleText": "通讯录"
  23. }
  24. },
  25. {
  26. "path": "pages/setting/setting",
  27. "style": {
  28. "navigationBarTitleText": "我的"
  29. }
  30. },
  31. {
  32. "path": "pages/workOrderList/workOrderList",
  33. "style": {
  34. "navigationBarTitleText": "工单列表",
  35. "enablePullDownRefresh": true
  36. }
  37. },
  38. {
  39. "path": "pages/workOrderDetail/workOrderDetail",
  40. "style": {
  41. "navigationBarTitleText": "工单详情"
  42. }
  43. },
  44. {
  45. "path": "pages/viewWorkOrder/viewWorkOrder",
  46. "style": {
  47. "navigationBarTitleText": "查看工单"
  48. }
  49. },
  50. {
  51. "path": "pages/editWorkOrder/editWorkOrder",
  52. "style": {
  53. "navigationBarTitleText": "编辑工单"
  54. }
  55. }
  56. ],
  57. "globalStyle": {
  58. "navigationBarTextStyle": "white",
  59. "navigationBarTitleText": "全局",
  60. "navigationBarBackgroundColor": "#cd0000",
  61. "backgroundColor": "#cd0000"
  62. },
  63. "tabBar":{
  64. "color":"#7e837d",
  65. "selectedColor":"#0066ec",
  66. "backgroundColor":"#FFFFFF",
  67. "borderStyle":"black",
  68. "list":[{
  69. "pagePath":"pages/myTask/myTask",
  70. "iconPath":"./static/task.png",
  71. "selectedIconPath":"./static/task_actice.png",
  72. "text":"我的任务"
  73. },
  74. {
  75. "pagePath":"pages/adressBook/adressBook",
  76. "iconPath":"./static/addressBook.png",
  77. "selectedIconPath":"./static/addressBook_actuve.png",
  78. "text":"通讯录"
  79. },
  80. {
  81. "pagePath":"pages/setting/setting",
  82. "iconPath":"./static/person.png",
  83. "selectedIconPath":"./static/person_active.png",
  84. "text":"我的"
  85. }]
  86. },
  87. "condition" : { //模式配置,仅开发期间生效
  88. "current": 0, //当前激活的模式(list 的索引项)
  89. "list": [
  90. {
  91. "name": "", //模式名称
  92. "path": "", //启动页面,必选
  93. "query": "" //启动参数,在页面的onLoad函数里面得到
  94. }
  95. ]
  96. }
  97. }