pages.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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/workbench/workbench",
  27. "style": {
  28. "navigationStyle": "custom"
  29. }
  30. },
  31. {
  32. "path": "pages/home/home",
  33. "style": {
  34. "navigationStyle": "custom"
  35. }
  36. },
  37. {
  38. "path": "pages/todo/todo",
  39. "style": {
  40. "navigationStyle": "custom"
  41. }
  42. },
  43. {
  44. "path": "pages/mine/mine",
  45. "style": {
  46. "navigationStyle": "custom"
  47. }
  48. },
  49. {
  50. "path": "pages/common/biz-placeholder",
  51. "style": {
  52. "navigationStyle": "custom"
  53. }
  54. },
  55. {
  56. "path": "pages/common/mp-webview",
  57. "style": {
  58. // 竖屏 web-view 无法去掉原生顶栏:标题置空 + 背景对齐 H5 绿头,视觉合成一条
  59. "navigationStyle": "default",
  60. "navigationBarTitleText": " ",
  61. "navigationBarBackgroundColor": "#087f57",
  62. "navigationBarTextStyle": "white"
  63. }
  64. }
  65. // #ifdef H5
  66. ,
  67. {
  68. "path": "pages/error/404",
  69. "style": {
  70. "navigationBarTitleText": "Not Found"
  71. }
  72. }
  73. // #endif
  74. // #ifdef APP-PLUS
  75. ,
  76. {
  77. "path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
  78. "style": {
  79. "app-plus": {
  80. "animationDuration": 200,
  81. "animationType": "fade-in",
  82. "background": "transparent",
  83. "backgroundColorTop": "transparent",
  84. "popGesture": "none",
  85. "scrollIndicator": false,
  86. "titleNView": false
  87. },
  88. "disableScroll": true
  89. }
  90. }
  91. // #endif
  92. ],
  93. "subPackages": [
  94. {
  95. "root": "pages/db",
  96. "name": "db",
  97. "pages": [
  98. {
  99. "path": "dashboard/index",
  100. "style": { "navigationStyle": "custom" }
  101. },
  102. {
  103. "path": "plans/list",
  104. "style": { "navigationStyle": "custom" }
  105. },
  106. {
  107. "path": "plans/detail",
  108. "style": { "navigationStyle": "custom" }
  109. },
  110. {
  111. "path": "inventory/list",
  112. "style": { "navigationStyle": "custom" }
  113. },
  114. {
  115. "path": "inventory/detail",
  116. "style": { "navigationStyle": "custom" }
  117. },
  118. {
  119. "path": "weighing/list",
  120. "style": { "navigationStyle": "custom" }
  121. },
  122. {
  123. "path": "weighing/detail",
  124. "style": { "navigationStyle": "custom" }
  125. }
  126. ]
  127. },
  128. {
  129. "root": "pages/bx",
  130. "name": "bx",
  131. "pages": [
  132. {
  133. "path": "advance/list",
  134. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
  135. },
  136. {
  137. "path": "advance/apply",
  138. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
  139. },
  140. {
  141. "path": "advance/detail",
  142. "style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金详情" }
  143. },
  144. {
  145. "path": "reimburse/list",
  146. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
  147. },
  148. {
  149. "path": "reimburse/apply",
  150. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
  151. },
  152. {
  153. "path": "reimburse/detail",
  154. "style": { "navigationStyle": "custom", "navigationBarTitleText": "报销详情" }
  155. },
  156. {
  157. "path": "mine/list",
  158. "style": { "navigationStyle": "custom", "navigationBarTitleText": "我的申请单" }
  159. },
  160. {
  161. "path": "all/list",
  162. "style": { "navigationStyle": "custom", "navigationBarTitleText": "全部申请单" }
  163. },
  164. {
  165. "path": "invoice/mine",
  166. "style": { "navigationStyle": "custom", "navigationBarTitleText": "我的发票夹" }
  167. },
  168. {
  169. "path": "invoice/admin",
  170. "style": { "navigationStyle": "custom", "navigationBarTitleText": "发票夹管理" }
  171. },
  172. {
  173. "path": "admin/expense-item",
  174. "style": { "navigationStyle": "custom", "navigationBarTitleText": "费用项目" }
  175. },
  176. {
  177. "path": "admin/wf-advance",
  178. "style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(备用金)" }
  179. },
  180. {
  181. "path": "admin/wf-reimburse",
  182. "style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(报销)" }
  183. }
  184. ]
  185. },
  186. {
  187. "root": "pages/pl",
  188. "name": "pl",
  189. "pages": [
  190. {
  191. "path": "fuel-register/list",
  192. "style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
  193. },
  194. {
  195. "path": "fuel-register/form",
  196. "style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
  197. },
  198. {
  199. "path": "transport-plan/list",
  200. "style": { "navigationStyle": "custom", "navigationBarTitleText": "现场运输计划单" }
  201. },
  202. {
  203. "path": "transport-plan/detail",
  204. "style": { "navigationStyle": "custom", "navigationBarTitleText": "现场回传" }
  205. },
  206. {
  207. "path": "driver-plan/list",
  208. "style": { "navigationStyle": "custom", "navigationBarTitleText": "司机运输计划单" }
  209. },
  210. {
  211. "path": "driver-plan/detail",
  212. "style": { "navigationStyle": "custom", "navigationBarTitleText": "司机回执" }
  213. }
  214. ]
  215. }
  216. ],
  217. "preloadRule": {
  218. "pages/workbench/workbench": {
  219. "network": "all",
  220. "packages": ["db", "bx", "pl"]
  221. }
  222. },
  223. "globalStyle": {
  224. "pageOrientation": "portrait",
  225. "navigationBarTitleText": "山峡化工",
  226. "navigationBarTextStyle": "black",
  227. "navigationBarBackgroundColor": "#f3f7f5",
  228. "backgroundColor": "#f5f8f7",
  229. "backgroundColorTop": "#f5f8f7",
  230. "backgroundColorBottom": "#f5f8f7",
  231. "mp-360": {
  232. "navigationStyle": "custom"
  233. },
  234. "h5": {
  235. "maxWidth": 1190,
  236. "navigationBarTextStyle": "black",
  237. "navigationBarBackgroundColor": "#f3f7f5"
  238. }
  239. },
  240. "easycom": {
  241. "autoscan": true
  242. }
  243. }