pages.json 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. "globalStyle": {
  145. "navigationBarTextStyle": "black",
  146. "navigationBarTitleText": "uni-app",
  147. "navigationBarBackgroundColor": "#F8F8F8",
  148. "backgroundColor": "#F8F8F8"
  149. },
  150. "tabBar": {
  151. "color": "#0C1935",
  152. "selectedColor": "#2E69EB",
  153. "borderStyle": "black",
  154. "backgroundColor": "#ffffff",
  155. "height": "55px",
  156. "fontSize": "10px",
  157. "iconWidth": "24px",
  158. "spacing": "3px",
  159. "list": [{
  160. "pagePath": "pages/index/index",
  161. "iconPath": "static/tab/h1.png",
  162. "selectedIconPath": "static/tab/h2.png",
  163. "text": "首页"
  164. },
  165. // {
  166. // "pagePath": "pages/equipment/equipment",
  167. // "iconPath": "static/tab/s1.png",
  168. // "selectedIconPath": "static/tab/s2.png",
  169. // "text": "设备"
  170. // },
  171. {
  172. "pagePath": "pages/Workorder/Workorder",
  173. "iconPath": "static/tab/w1.png",
  174. "selectedIconPath": "static/tab/w2.png",
  175. "text": "工作台"
  176. },
  177. // {
  178. // "pagePath": "pages/Energyconsumption/Energyconsumption",
  179. // "iconPath": "static/tab/e1.png",
  180. // "selectedIconPath": "static/tab/e2.png",
  181. // "text": "能耗"
  182. // },
  183. {
  184. "pagePath": "pages/my/my",
  185. "iconPath": "static/tab/y1.png",
  186. "selectedIconPath": "static/tab/y2.png",
  187. "text": "我的"
  188. }
  189. ]
  190. },
  191. "easycom": {
  192. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  193. },
  194. "condition" : { //模式配置,仅开发期间生效
  195. "current": 0, //当前激活的模式(list 的索引项)
  196. "list": [
  197. {
  198. "name": "", //模式名称
  199. "path": "", //启动页面,必选
  200. "query": "" //启动参数,在页面的onLoad函数里面得到
  201. }
  202. ]
  203. }
  204. }