pages.json 11 KB

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