pages.json 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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/wechat-official-account",
  65. "style": {
  66. "navigationBarTitleText": "关注服务号",
  67. "navigationBarBackgroundColor": "#0a9f6d",
  68. "navigationBarTextStyle": "white"
  69. }
  70. },
  71. {
  72. "path": "pages/common/wechat-binding-authorize",
  73. "style": {
  74. "navigationBarTitleText": "微信授权 · 完成后返回确认",
  75. "navigationBarBackgroundColor": "#0a9f6d",
  76. "navigationBarTextStyle": "white"
  77. }
  78. },
  79. {
  80. "path": "pages/common/mp-webview",
  81. "style": {
  82. // 去掉 uni-page-head;顶栏由 H5 绿头(← + 标题)自行绘制
  83. "navigationStyle": "custom"
  84. }
  85. }
  86. // #ifdef H5
  87. ,
  88. {
  89. "path": "pages/error/404",
  90. "style": {
  91. "navigationBarTitleText": "Not Found"
  92. }
  93. }
  94. // #endif
  95. // #ifdef APP-PLUS
  96. ,
  97. {
  98. "path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
  99. "style": {
  100. "app-plus": {
  101. "animationDuration": 200,
  102. "animationType": "fade-in",
  103. "background": "transparent",
  104. "backgroundColorTop": "transparent",
  105. "popGesture": "none",
  106. "scrollIndicator": false,
  107. "titleNView": false
  108. },
  109. "disableScroll": true
  110. }
  111. }
  112. // #endif
  113. ],
  114. "subPackages": [
  115. {
  116. "root": "pages/db",
  117. "name": "db",
  118. "pages": [
  119. {
  120. "path": "dashboard/index",
  121. "style": { "navigationStyle": "custom" }
  122. },
  123. {
  124. "path": "plans/list",
  125. "style": { "navigationStyle": "custom" }
  126. },
  127. {
  128. "path": "plans/detail",
  129. "style": { "navigationStyle": "custom" }
  130. },
  131. {
  132. "path": "inventory/list",
  133. "style": { "navigationStyle": "custom" }
  134. },
  135. {
  136. "path": "inventory/detail",
  137. "style": { "navigationStyle": "custom" }
  138. },
  139. {
  140. "path": "weighing/list",
  141. "style": { "navigationStyle": "custom" }
  142. },
  143. {
  144. "path": "weighing/detail",
  145. "style": { "navigationStyle": "custom" }
  146. }
  147. ]
  148. },
  149. {
  150. "root": "pages/bx",
  151. "name": "bx",
  152. "pages": [
  153. {
  154. "path": "advance/list",
  155. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
  156. },
  157. {
  158. "path": "advance/apply",
  159. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
  160. },
  161. {
  162. "path": "advance/detail",
  163. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金详情" }
  164. },
  165. {
  166. "path": "reimburse/list",
  167. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
  168. },
  169. {
  170. "path": "reimburse/apply",
  171. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
  172. },
  173. {
  174. "path": "reimburse/detail",
  175. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销详情" }
  176. },
  177. {
  178. "path": "mine/list",
  179. "style": { "navigationStyle": "custom", "navigationBarTitleText": "我的申请单" }
  180. },
  181. {
  182. "path": "all/list",
  183. "style": { "navigationStyle": "custom", "navigationBarTitleText": "全部申请单" }
  184. },
  185. {
  186. "path": "invoice/mine",
  187. "style": { "navigationStyle": "custom", "navigationBarTitleText": "我的发票夹" }
  188. },
  189. {
  190. "path": "invoice/admin",
  191. "style": { "navigationStyle": "custom", "navigationBarTitleText": "发票夹管理" }
  192. },
  193. {
  194. "path": "admin/expense-item",
  195. "style": { "navigationStyle": "custom", "navigationBarTitleText": "费用项目" }
  196. },
  197. {
  198. "path": "admin/wf-advance",
  199. "style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(备用金)" }
  200. },
  201. {
  202. "path": "admin/wf-reimburse",
  203. "style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(报销)" }
  204. }
  205. ]
  206. },
  207. {
  208. "root": "pages/pl",
  209. "name": "pl",
  210. "pages": [
  211. {
  212. "path": "fuel-register/list",
  213. "style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
  214. },
  215. {
  216. "path": "fuel-register/form",
  217. "style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
  218. },
  219. {
  220. "path": "vehicle-recharge-apply/list",
  221. "style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/油卡充值申请" }
  222. },
  223. {
  224. "path": "vehicle-recharge-apply/form",
  225. "style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/油卡充值申请" }
  226. },
  227. {
  228. "path": "transport-plan/list",
  229. "style": { "navigationStyle": "custom", "navigationBarTitleText": "现场运输计划单" }
  230. },
  231. {
  232. "path": "transport-plan/detail",
  233. "style": { "navigationStyle": "custom", "navigationBarTitleText": "现场回传" }
  234. },
  235. {
  236. "path": "driver-plan/list",
  237. "style": { "navigationStyle": "custom", "navigationBarTitleText": "司机运输计划单" }
  238. },
  239. {
  240. "path": "driver-plan/detail",
  241. "style": { "navigationStyle": "custom", "navigationBarTitleText": "司机回执" }
  242. }
  243. ]
  244. }
  245. ],
  246. "preloadRule": {
  247. "pages/workbench/workbench": {
  248. "network": "all",
  249. "packages": ["db", "bx", "pl"]
  250. }
  251. },
  252. "globalStyle": {
  253. "pageOrientation": "portrait",
  254. "navigationBarTitleText": "山峡化工",
  255. "navigationBarTextStyle": "black",
  256. "navigationBarBackgroundColor": "#f3f7f5",
  257. "backgroundColor": "#f5f8f7",
  258. "backgroundColorTop": "#f5f8f7",
  259. "backgroundColorBottom": "#f5f8f7",
  260. "mp-360": {
  261. "navigationStyle": "custom"
  262. },
  263. "h5": {
  264. "maxWidth": 1190,
  265. "navigationBarTextStyle": "black",
  266. "navigationBarBackgroundColor": "#f3f7f5"
  267. }
  268. },
  269. "easycom": {
  270. "autoscan": true
  271. }
  272. }