pages.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "lazyCodeLoading": "requiredComponents",
  8. "path": "pages/index/index",
  9. "style": {
  10. "navigationStyle": "custom"
  11. }
  12. },
  13. {
  14. "path" : "pages/index/orderUp",
  15. "style" :
  16. {
  17. "navigationBarTitleText": "工单上报",
  18. "enablePullDownRefresh": false,
  19. "app-plus": {
  20. "softinputMode": "adjustResize"
  21. }
  22. }
  23. },
  24. {
  25. "path" : "pages/index/order",
  26. "style" :
  27. {
  28. "navigationBarTitleText": "运维工单",
  29. "enablePullDownRefresh": false
  30. }
  31. },
  32. {
  33. "path" : "pages/index/orderDetail",
  34. "style" :
  35. {
  36. "navigationBarTitleText": "工单详情",
  37. "enablePullDownRefresh": false,
  38. "navigationBarBackgroundColor": "#9CC1FA",
  39. "navigationBarTextStyle": "#FFFFFF"
  40. }
  41. },
  42. {
  43. "path" : "pages/index/supplier",
  44. "style" :
  45. {
  46. "navigationBarTitleText": "供应商",
  47. "enablePullDownRefresh": false
  48. }
  49. },
  50. {
  51. "path" : "pages/index/supplierDetail",
  52. "style" :
  53. {
  54. "navigationBarTitleText": "供应商详情",
  55. "enablePullDownRefresh": false
  56. }
  57. },
  58. {
  59. "path" : "pages/public/404",
  60. "style" :
  61. {
  62. "navigationBarTitleText": "",
  63. "enablePullDownRefresh": false
  64. }
  65. },
  66. {
  67. "path" : "pages/ucenter/index",
  68. "style" :
  69. {
  70. "navigationStyle": "custom"
  71. }
  72. },
  73. {
  74. "path" : "pages/ucenter/mineNotes",
  75. "style" :
  76. {
  77. "navigationBarTitleText": "我的记录",
  78. "enablePullDownRefresh": false
  79. }
  80. },
  81. {
  82. "path" : "pages/userAgreement/index",
  83. "style" :
  84. {
  85. "navigationBarTitleText": "用户协议",
  86. "enablePullDownRefresh": false
  87. }
  88. }
  89. ,{
  90. "path" : "pages/public/login",
  91. "style" :
  92. {
  93. "navigationBarTitleText": "用户登录",
  94. "enablePullDownRefresh": false
  95. }
  96. }
  97. ],
  98. "globalStyle": {
  99. "navigationBarTextStyle": "black",
  100. "navigationBarTitleText": "uni-app",
  101. "navigationBarBackgroundColor": "#FFFFFF",
  102. "backgroundColor": "#F8F8F8"
  103. },
  104. "uniIdRouter": {},
  105. "tabBar": {
  106. "custom": false,
  107. "color": "#333",
  108. "selectedColor": "#333",
  109. "backgroundColor": "#FFF",
  110. "list": [{
  111. "pagePath": "pages/index/index",
  112. "iconPath": "static/images/home/tab_home.png",
  113. "selectedIconPath": "static/images/home/tab_home_on.png",
  114. "text": "首页"
  115. },
  116. {
  117. "pagePath": "pages/ucenter/index",
  118. "iconPath": "static/images/home/tab_mine.png",
  119. "selectedIconPath": "static/images/home/tab_mine_on.png",
  120. "text": "我的"
  121. }
  122. ]
  123. }
  124. }