pages.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "navigationBarTitleText": "",
  7. "enablePullDownRefresh": false
  8. }
  9. },
  10. {
  11. "path": "pages/login/forget",
  12. "style": {
  13. "navigationBarTitleText": "",
  14. "enablePullDownRefresh": false
  15. }
  16. }, {
  17. "path": "pages/login/register",
  18. "style": {
  19. "navigationBarTitleText": "",
  20. "enablePullDownRefresh": false
  21. }
  22. },
  23. {
  24. "path": "pages/index/index",
  25. "style": {
  26. "navigationBarTitleText": "首页"
  27. }
  28. },
  29. // {
  30. // "path": "pages/equipment/equipment",
  31. // "style": {
  32. // "navigationBarTitleText": "设备"
  33. // }
  34. // },
  35. {
  36. "path": "pages/Workorder/Workorder",
  37. "style": {
  38. "navigationBarTitleText": "管理"
  39. }
  40. },
  41. // {
  42. // "path": "pages/Energyconsumption/Energyconsumption",
  43. // "style": {
  44. // "navigationBarTitleText": "能耗"
  45. // }
  46. // },
  47. {
  48. "path": "pages/my/my",
  49. "style": {
  50. "navigationBarTitleText": "我的"
  51. }
  52. }
  53. ,{
  54. "path" : "pages/my/Personalinformation/Personalinformation",
  55. "style" :
  56. {
  57. "navigationBarTitleText": "个人信息",
  58. "enablePullDownRefresh": false
  59. }
  60. }
  61. ,{
  62. "path" : "pages/my/Mydistribution/Mydistribution",
  63. "style" :
  64. {
  65. "navigationBarTitleText": "我的派发",
  66. "enablePullDownRefresh": false
  67. }
  68. }
  69. ,{
  70. "path" : "pages/my/Mytask/Mytask",
  71. "style" :
  72. {
  73. "navigationBarTitleText": "我的任务",
  74. "enablePullDownRefresh": false
  75. }
  76. }
  77. ,{
  78. "path" : "pages/my/Commentssuggestions/Commentssuggestions",
  79. "style" :
  80. {
  81. "navigationBarTitleText": "意见建议",
  82. "enablePullDownRefresh": false
  83. }
  84. }
  85. ,{
  86. "path" : "pages/my/Personalinformation/Informationmodification/Informationmodification",
  87. "style" :
  88. {
  89. "navigationBarTitleText": "个人信息修改",
  90. "enablePullDownRefresh": false
  91. }
  92. }
  93. ,{
  94. "path" : "pages/my/Changepassword/Changepassword",
  95. "style" :
  96. {
  97. "navigationBarTitleText": "密码修改",
  98. "enablePullDownRefresh": false
  99. }
  100. }
  101. ,{
  102. "path" : "pages/my/Mytask/Taskdetails/Taskdetails",
  103. "style" :
  104. {
  105. "navigationBarTitleText": "任务详情",
  106. "enablePullDownRefresh": false
  107. }
  108. }
  109. ,{
  110. "path" : "pages/my/Mydistribution/distributiondetil/distributiondetil",
  111. "style" :
  112. {
  113. "navigationBarTitleText": "派送详情",
  114. "enablePullDownRefresh": false
  115. }
  116. }
  117. ,{
  118. "path" : "pages/my/Mydistribution/distributionedit/distributionedit",
  119. "style" :
  120. {
  121. "navigationBarTitleText": "",
  122. "enablePullDownRefresh": false
  123. }
  124. }
  125. ],
  126. "globalStyle": {
  127. "navigationBarTextStyle": "black",
  128. "navigationBarTitleText": "uni-app",
  129. "navigationBarBackgroundColor": "#F8F8F8",
  130. "backgroundColor": "#F8F8F8"
  131. },
  132. "tabBar": {
  133. "color": "#0C1935",
  134. "selectedColor": "#2E69EB",
  135. "borderStyle": "black",
  136. "backgroundColor": "#ffffff",
  137. "height": "55px",
  138. "fontSize": "10px",
  139. "iconWidth": "24px",
  140. "spacing": "3px",
  141. "list": [{
  142. "pagePath": "pages/index/index",
  143. "iconPath": "static/tab/h1.png",
  144. "selectedIconPath": "static/tab/h2.png",
  145. "text": "首页"
  146. },
  147. // {
  148. // "pagePath": "pages/equipment/equipment",
  149. // "iconPath": "static/tab/s1.png",
  150. // "selectedIconPath": "static/tab/s2.png",
  151. // "text": "设备"
  152. // },
  153. {
  154. "pagePath": "pages/Workorder/Workorder",
  155. "iconPath": "static/tab/w1.png",
  156. "selectedIconPath": "static/tab/w2.png",
  157. "text": "管理"
  158. },
  159. // {
  160. // "pagePath": "pages/Energyconsumption/Energyconsumption",
  161. // "iconPath": "static/tab/e1.png",
  162. // "selectedIconPath": "static/tab/e2.png",
  163. // "text": "能耗"
  164. // },
  165. {
  166. "pagePath": "pages/my/my",
  167. "iconPath": "static/tab/y1.png",
  168. "selectedIconPath": "static/tab/y2.png",
  169. "text": "我的"
  170. }
  171. ]
  172. },
  173. "easycom": {
  174. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  175. },
  176. "condition" : { //模式配置,仅开发期间生效
  177. "current": 0, //当前激活的模式(list 的索引项)
  178. "list": [
  179. {
  180. "name": "", //模式名称
  181. "path": "", //启动页面,必选
  182. "query": "" //启动参数,在页面的onLoad函数里面得到
  183. }
  184. ]
  185. }
  186. }