pages.json 9.5 KB

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