pages.json 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [{
  6. "path": "pages/login",
  7. "style": {
  8. "navigationBarTitleText": "登录",
  9. "navigationStyle": "custom"
  10. }
  11. }],
  12. "subPackages": [ //分包
  13. {
  14. "root": "pages/globalPages", //首页
  15. "pages": [{
  16. "path": "home",
  17. "style": {
  18. "navigationBarTitleText": "首页",
  19. "navigationStyle": "custom"
  20. }
  21. }, {
  22. "path": "statistics",
  23. "style": {
  24. "navigationBarTitleText": "销售统计",
  25. "navigationStyle": "custom"
  26. }
  27. }, {
  28. "path": "statisticsMore",
  29. "style": {
  30. "navigationBarTitleText": "销售统计",
  31. "navigationStyle": "custom"
  32. }
  33. }, {
  34. "path": "moreData",
  35. "style": {
  36. "navigationBarTitleText": "更多数据",
  37. "navigationStyle": "custom"
  38. }
  39. }, {
  40. "path": "logs",
  41. "style": {
  42. "navigationBarTitleText": "日志",
  43. "navigationStyle": "custom"
  44. }
  45. }, {
  46. "path": "errCode",
  47. "style": {
  48. "navigationBarTitleText": "常见错误码",
  49. "navigationStyle": "custom"
  50. }
  51. }, {
  52. "path": "notice",
  53. "style": {
  54. "navigationBarTitleText": "通知",
  55. "navigationStyle": "custom"
  56. }
  57. }, {
  58. "path": "agreement",
  59. "style": {
  60. "navigationBarTitleText": "协议",
  61. "navigationStyle": "custom"
  62. }
  63. }, {
  64. "path": "setting",
  65. "style": {
  66. "navigationBarTitleText": "设置",
  67. "navigationStyle": "custom"
  68. }
  69. }, {
  70. "path": "test",
  71. "style": {
  72. "navigationBarTitleText": "测试",
  73. "navigationStyle": "custom"
  74. }
  75. }]
  76. },
  77. {
  78. "root": "pages/equipment", //设备
  79. "pages": [{
  80. "path": "search",
  81. "style": {
  82. "navigationBarTitleText": "设备搜索",
  83. "navigationStyle": "custom"
  84. }
  85. }, {
  86. "path": "detail",
  87. "style": {
  88. "navigationBarTitleText": "设备详情",
  89. "navigationStyle": "custom"
  90. }
  91. }, {
  92. "path": "comManage",
  93. "style": {
  94. "navigationBarTitleText": "商品管理",
  95. "navigationStyle": "custom"
  96. }
  97. }, {
  98. "path": "addCom",
  99. "style": {
  100. "navigationBarTitleText": "添加商品",
  101. "navigationStyle": "custom"
  102. }
  103. }, {
  104. "path": "addComList",
  105. "style": {
  106. "navigationBarTitleText": "添加商品",
  107. "navigationStyle": "custom"
  108. }
  109. }, {
  110. "path": "statistics",
  111. "style": {
  112. "navigationBarTitleText": "设备销售统计",
  113. "navigationStyle": "custom"
  114. }
  115. }, {
  116. "path": "statisticsMore",
  117. "style": {
  118. "navigationBarTitleText": "商品销售统计",
  119. "navigationStyle": "custom"
  120. }
  121. }]
  122. },
  123. {
  124. "root": "pages/commodity", //商品
  125. "pages": [{
  126. "path": "comEdit",
  127. "style": {
  128. "navigationBarTitleText": "商品编辑",
  129. "navigationStyle": "custom"
  130. }
  131. },
  132. {
  133. "path": "search",
  134. "style": {
  135. "navigationBarTitleText": "商品搜索",
  136. "navigationStyle": "custom"
  137. }
  138. },
  139. {
  140. "path": "publicCom",
  141. "style": {
  142. "navigationBarTitleText": "商品公库",
  143. "navigationStyle": "custom"
  144. }
  145. },
  146. {
  147. "path": "addCom",
  148. "style": {
  149. "navigationBarTitleText": "新品建模",
  150. "navigationStyle": "custom"
  151. }
  152. },
  153. {
  154. "path": "auditList",
  155. "style": {
  156. "navigationBarTitleText": "审核列表",
  157. "navigationStyle": "custom"
  158. }
  159. },
  160. {
  161. "path": "publicSearch",
  162. "style": {
  163. "navigationBarTitleText": "公库搜索",
  164. "navigationStyle": "custom"
  165. }
  166. },
  167. {
  168. "path": "commoditylist",
  169. "style": {
  170. "navigationBarTitleText": "商品清单",
  171. "navigationStyle": "custom"
  172. }
  173. },
  174. {
  175. "path": "comListEdit",
  176. "style": {
  177. "navigationBarTitleText": "关联商品",
  178. "navigationStyle": "custom"
  179. }
  180. },
  181. {
  182. "path": "application",
  183. "style": {
  184. "navigationBarTitleText": "应用",
  185. "navigationStyle": "custom"
  186. }
  187. },
  188. {
  189. "path": "allGoodsSearch",
  190. "style": {
  191. "navigationBarTitleText": "所有商品列表",
  192. "navigationStyle": "custom"
  193. }
  194. }
  195. ]
  196. },
  197. {
  198. "root": "pages/order", //订单
  199. "pages": [{
  200. "path": "userInfo",
  201. "style": {
  202. "navigationBarTitleText": "用户信息",
  203. "navigationStyle": "custom"
  204. }
  205. },
  206. {
  207. "path": "orderQuery",
  208. "style": {
  209. "navigationBarTitleText": "订单查询",
  210. "navigationStyle": "custom"
  211. }
  212. },
  213. {
  214. "path": "refundList",
  215. "style": {
  216. "navigationBarTitleText": "退款列表",
  217. "navigationStyle": "custom"
  218. }
  219. },
  220. {
  221. "path": "orderDetails",
  222. "style": {
  223. "navigationBarTitleText": "订单详情",
  224. "navigationStyle": "custom"
  225. }
  226. },
  227. {
  228. "path": "riskOrder",
  229. "style": {
  230. "navigationBarTitleText": "风险订单",
  231. "navigationStyle": "custom"
  232. }
  233. }, {
  234. "path": "riskOrderDel",
  235. "style": {
  236. "navigationBarTitleText": "风险订单补扣",
  237. "navigationStyle": "custom"
  238. }
  239. },
  240. {
  241. "path": "orderLogs",
  242. "style": {
  243. "navigationBarTitleText": "交易日志",
  244. "navigationStyle": "custom"
  245. }
  246. },
  247. {
  248. "path": "orderDel",
  249. "style": {
  250. "navigationBarTitleText": "订单补扣",
  251. "navigationStyle": "custom"
  252. }
  253. }
  254. ]
  255. },
  256. {
  257. "root": "pages/replenish", //补货
  258. "pages": [
  259. {
  260. "path": "replenishmentManagement",
  261. "style": {
  262. "navigationBarTitleText": "补货管理首页",
  263. "navigationStyle": "custom",
  264. "enablePullDownRefresh": true
  265. }
  266. },
  267. {
  268. "path": "replenishmentHomePage",
  269. "style": {
  270. "navigationBarTitleText": "补货首页",
  271. "navigationStyle": "custom"
  272. }
  273. },
  274. {
  275. "path": "replenishmentRecordDetails",
  276. "style": {
  277. "navigationBarTitleText": "补货记录详情",
  278. "navigationStyle": "custom"
  279. }
  280. },
  281. {
  282. "path": "replenishmentRecord",
  283. "style": {
  284. "navigationBarTitleText": "补货记录",
  285. "navigationStyle": "custom"
  286. }
  287. },
  288. {
  289. "path": "invSearch",
  290. "style": {
  291. "navigationBarTitleText": "库存管理",
  292. "navigationStyle": "custom"
  293. }
  294. },
  295. {
  296. "path": "invSearchDetail",
  297. "style": {
  298. "navigationBarTitleText": "库存管理详情",
  299. "navigationStyle": "custom"
  300. }
  301. }
  302. ]
  303. },
  304. {
  305. "root": "pages/point", //区域点位线路
  306. "pages": [{
  307. "path": "point",
  308. "style": {
  309. "navigationBarTitleText": "",
  310. "navigationStyle": "custom"
  311. }
  312. }, {
  313. "path": "lineDetail",
  314. "style": {
  315. "navigationBarTitleText": "",
  316. "navigationStyle": "custom"
  317. }
  318. }]
  319. },
  320. {
  321. "root": "pages/system", //人员系统配置
  322. "pages": [{
  323. "path": "employee",
  324. "style": {
  325. "navigationBarTitleText": "",
  326. "navigationStyle": "custom"
  327. }
  328. }, {
  329. "path": "addEmployee",
  330. "style": {
  331. "navigationBarTitleText": "",
  332. "navigationStyle": "custom"
  333. }
  334. }, {
  335. "path": "empDetail",
  336. "style": {
  337. "navigationBarTitleText": "",
  338. "navigationStyle": "custom"
  339. }
  340. }, {
  341. "path": "deviceManage",
  342. "style": {
  343. "navigationBarTitleText": "",
  344. "navigationStyle": "custom"
  345. }
  346. }]
  347. },
  348. {
  349. "root": "pages/activeDevice", //设备激活
  350. "pages": [{
  351. "path": "bindDevice",
  352. "style": {
  353. "navigationBarTitleText": "设备激活",
  354. "navigationStyle": "custom"
  355. }
  356. }, {
  357. "path": "deviceManage",
  358. "style": {
  359. "navigationBarTitleText": "设备管理",
  360. "navigationStyle": "custom"
  361. }
  362. }, {
  363. "path": "bindAliAcc",
  364. "style": {
  365. "navigationBarTitleText": "绑定支付宝",
  366. "navigationStyle": "custom"
  367. }
  368. }, {
  369. "path": "bindAliDev",
  370. "style": {
  371. "navigationBarTitleText": "设备激活",
  372. "navigationStyle": "custom"
  373. }
  374. }]
  375. }
  376. ],
  377. "preloadRule": {
  378. "pages/equipment/comManage": {
  379. "network": "wifi",
  380. "packages": ["pages/commodity"]
  381. }
  382. },
  383. "condition": { //模式配置,仅开发期间生效
  384. "current": 0, //当前激活的模式(list 的索引项)
  385. "list": [{
  386. "name": "", //模式名称
  387. "path": "", //启动页面,必选
  388. "query": "" //启动参数,在页面的onLoad函数里面得到
  389. }]
  390. }
  391. }