pages.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. // "navigationStyle": "custom" ,// 隐藏系统导航栏
  40. // "navigationBarTextStyle": "white"
  41. }
  42. },
  43. // {
  44. // "path": "pages/Energyconsumption/Energyconsumption",
  45. // "style": {
  46. // "navigationBarTitleText": "能耗"
  47. // }
  48. // },
  49. {
  50. "path": "pages/my/my",
  51. "style": {
  52. "navigationBarTitleText": "我的"
  53. }
  54. }
  55. ,{
  56. "path" : "pages/my/Personalinformation/Personalinformation",
  57. "style" :
  58. {
  59. "navigationBarTitleText": "个人信息",
  60. "enablePullDownRefresh": false
  61. }
  62. }
  63. ,{
  64. "path" : "pages/my/Mydistribution/Mydistribution",
  65. "style" :
  66. {
  67. "navigationBarTitleText": "我的派发",
  68. "enablePullDownRefresh": false
  69. }
  70. }
  71. ,{
  72. "path" : "pages/my/Mytask/Mytask",
  73. "style" :
  74. {
  75. "navigationBarTitleText": "我的任务",
  76. "enablePullDownRefresh": false
  77. }
  78. }
  79. ,{
  80. "path" : "pages/my/Commentssuggestions/Commentssuggestions",
  81. "style" :
  82. {
  83. "navigationBarTitleText": "意见建议",
  84. "enablePullDownRefresh": false
  85. }
  86. }
  87. ,{
  88. "path" : "pages/my/Personalinformation/Informationmodification/Informationmodification",
  89. "style" :
  90. {
  91. "navigationBarTitleText": "个人信息修改",
  92. "enablePullDownRefresh": false
  93. }
  94. }
  95. ,{
  96. "path" : "pages/my/Changepassword/Changepassword",
  97. "style" :
  98. {
  99. "navigationBarTitleText": "密码修改",
  100. "enablePullDownRefresh": false
  101. }
  102. }
  103. ,{
  104. "path" : "pages/my/Mytask/Taskdetails/Taskdetails",
  105. "style" :
  106. {
  107. "navigationBarTitleText": "任务详情",
  108. "enablePullDownRefresh": false
  109. }
  110. }
  111. ,{
  112. "path" : "pages/my/Mydistribution/distributiondetil/distributiondetil",
  113. "style" :
  114. {
  115. "navigationBarTitleText": "派送详情",
  116. "enablePullDownRefresh": false
  117. }
  118. }
  119. ,{
  120. "path" : "pages/my/Mydistribution/distributionedit/distributionedit",
  121. "style" :
  122. {
  123. "navigationBarTitleText": "",
  124. "enablePullDownRefresh": false
  125. }
  126. }
  127. ,{
  128. "path" : "pages/Workorder/Tenantbill/Tenantbill",
  129. "style" :
  130. {
  131. "navigationBarTitleText": "租户账单",
  132. "enablePullDownRefresh": false
  133. }
  134. }
  135. ,{
  136. "path" : "pages/Workorder/Remotecontrol/Remotecontrol",
  137. "style" :
  138. {
  139. "navigationBarTitleText": "远程管控",
  140. "enablePullDownRefresh": false
  141. }
  142. }
  143. ,{
  144. "path" : "pages/index/Onlinewarranty/Onlinewarranty",
  145. "style" :
  146. {
  147. "navigationBarTitleText": "线上报修",
  148. "enablePullDownRefresh": false
  149. }
  150. }
  151. ,{
  152. "path" : "pages/index/Inspectionrecord/Inspectionrecord",
  153. "style" :
  154. {
  155. "navigationBarTitleText": "巡检记录",
  156. "enablePullDownRefresh": false
  157. }
  158. }
  159. ,{
  160. "path" : "pages/index/Withholdingrecord/Withholdingrecord",
  161. "style" :
  162. {
  163. "navigationBarTitleText": "扣缴记录",
  164. "enablePullDownRefresh": false
  165. }
  166. }
  167. ],
  168. "globalStyle": {
  169. "navigationBarTextStyle": "black",
  170. "navigationBarTitleText": "uni-app",
  171. "navigationBarBackgroundColor": "#F8F8F8",
  172. "backgroundColor": "#F8F8F8"
  173. },
  174. "tabBar": {
  175. "color": "#0C1935",
  176. "selectedColor": "#2E69EB",
  177. "borderStyle": "black",
  178. "backgroundColor": "#ffffff",
  179. "height": "55px",
  180. "fontSize": "10px",
  181. "iconWidth": "24px",
  182. "spacing": "3px",
  183. "list": [{
  184. "pagePath": "pages/index/index",
  185. "iconPath": "static/tab/h1.png",
  186. "selectedIconPath": "static/tab/h2.png",
  187. "text": "首页"
  188. },
  189. // {
  190. // "pagePath": "pages/equipment/equipment",
  191. // "iconPath": "static/tab/s1.png",
  192. // "selectedIconPath": "static/tab/s2.png",
  193. // "text": "设备"
  194. // },
  195. {
  196. "pagePath": "pages/Workorder/Workorder",
  197. "iconPath": "static/tab/w1.png",
  198. "selectedIconPath": "static/tab/w2.png",
  199. "text": "工作台"
  200. },
  201. // {
  202. // "pagePath": "pages/Energyconsumption/Energyconsumption",
  203. // "iconPath": "static/tab/e1.png",
  204. // "selectedIconPath": "static/tab/e2.png",
  205. // "text": "能耗"
  206. // },
  207. {
  208. "pagePath": "pages/my/my",
  209. "iconPath": "static/tab/y1.png",
  210. "selectedIconPath": "static/tab/y2.png",
  211. "text": "我的"
  212. }
  213. ]
  214. },
  215. "easycom": {
  216. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  217. },
  218. "condition" : { //模式配置,仅开发期间生效
  219. "current": 0, //当前激活的模式(list 的索引项)
  220. "list": [
  221. {
  222. "name": "", //模式名称
  223. "path": "", //启动页面,必选
  224. "query": "" //启动参数,在页面的onLoad函数里面得到
  225. }
  226. ]
  227. }
  228. }