pages.json 6.8 KB

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