pages.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "navigationStyle": "custom"
  7. }
  8. },
  9. {
  10. "path": "pages/login/user-agreement",
  11. "style": {
  12. "navigationBarTitleText": "用户服务协议",
  13. "navigationBarBackgroundColor": "#f3f7f5",
  14. "navigationBarTextStyle": "black"
  15. }
  16. },
  17. {
  18. "path": "pages/login/privacy-policy",
  19. "style": {
  20. "navigationBarTitleText": "隐私政策",
  21. "navigationBarBackgroundColor": "#f3f7f5",
  22. "navigationBarTextStyle": "black"
  23. }
  24. },
  25. {
  26. "path": "pages/login/web-qr/index",
  27. "style": {
  28. "navigationBarTitleText": "网页登录授权",
  29. "navigationBarBackgroundColor": "#f3f7f5",
  30. "navigationBarTextStyle": "black"
  31. }
  32. },
  33. {
  34. "path": "pages/workbench/workbench",
  35. "style": {
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/home/home",
  41. "style": {
  42. "navigationStyle": "custom"
  43. }
  44. },
  45. {
  46. "path": "pages/todo/todo",
  47. "style": {
  48. "navigationStyle": "custom"
  49. }
  50. },
  51. {
  52. "path": "pages/mine/mine",
  53. "style": {
  54. "navigationStyle": "custom"
  55. }
  56. },
  57. {
  58. "path": "pages/common/biz-placeholder",
  59. "style": {
  60. "navigationStyle": "custom"
  61. }
  62. },
  63. {
  64. "path": "pages/common/mp-webview",
  65. "style": {
  66. // 去掉 uni-page-head;顶栏由 H5 绿头(← + 标题)自行绘制
  67. "navigationStyle": "custom"
  68. }
  69. }
  70. // #ifdef H5
  71. ,
  72. {
  73. "path": "pages/error/404",
  74. "style": {
  75. "navigationBarTitleText": "Not Found"
  76. }
  77. }
  78. // #endif
  79. // #ifdef APP-PLUS
  80. ,
  81. {
  82. "path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
  83. "style": {
  84. "app-plus": {
  85. "animationDuration": 200,
  86. "animationType": "fade-in",
  87. "background": "transparent",
  88. "backgroundColorTop": "transparent",
  89. "popGesture": "none",
  90. "scrollIndicator": false,
  91. "titleNView": false
  92. },
  93. "disableScroll": true
  94. }
  95. }
  96. // #endif
  97. ],
  98. "subPackages": [
  99. {
  100. "root": "pages/db",
  101. "name": "db",
  102. "pages": [
  103. {
  104. "path": "dashboard/index",
  105. "style": { "navigationStyle": "custom" }
  106. },
  107. {
  108. "path": "plans/list",
  109. "style": { "navigationStyle": "custom" }
  110. },
  111. {
  112. "path": "plans/detail",
  113. "style": { "navigationStyle": "custom" }
  114. },
  115. {
  116. "path": "inventory/list",
  117. "style": { "navigationStyle": "custom" }
  118. },
  119. {
  120. "path": "inventory/detail",
  121. "style": { "navigationStyle": "custom" }
  122. },
  123. {
  124. "path": "weighing/list",
  125. "style": { "navigationStyle": "custom" }
  126. },
  127. {
  128. "path": "weighing/detail",
  129. "style": { "navigationStyle": "custom" }
  130. }
  131. ]
  132. },
  133. {
  134. "root": "pages/bx",
  135. "name": "bx",
  136. "pages": [
  137. {
  138. "path": "advance/list",
  139. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
  140. },
  141. {
  142. "path": "advance/apply",
  143. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
  144. },
  145. {
  146. "path": "advance/detail",
  147. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金详情" }
  148. },
  149. {
  150. "path": "reimburse/list",
  151. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
  152. },
  153. {
  154. "path": "reimburse/apply",
  155. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
  156. },
  157. {
  158. "path": "reimburse/detail",
  159. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销详情" }
  160. },
  161. {
  162. "path": "mine/list",
  163. "style": { "navigationStyle": "custom", "navigationBarTitleText": "我的申请单" }
  164. },
  165. {
  166. "path": "all/list",
  167. "style": { "navigationStyle": "custom", "navigationBarTitleText": "全部申请单" }
  168. },
  169. {
  170. "path": "invoice/mine",
  171. "style": { "navigationStyle": "custom", "navigationBarTitleText": "我的发票夹" }
  172. },
  173. {
  174. "path": "invoice/admin",
  175. "style": { "navigationStyle": "custom", "navigationBarTitleText": "发票夹管理" }
  176. },
  177. {
  178. "path": "admin/expense-item",
  179. "style": { "navigationStyle": "custom", "navigationBarTitleText": "费用项目" }
  180. },
  181. {
  182. "path": "admin/wf-advance",
  183. "style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(备用金)" }
  184. },
  185. {
  186. "path": "admin/wf-reimburse",
  187. "style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(报销)" }
  188. }
  189. ]
  190. },
  191. {
  192. "root": "pages/pl",
  193. "name": "pl",
  194. "pages": [
  195. {
  196. "path": "fuel-register/list",
  197. "style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
  198. },
  199. {
  200. "path": "fuel-register/form",
  201. "style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
  202. },
  203. {
  204. "path": "vehicle-recharge-apply/list",
  205. "style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/油卡充值申请" }
  206. },
  207. {
  208. "path": "vehicle-recharge-apply/form",
  209. "style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/油卡充值申请" }
  210. },
  211. {
  212. "path": "transport-plan/list",
  213. "style": { "navigationStyle": "custom", "navigationBarTitleText": "现场运输计划单" }
  214. },
  215. {
  216. "path": "transport-plan/detail",
  217. "style": { "navigationStyle": "custom", "navigationBarTitleText": "现场回传" }
  218. },
  219. {
  220. "path": "driver-plan/list",
  221. "style": { "navigationStyle": "custom", "navigationBarTitleText": "司机运输计划单" }
  222. },
  223. {
  224. "path": "driver-plan/detail",
  225. "style": { "navigationStyle": "custom", "navigationBarTitleText": "司机回执" }
  226. }
  227. ]
  228. }
  229. ],
  230. "preloadRule": {
  231. "pages/workbench/workbench": {
  232. "network": "all",
  233. "packages": ["db", "bx", "pl"]
  234. }
  235. },
  236. "globalStyle": {
  237. "pageOrientation": "portrait",
  238. "navigationBarTitleText": "山峡化工",
  239. "navigationBarTextStyle": "black",
  240. "navigationBarBackgroundColor": "#f3f7f5",
  241. "backgroundColor": "#f5f8f7",
  242. "backgroundColorTop": "#f5f8f7",
  243. "backgroundColorBottom": "#f5f8f7",
  244. "mp-360": {
  245. "navigationStyle": "custom"
  246. },
  247. "h5": {
  248. "maxWidth": 1190,
  249. "navigationBarTextStyle": "black",
  250. "navigationBarBackgroundColor": "#f3f7f5"
  251. }
  252. },
  253. "easycom": {
  254. "autoscan": true
  255. }
  256. }