pages.json 17 KB

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