pages.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue",
  4. "^shopro-(.*)": "@/components/shopro-$1/shopro-$1.vue"
  5. },
  6. "pages": [{
  7. "path": "pages/index/index",
  8. "aliasPath": "/", //对于h5端你必须在首页加上aliasPath并设置为/
  9. "style": {
  10. "navigationBarTitleText": "首页",
  11. "navigationBarTextStyle": "white",
  12. "enablePullDownRefresh": true,
  13. "navigationStyle": "custom",
  14. "mp-alipay": {
  15. "transparentTitle": "always",
  16. "titlePenetrate": "YES",
  17. "allowsBounceVertical": "NO"
  18. }
  19. },
  20. "meta": {
  21. "auth": false, //需要登录
  22. "async": true, //是否同步
  23. "title": "首页", //标题
  24. "group": "商城" //分组
  25. }
  26. },
  27. {
  28. "path": "pages/index/category",
  29. "style": {
  30. "navigationBarTitleText": "分类"
  31. },
  32. "meta": {
  33. "auth": false,
  34. "async": true,
  35. "title": "分类",
  36. "group": "商城"
  37. }
  38. },
  39. {
  40. "path": "pages/index/cart",
  41. "style": {
  42. "navigationBarTitleText": "购物车"
  43. },
  44. "meta": {
  45. "auth": false,
  46. "async": true,
  47. "title": "购物车",
  48. "group": "商城"
  49. }
  50. },
  51. {
  52. "path": "pages/index/user",
  53. "style": {
  54. "navigationBarTitleText": "我的",
  55. "navigationStyle": "custom",
  56. "navigationBarTextStyle": "white",
  57. "enablePullDownRefresh": true
  58. },
  59. "meta": {
  60. "auth": false,
  61. "async": true,
  62. "title": "我的",
  63. "group": "商城"
  64. }
  65. },
  66. {
  67. "path": "pages/index/view",
  68. "name": "view",
  69. "style": {
  70. "navigationBarTitleText": "",
  71. "enablePullDownRefresh": true
  72. },
  73. "meta": {
  74. "auth": false,
  75. "async": true,
  76. "title": "自定义页面",
  77. "group": "商城"
  78. }
  79. }
  80. ],
  81. "subPackages": [{
  82. "root": "pages/activity",
  83. "pages": [{
  84. "path": "sign/index",
  85. "style": {
  86. "navigationBarTitleText": "签到中心"
  87. },
  88. "meta": {
  89. "auth": true,
  90. "async": true,
  91. "title": "签到中心",
  92. "group": "应用"
  93. }
  94. },
  95. {
  96. "path": "seckill/list",
  97. "style": {
  98. "navigationBarTitleText": "限时秒杀",
  99. "enablePullDownRefresh": true
  100. },
  101. "meta": {
  102. "auth": false,
  103. "async": true,
  104. "title": "限时秒杀",
  105. "group": "秒杀"
  106. }
  107. },
  108. {
  109. "path": "groupon/list",
  110. "style": {
  111. "navigationBarTitleText": "今日必拼",
  112. "enablePullDownRefresh": true
  113. },
  114. "meta": {
  115. "auth": false,
  116. "async": true,
  117. "title": "今日必拼",
  118. "group": "拼团"
  119. }
  120. },
  121. {
  122. "path": "groupon/detail",
  123. "style": {
  124. "navigationBarTitleText": "拼团详情",
  125. "enablePullDownRefresh": true
  126. },
  127. "meta": {
  128. "auth": false,
  129. "async": false,
  130. "title": "拼团详情",
  131. "group": "拼团"
  132. }
  133. },
  134. {
  135. "path": "groupon/my-groupon",
  136. "style": {
  137. "navigationBarTitleText": "我的拼团",
  138. "enablePullDownRefresh": true
  139. },
  140. "meta": {
  141. "auth": true,
  142. "async": true,
  143. "title": "我的拼团",
  144. "group": "拼团"
  145. }
  146. },
  147. {
  148. "path": "discounts/list",
  149. "style": {
  150. "navigationBarTitleText": "优惠活动商品"
  151. },
  152. "meta": {
  153. "auth": false,
  154. "async": false,
  155. "title": "优惠活动商品",
  156. "group": "活动"
  157. }
  158. }
  159. ]
  160. },
  161. {
  162. "root": "pages/app",
  163. "pages": [
  164. {
  165. "path": "score/list",
  166. "style": {
  167. "navigationBarTitleText": "积分商品"
  168. },
  169. "meta": {
  170. "auth": false,
  171. "async": true,
  172. "title": "积分商品",
  173. "group": "积分"
  174. }
  175. },
  176. {
  177. "path": "coupon/list",
  178. "style": {
  179. "navigationBarTitleText": "优惠券中心",
  180. "navigationStyle": "custom"
  181. },
  182. "meta": {
  183. "auth": true,
  184. "async": true,
  185. "title": "优惠券中心",
  186. "group": "优惠券"
  187. }
  188. }, {
  189. "path": "coupon/detail",
  190. "style": {
  191. "navigationBarTitleText": "优惠券详情",
  192. "navigationStyle": "custom"
  193. },
  194. "meta": {
  195. "auth": true,
  196. "async": true,
  197. "title": "优惠券详情",
  198. "group": "优惠券"
  199. }
  200. },
  201. {
  202. "path": "merchant/index",
  203. "style": {
  204. "navigationBarTitleText": "门店中心",
  205. "navigationStyle": "custom",
  206. "enablePullDownRefresh": true,
  207. "navigationBarTextStyle": "white"
  208. },
  209. "meta": {
  210. "auth": true,
  211. "async": false,
  212. "title": "门店中心",
  213. "group": "门店"
  214. }
  215. },
  216. {
  217. "path": "merchant/apply",
  218. "style": {
  219. "navigationBarTitleText": "门店入驻",
  220. "navigationStyle": "custom"
  221. },
  222. "meta": {
  223. "auth": true,
  224. "async": true,
  225. "title": "门店入驻",
  226. "group": "门店"
  227. }
  228. },
  229. {
  230. "path": "merchant/detail",
  231. "style": {
  232. "navigationBarTitleText": "订单详情"
  233. },
  234. "meta": {
  235. "auth": true,
  236. "async": false,
  237. "title": "订单详情",
  238. "group": "订单"
  239. }
  240. },
  241. {
  242. "path": "merchant/info",
  243. "style": {
  244. "navigationBarTitleText": "门店详情"
  245. },
  246. "meta": {
  247. "auth": true,
  248. "async": false,
  249. "title": "门店详情",
  250. "group": "门店"
  251. }
  252. },
  253. {
  254. "path": "merchant/list",
  255. "style": {
  256. "navigationBarTitleText": "我的门店"
  257. },
  258. "meta": {
  259. "auth": true,
  260. "async": true,
  261. "title": "我的门店",
  262. "group": "门店"
  263. }
  264. },
  265. {
  266. "path": "commission/index",
  267. "style": {
  268. "navigationBarTitleText": "分销中心",
  269. "enablePullDownRefresh": true,
  270. "navigationStyle": "custom",
  271. "navigationBarTextStyle": "white"
  272. },
  273. "meta": {
  274. "auth": true,
  275. "async": true,
  276. "title": "分销中心",
  277. "group": "分销"
  278. }
  279. },
  280. {
  281. "path": "commission/team",
  282. "style": {
  283. "navigationBarTitleText": "我的团队",
  284. "navigationStyle": "custom",
  285. "navigationBarTextStyle": "white"
  286. },
  287. "meta": {
  288. "auth": true,
  289. "async": true,
  290. "title": "我的团队",
  291. "group": "分销"
  292. }
  293. },
  294. {
  295. "path": "commission/commission-log",
  296. "style": {
  297. "navigationBarTitleText": "佣金明细",
  298. "enablePullDownRefresh": true
  299. },
  300. "meta": {
  301. "auth": true,
  302. "async": true,
  303. "title": "佣金明细",
  304. "group": "分销"
  305. }
  306. },
  307. {
  308. "path": "commission/order",
  309. "style": {
  310. "navigationBarTitleText": "分销订单",
  311. "navigationStyle": "custom",
  312. "navigationBarTextStyle": "white",
  313. "enablePullDownRefresh": true
  314. },
  315. "meta": {
  316. "auth": true,
  317. "async": true,
  318. "title": "分销订单",
  319. "group": "分销"
  320. }
  321. },
  322. {
  323. "path": "commission/goods",
  324. "style": {
  325. "navigationBarTitleText": "推广商品"
  326. },
  327. "meta": {
  328. "auth": true,
  329. "async": true,
  330. "title": "推广商品",
  331. "group": "分销"
  332. }
  333. },
  334. {
  335. "path": "commission/apply",
  336. "style": {
  337. "navigationBarTitleText": "申请分销商",
  338. "navigationStyle": "custom",
  339. "navigationBarTextStyle": "white"
  340. },
  341. "meta": {
  342. "auth": true,
  343. "async": true,
  344. "title": "申请分销商",
  345. "group": "分销"
  346. }
  347. },
  348. {
  349. "path": "commission/rankings",
  350. "style": {
  351. "navigationBarTitleText": "分销排行",
  352. "navigationStyle": "custom",
  353. "navigationBarTextStyle": "white"
  354. },
  355. "meta": {
  356. "auth": true,
  357. "async": true,
  358. "title": "分销排行",
  359. "group": "分销"
  360. }
  361. },
  362. {
  363. "path": "commission/share-log",
  364. "style": {
  365. "navigationBarTitleText": "分享记录",
  366. "navigationStyle": "custom",
  367. "navigationBarTextStyle": "white",
  368. "enablePullDownRefresh": true
  369. },
  370. "meta": {
  371. "auth": true,
  372. "async": false,
  373. "title": "分享记录",
  374. "group": "分销"
  375. }
  376. }
  377. ]
  378. },
  379. {
  380. "root": "pages/goods",
  381. "pages": [{
  382. "path": "list",
  383. "style": {
  384. "navigationBarTitleText": "商品列表",
  385. "navigationStyle": "custom"
  386. },
  387. "meta": {
  388. "auth": false,
  389. "async": true,
  390. "title": "商品列表",
  391. "group": "商品"
  392. }
  393. },
  394. {
  395. "path": "detail",
  396. "style": {
  397. "navigationBarTitleText": "商品详情",
  398. "navigationStyle": "custom"
  399. },
  400. "meta": {
  401. "auth": false,
  402. "async": true,
  403. "title": "商品详情",
  404. "group": "商品"
  405. }
  406. },
  407. {
  408. "path": "comment/add-comment",
  409. "style": {
  410. "navigationBarTitleText": "评价"
  411. },
  412. "meta": {
  413. "auth": false,
  414. "async": false,
  415. "title": "评价",
  416. "group": "商品"
  417. }
  418. },
  419. {
  420. "path": "comment/comment-list",
  421. "style": {
  422. "navigationBarTitleText": "评价列表"
  423. },
  424. "meta": {
  425. "auth": false,
  426. "async": false,
  427. "title": "评价列表",
  428. "group": "商品"
  429. }
  430. }
  431. ]
  432. },
  433. {
  434. "root": "pages/order",
  435. "pages": [{
  436. "path": "confirm",
  437. "style": {
  438. "navigationBarTitleText": "确认订单"
  439. },
  440. "meta": {
  441. "auth": true,
  442. "async": false,
  443. "title": "确认订单",
  444. "group": "订单"
  445. }
  446. },
  447. {
  448. "path": "payment/method",
  449. "style": {
  450. "navigationBarTitleText": "收银台"
  451. },
  452. "meta": {
  453. "auth": true,
  454. "async": false,
  455. "title": "收银台",
  456. "group": "订单"
  457. }
  458. },
  459. {
  460. "path": "payment/result",
  461. "style": {
  462. "navigationBarTitleText": "支付结果"
  463. },
  464. "meta": {
  465. "auth": false,
  466. "async": false,
  467. "title": "支付结果",
  468. "group": "订单"
  469. }
  470. },
  471. {
  472. "path": "list",
  473. "style": {
  474. "navigationBarTitleText": "订单列表"
  475. },
  476. "meta": {
  477. "auth": true,
  478. "async": true,
  479. "title": "订单列表",
  480. "group": "订单"
  481. }
  482. },
  483. {
  484. "path": "detail",
  485. "style": {
  486. "navigationBarTitleText": "订单详情"
  487. },
  488. "meta": {
  489. "auth": true,
  490. "async": false,
  491. "title": "订单详情",
  492. "group": "订单"
  493. }
  494. },
  495. {
  496. "path": "after-sale/detail",
  497. "style": {
  498. "navigationBarTitleText": "售后详情"
  499. },
  500. "meta": {
  501. "auth": true,
  502. "async": false,
  503. "title": "售后详情",
  504. "group": "订单"
  505. }
  506. },
  507. {
  508. "path": "after-sale/list",
  509. "style": {
  510. "navigationBarTitleText": "售后列表"
  511. },
  512. "meta": {
  513. "auth": true,
  514. "async": true,
  515. "title": "售后列表",
  516. "group": "订单"
  517. }
  518. },
  519. {
  520. "path": "after-sale/log",
  521. "style": {
  522. "navigationBarTitleText": "售后记录"
  523. },
  524. "meta": {
  525. "auth": true,
  526. "async": false,
  527. "title": "售后记录",
  528. "group": "订单"
  529. }
  530. },
  531. {
  532. "path": "after-sale/refund",
  533. "style": {
  534. "navigationBarTitleText": "申请售后"
  535. },
  536. "meta": {
  537. "auth": true,
  538. "async": false,
  539. "title": "申请售后",
  540. "group": "订单"
  541. }
  542. },
  543. {
  544. "path": "express/distribution-detail",
  545. "style": {
  546. "navigationBarTitleText": "配送详情"
  547. },
  548. "meta": {
  549. "auth": true,
  550. "async": false,
  551. "title": "配送详情",
  552. "group": "订单"
  553. }
  554. },
  555. {
  556. "path": "express/express-detail",
  557. "style": {
  558. "navigationBarTitleText": "物流详情"
  559. },
  560. "meta": {
  561. "auth": true,
  562. "async": false,
  563. "title": "物流详情",
  564. "group": "订单"
  565. }
  566. },
  567. {
  568. "path": "express/express-list",
  569. "style": {
  570. "navigationBarTitleText": "包裹列表"
  571. },
  572. "meta": {
  573. "auth": true,
  574. "async": false,
  575. "title": "包裹列表",
  576. "group": "订单"
  577. }
  578. },
  579. {
  580. "path": "express/store-address",
  581. "style": {
  582. "navigationBarTitleText": "选择自提点",
  583. "navigationStyle": "custom",
  584. "navigationBarTextStyle": "white"
  585. },
  586. "meta": {
  587. "auth": true,
  588. "async": false,
  589. "title": "选择自提点",
  590. "group": "订单"
  591. }
  592. }
  593. ]
  594. },
  595. {
  596. "root": "pages/public",
  597. "pages": [{
  598. "path": "faq",
  599. "style": {
  600. "navigationBarTitleText": "常见问题"
  601. },
  602. "meta": {
  603. "auth": false,
  604. "async": true,
  605. "title": "常见问题",
  606. "group": "通用"
  607. }
  608. },
  609. {
  610. "path": "feedback",
  611. "style": {
  612. "navigationBarTitleText": "问题反馈"
  613. },
  614. "meta": {
  615. "auth": true,
  616. "async": true,
  617. "title": "问题反馈",
  618. "group": "通用"
  619. }
  620. },
  621. {
  622. "path": "chat/index",
  623. "style": {
  624. "navigationBarTitleText": "客服",
  625. "navigationStyle": "custom",
  626. "navigationBarTextStyle": "white"
  627. },
  628. "meta": {
  629. "auth": true,
  630. "async": true,
  631. "title": "客服",
  632. "group": "通用"
  633. }
  634. },
  635. {
  636. "path": "search",
  637. "style": {
  638. "navigationBarTitleText": "搜索"
  639. },
  640. "meta": {
  641. "auth": false,
  642. "async": true,
  643. "title": "搜索",
  644. "group": "通用"
  645. }
  646. },
  647. {
  648. "path": "richtext",
  649. "style": {
  650. "navigationBarTitleText": ""
  651. },
  652. "meta": {
  653. "auth": false,
  654. "async": true,
  655. "title": "富文本",
  656. "group": "通用"
  657. }
  658. },
  659. {
  660. "path": "webview",
  661. "style": {
  662. "navigationBarTitleText": ""
  663. },
  664. "meta": {
  665. "auth": false,
  666. "async": true,
  667. "title": "外链",
  668. "group": "通用"
  669. }
  670. },
  671. {
  672. "path": "404",
  673. "name": "404",
  674. "style": {
  675. "navigationBarTitleText": "页面不存在"
  676. }
  677. },
  678. {
  679. "path": "loading",
  680. "style": {
  681. "navigationBarTitleText": "",
  682. "navigationStyle": "custom",
  683. "enablePullDownRefresh": false
  684. }
  685. }
  686. ]
  687. },
  688. {
  689. "root": "pages/user",
  690. "pages": [{
  691. "path": "info",
  692. "style": {
  693. "navigationBarTitleText": "个人信息"
  694. },
  695. "meta": {
  696. "auth": true,
  697. "async": true,
  698. "title": "个人信息",
  699. "group": "用户"
  700. }
  701. },
  702. {
  703. "path": "set",
  704. "style": {
  705. "navigationBarTitleText": "系统设置"
  706. },
  707. "meta": {
  708. "auth": false,
  709. "async": true,
  710. "title": "系统设置",
  711. "group": "通用"
  712. }
  713. },
  714. {
  715. "path": "view-log",
  716. "style": {
  717. "navigationBarTitleText": "浏览足迹"
  718. },
  719. "meta": {
  720. "auth": true,
  721. "async": true,
  722. "title": "浏览足迹",
  723. "group": "用户"
  724. }
  725. },
  726. {
  727. "path": "wallet/index",
  728. "style": {
  729. "navigationBarTitleText": "我的钱包"
  730. },
  731. "meta": {
  732. "auth": true,
  733. "async": true,
  734. "title": "钱包",
  735. "group": "用户"
  736. }
  737. },
  738. {
  739. "path": "wallet/withdraw",
  740. "style": {
  741. "navigationBarTitleText": "",
  742. "navigationStyle": "custom"
  743. },
  744. "meta": {
  745. "auth": true,
  746. "async": true,
  747. "title": "提现",
  748. "group": "用户"
  749. }
  750. },
  751. {
  752. "path": "wallet/withdraw-log",
  753. "style": {
  754. "navigationBarTitleText": "提现记录"
  755. },
  756. "meta": {
  757. "auth": true,
  758. "async": true,
  759. "title": "提现记录",
  760. "group": "用户"
  761. }
  762. },
  763. {
  764. "path": "wallet/top-up",
  765. "style": {
  766. "navigationBarTitleText": "充值",
  767. "navigationStyle": "custom"
  768. },
  769. "meta": {
  770. "auth": true,
  771. "async": true,
  772. "title": "充值",
  773. "group": "用户"
  774. }
  775. },
  776. {
  777. "path": "wallet/top-up-log",
  778. "style": {
  779. "navigationBarTitleText": "充值记录"
  780. },
  781. "meta": {
  782. "auth": true,
  783. "async": true,
  784. "title": "充值记录",
  785. "group": "用户"
  786. }
  787. },
  788. {
  789. "path": "wallet/score-balance",
  790. "style": {
  791. "navigationBarTitleText": "积分余额",
  792. "navigationStyle": "custom"
  793. },
  794. "meta": {
  795. "auth": true,
  796. "async": true,
  797. "title": "积分余额",
  798. "group": "积分"
  799. }
  800. },
  801. {
  802. "path": "address/list",
  803. "style": {
  804. "navigationBarTitleText": "收货地址"
  805. },
  806. "meta": {
  807. "auth": true,
  808. "async": true,
  809. "title": "收货地址",
  810. "group": "用户"
  811. }
  812. },
  813. {
  814. "path": "address/edit",
  815. "style": {
  816. "navigationBarTitleText": ""
  817. },
  818. "meta": {
  819. "auth": true,
  820. "async": false,
  821. "title": "修改地址",
  822. "group": "用户"
  823. }
  824. },
  825. {
  826. "path": "favorite",
  827. "style": {
  828. "navigationBarTitleText": "我的收藏"
  829. },
  830. "meta": {
  831. "auth": true,
  832. "async": true,
  833. "title": "我的收藏",
  834. "group": "用户"
  835. }
  836. }
  837. ]
  838. }
  839. ],
  840. "preloadRule": {
  841. "pages/index/index": {
  842. "network": "all",
  843. "packages": ["pages/activity", "pages/user", "pages/goods", "pages/app", "pages/public",
  844. "pages/order"
  845. ]
  846. }
  847. },
  848. "globalStyle": {
  849. "navigationBarTextStyle": "black",
  850. "navigationBarTitleText": "shopro-plus",
  851. "navigationBarBackgroundColor": "#FFFFFF",
  852. "backgroundColor": "#FFFFFF"
  853. },
  854. "tabBar": {
  855. "color": "#333",
  856. "selectedColor": "#a8700d",
  857. "backgroundColor": "#ffffff",
  858. "borderStyle": "black",
  859. "list": [{
  860. "pagePath": "pages/index/index",
  861. "text": "首页",
  862. "iconPath": "static/images/tabbar/tabbar_home.png",
  863. "selectedIconPath": "/static/images/tabbar/tabbar_home1.png"
  864. },
  865. {
  866. "pagePath": "pages/index/category",
  867. "text": "分类",
  868. "iconPath": "static/images/tabbar/tabbar_category.png",
  869. "selectedIconPath": "/static/images/tabbar/tabbar_category1.png"
  870. },
  871. {
  872. "pagePath": "pages/index/cart",
  873. "text": "购物车",
  874. "iconPath": "static/images/tabbar/tabbar_cart.png",
  875. "selectedIconPath": "/static/images/tabbar/tabbar_cart1.png"
  876. },
  877. {
  878. "pagePath": "pages/index/user",
  879. "text": "我的",
  880. "iconPath": "static/images/tabbar/tabbar_personal.png",
  881. "selectedIconPath": "/static/images/tabbar/tabbar_personal1.png"
  882. }
  883. ]
  884. }
  885. }