pages.json 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/tabBar/home/index",
  5. "style": {
  6. "navigationBarTitleText": "联合丽格集采商城",
  7. "enablePullDownRefresh": true,
  8. "backgroundTextStyle": "light"
  9. }
  10. }, {
  11. "path": "pages/tabBar/notice/index",
  12. "style": {
  13. "navigationBarTitleText": "消息通知",
  14. "navigationStyle": "custom"
  15. }
  16. }, {
  17. "path": "pages/tabBar/category/index",
  18. "style": {
  19. "navigationBarTitleText": "分类",
  20. "navigationStyle": "custom"
  21. }
  22. }, {
  23. "path": "pages/tabBar/cart/index",
  24. "style": {
  25. "navigationBarTitleText": "购物车",
  26. "enablePullDownRefresh": true
  27. }
  28. }, {
  29. "path": "pages/tabBar/user/user",
  30. "style": {
  31. "navigationBarTitleText": "我的",
  32. "enablePullDownRefresh": true,
  33. "navigationStyle": "custom"
  34. }
  35. }
  36. ],
  37. "subPackages": [{
  38. "root": "pages/goods/", //商品模块
  39. "pages": [{
  40. "path": "good-floor",
  41. "style": {
  42. "navigationBarTitleText": "商品列表",
  43. "enablePullDownRefresh": true
  44. }
  45. },
  46. {
  47. "path": "product",
  48. "style": {
  49. "navigationBarTitleText": "商品详情",
  50. "navigationStyle": "custom"
  51. }
  52. },
  53. {
  54. "path": "cart",
  55. "style": {
  56. "navigationBarTitleText": "购物车",
  57. "enablePullDownRefresh": true,
  58. "navigationStyle": "custom"
  59. }
  60. },
  61. {
  62. "path": "procurement",
  63. "style": {
  64. "navigationBarTitleText": "采集需求",
  65. "enablePullDownRefresh": true
  66. }
  67. }, {
  68. "path": "procurement_info",
  69. "style": {
  70. "navigationBarTitleText": "需求详情",
  71. "enablePullDownRefresh": false
  72. }
  73. }, {
  74. "path": "procurementAdd",
  75. "style": {
  76. "navigationBarTitleText": "发布需求",
  77. "enablePullDownRefresh": false
  78. }
  79. }, {
  80. "path": "procurement_more",
  81. "style": {
  82. "navigationBarTitleText": "商品列表",
  83. "enablePullDownRefresh": true
  84. }
  85. }, {
  86. "path": "commonStoreIndex/index",
  87. "style": {
  88. "navigationBarTitleText": "专题活动",
  89. "enablePullDownRefresh": true
  90. }
  91. }
  92. ]
  93. },
  94. {
  95. "root": "pages/login/", //注册登录模块
  96. "pages": [{
  97. "path": "register",
  98. "style": {
  99. "navigationBarTitleText": "机构注册",
  100. "navigationStyle": "custom"
  101. }
  102. },
  103. {
  104. "path": "apply",
  105. "style": {
  106. "navigationBarTitleText": "升级资质机构",
  107. "navigationStyle": "custom"
  108. }
  109. },
  110. {
  111. "path": "login",
  112. "style": {
  113. "navigationBarTitleText": "登录"
  114. }
  115. },
  116. {
  117. "path": "bindwechat",
  118. "style": {
  119. "navigationBarTitleText": "绑定微信"
  120. }
  121. },
  122. {
  123. "path": "bindOperator",
  124. "style": {
  125. "navigationBarTitleText": "绑定运营人员"
  126. }
  127. },
  128. {
  129. "path": "information",
  130. "style": {
  131. "navigationBarTitleText": "修改资料",
  132. "navigationStyle": "custom"
  133. }
  134. },
  135. {
  136. "path": "password",
  137. "style": {
  138. "navigationBarTitleText": "修改密码"
  139. }
  140. }
  141. ]
  142. },
  143. {
  144. "root": "pages/user/", //机构个人中心模块
  145. "pages": [{
  146. "path": "address/addressManage",
  147. "style": {
  148. "navigationBarTitleText": "添加新地址"
  149. }
  150. },
  151. {
  152. "path": "address/address",
  153. "style": {
  154. "navigationBarTitleText": "地址列表"
  155. }
  156. },
  157. {
  158. "path": "order/create-order",
  159. "style": {
  160. "navigationBarTitleText": "确认订单"
  161. }
  162. },
  163. {
  164. "path": "order/success",
  165. "style": {
  166. "navigationBarTitleText": "支付结果",
  167. "navigationStyle": "custom"
  168. }
  169. },
  170. {
  171. "path": "order/order-pay-list",
  172. "style": {
  173. "navigationBarTitleText": "支付订单"
  174. }
  175. },
  176. {
  177. "path": "order/orderShareLogin",
  178. "style": {
  179. "navigationBarTitleText": "输入分享码"
  180. }
  181. },
  182. {
  183. "path": "order/order-sharelogin",
  184. "style": {
  185. "navigationBarTitleText": "查看订单"
  186. }
  187. },
  188. {
  189. "path": "order/order-list",
  190. "style": {
  191. "navigationBarTitleText": "我的订单",
  192. "navigationStyle": "custom"
  193. }
  194. },
  195. {
  196. "path": "order/order-details",
  197. "style": {
  198. "navigationBarTitleText": "订单详情",
  199. "navigationStyle": "custom"
  200. }
  201. },
  202. {
  203. "path": "order/order-sharedetails",
  204. "style": {
  205. "navigationBarTitleText": "订单详情"
  206. }
  207. },
  208. {
  209. "path": "order/order-logistics",
  210. "style": {
  211. "navigationBarTitleText": "物流信息"
  212. }
  213. },
  214. {
  215. "path": "setting/setting",
  216. "style": {
  217. "navigationBarTitleText": "账户设置"
  218. }
  219. },
  220. {
  221. "path": "setting/phone",
  222. "style": {
  223. "navigationBarTitleText": "更换手机号"
  224. }
  225. },
  226. {
  227. "path": "collection/collection",
  228. "style": {
  229. "navigationBarTitleText": "收藏商品",
  230. "enablePullDownRefresh": true
  231. }
  232. },
  233. {
  234. "path": "pay/card-list",
  235. "style": {
  236. "navigationBarTitleText": "银行卡"
  237. }
  238. },
  239. {
  240. "path": "pay/card-sus-list",
  241. "style": {
  242. "navigationBarTitleText": "支持银行"
  243. }
  244. },
  245. {
  246. "path": "pay/card-add",
  247. "style": {
  248. "navigationBarTitleText": "添加银行卡"
  249. }
  250. },
  251. {
  252. "path": "pay/card-comfirm",
  253. "style": {
  254. "navigationBarTitleText": "确认信息"
  255. }
  256. },
  257. {
  258. "path": "pay/card-comfirm-sub",
  259. "style": {
  260. "navigationBarTitleText": "输入短信验证码"
  261. }
  262. },
  263. {
  264. "path": "pay/card-order",
  265. "style": {
  266. "navigationBarTitleText": "收银台",
  267. "navigationStyle": "custom"
  268. }
  269. },
  270. {
  271. "path": "pay/card-under",
  272. "style": {
  273. "navigationBarTitleText": "线下转账"
  274. }
  275. },
  276. {
  277. "path": "pay/success",
  278. "style": {
  279. "navigationBarTitleText": "支付结果",
  280. "navigationStyle": "custom"
  281. }
  282. },
  283. {
  284. "path": "pay/success-tips",
  285. "style": {
  286. "navigationBarTitleText": "支付结果",
  287. "navigationStyle": "custom"
  288. }
  289. }
  290. ]
  291. },
  292. {
  293. "root": "pages/notice/", //搜索分包模块
  294. "pages": [{
  295. "path": "club/notice-order",
  296. "style": {
  297. "navigationBarTitleText": "交易物流",
  298. "enablePullDownRefresh": true
  299. }
  300. },
  301. {
  302. "path": "club/notice-users",
  303. "style": {
  304. "navigationBarTitleText": "账户通知",
  305. "enablePullDownRefresh": true
  306. }
  307. },
  308. {
  309. "path": "club/notice-serve",
  310. "style": {
  311. "navigationBarTitleText": "服务通知",
  312. "enablePullDownRefresh": true
  313. }
  314. },
  315. {
  316. "path": "club/notice-coupon",
  317. "style": {
  318. "navigationBarTitleText": "优惠促销",
  319. "enablePullDownRefresh": true
  320. }
  321. }
  322. ]
  323. },
  324. {
  325. "root": "pages/h5/", //活动分包模块
  326. "pages": [{
  327. "path": "article/page",
  328. "style": {
  329. "navigationBarTitleText": "采美采购平台",
  330. "enablePullDownRefresh": true
  331. }
  332. },
  333. {
  334. "path": "article/path",
  335. "style": {
  336. "navigationBarTitleText": "采美采购平台",
  337. "enablePullDownRefresh": true
  338. }
  339. },
  340. {
  341. "path": "article/page-image",
  342. "style": {
  343. "navigationBarTitleText": "采美采购平台"
  344. }
  345. },
  346. {
  347. "path": "article/path-live",
  348. "style": {
  349. "navigationBarTitleText": "采美采购平台",
  350. "enablePullDownRefresh": true
  351. }
  352. },
  353. {
  354. "path": "other/repair",
  355. "style": {
  356. "navigationBarTitleText": "维修"
  357. }
  358. },
  359. {
  360. "path": "other/brand",
  361. "style": {
  362. "navigationBarTitleText": "品牌招商"
  363. }
  364. },
  365. {
  366. "path": "other/brands",
  367. "style": {
  368. "navigationBarTitleText": "品牌招商"
  369. }
  370. },
  371. {
  372. "path": "other/attestation",
  373. "style": {
  374. "navigationBarTitleText": "采美认证通"
  375. }
  376. }
  377. ]
  378. }, {
  379. "root": "pages/search/", //搜索分包模块
  380. "pages": [{
  381. "path": "search",
  382. "style": {
  383. "navigationBarTitleText": "搜索"
  384. }
  385. }, {
  386. "path": "search-order",
  387. "style": {
  388. "navigationBarTitleText": "订单搜索"
  389. }
  390. }, {
  391. "path": "search-library",
  392. "style": {
  393. "navigationBarTitleText": "搜索",
  394. "enablePullDownRefresh": false
  395. }
  396. }]
  397. }
  398. ],
  399. "tabBar": {
  400. "height": "80",
  401. "color": "#999999",
  402. "selectedColor": "#f3b574",
  403. "borderStyle": "black",
  404. "backgroundColor": "#ffffff",
  405. "list": [{
  406. "pagePath": "pages/tabBar/home/index",
  407. "iconPath": "static/icon-home@3x.png",
  408. "selectedIconPath": "static/icon-home-active@3x.png",
  409. "text": "商城"
  410. },
  411. {
  412. "pagePath": "pages/tabBar/cart/index",
  413. "iconPath": "static/icon-cart@3x.png",
  414. "selectedIconPath": "static/icon-cart-active@3x.png",
  415. "text": "购物车"
  416. },
  417. {
  418. "pagePath": "pages/tabBar/user/user",
  419. "iconPath": "static/icon-user@3x.png",
  420. "selectedIconPath": "static/icon-user-active@3x.png",
  421. "text": "我的"
  422. }
  423. ]
  424. },
  425. "easycom": {
  426. "autoscan": true,
  427. "custom": {
  428. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  429. }
  430. },
  431. "globalStyle": {
  432. "navigationBarTextStyle": "black",
  433. "navigationBarTitleText": "联合丽格集采商城",
  434. "navigationBarBackgroundColor": "#FFFFFF",
  435. "backgroundColor": "#FFFFFF"
  436. },
  437. "condition": { //模式配置,仅开发期间生效
  438. "current": 0, //当前激活的模式(list 的索引项)
  439. "list": [{
  440. "name": "", //模式名称
  441. "path": "", //启动页面,必选
  442. "query": "" //启动参数,在页面的onLoad函数里面得到
  443. }]
  444. }
  445. }