pages.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue",
  4. "global-loading": "@/components/diyLoading/index.vue"
  5. },
  6. "pages": [
  7. // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  8. {
  9. "path": "pages/tabbar/index/index",
  10. "style": {
  11. "navigationStyle": "custom"
  12. }
  13. },
  14. {
  15. "path": "pages/tabbar/category/index",
  16. "style": {
  17. "navigationBarTitleText": "分类"
  18. }
  19. },
  20. {
  21. "path": "pages/tabbar/cart/index",
  22. "style": {
  23. "navigationBarTitleText": "购物车"
  24. }
  25. },
  26. {
  27. "path": "pages/tabbar/user/index",
  28. "style": {
  29. "navigationBarTitleText": "我的",
  30. "backgroundColor": "#F8F8F8"
  31. }
  32. }
  33. ],
  34. "subpackages": [
  35. {
  36. "root": "pages_category_page1",
  37. "pages": [
  38. {
  39. "path": "discount/spikeList",
  40. "style": {
  41. "navigationBarTitleText": "秒杀专区",
  42. "navigationBarBackgroundColor": "#333333",
  43. "backgroundColor": "#333333",
  44. "navigationBarTextStyle": "white"
  45. }
  46. },
  47. {
  48. "path": "discount/groupBuy",
  49. "style": {
  50. "navigationBarTitleText": "拼团专区",
  51. "navigationBarBackgroundColor": "#333333",
  52. "backgroundColor": "#333333",
  53. "navigationBarTextStyle": "white"
  54. }
  55. },
  56. {
  57. "path": "discount/discount",
  58. "style": {
  59. "navigationBarTitleText": "限时折扣专区",
  60. "navigationBarBackgroundColor": "#333333",
  61. "backgroundColor": "#333333",
  62. "navigationBarTextStyle": "white"
  63. }
  64. },
  65. {
  66. "path": "discount/platformDiscount",
  67. "style": {
  68. "navigationBarTitleText": "限时折扣专区",
  69. "navigationBarBackgroundColor": "#333333",
  70. "backgroundColor": "#333333",
  71. "navigationBarTextStyle": "white"
  72. }
  73. },
  74. {
  75. "path": "memberCenter/activityList",
  76. "style": {
  77. "navigationBarTitleText": "会员专区",
  78. "navigationBarBackgroundColor": "#333333",
  79. "backgroundColor": "#333333",
  80. "navigationBarTextStyle": "white"
  81. }
  82. },
  83. {
  84. "path": "integral/index",
  85. "style": {
  86. "navigationBarTitleText": "我的积分",
  87. "navigationBarBackgroundColor": "#333333",
  88. "backgroundColor": "#333333",
  89. "navigationBarTextStyle": "white"
  90. }
  91. },
  92. {
  93. "path": "integral/exchangeDetail",
  94. "style": {
  95. "navigationBarTitleText": "积分兑换",
  96. "navigationBarBackgroundColor": "#333333",
  97. "backgroundColor": "#333333",
  98. "navigationBarTextStyle": "white"
  99. }
  100. },
  101. {
  102. "path": "integral/sign",
  103. "style": {
  104. "navigationBarTitleText": "签到领积分",
  105. "navigationBarBackgroundColor": "#333333",
  106. "backgroundColor": "#333333",
  107. "navigationBarTextStyle": "white"
  108. }
  109. },
  110. {
  111. "path": "coupon/list",
  112. "style": {
  113. "navigationBarTitleText": "优惠券"
  114. }
  115. },
  116. {
  117. "path": "coupon/product",
  118. "style": {
  119. "navigationBarTitleText": "可用商品"
  120. }
  121. },
  122. {
  123. "path": "goodsModule/combination",
  124. "style": {
  125. "navigationBarTitleText": "组合优惠",
  126. "navigationBarBackgroundColor": "#333333",
  127. "backgroundColor": "#333333",
  128. "navigationBarTextStyle": "white"
  129. }
  130. },
  131. {
  132. "path": "activity",
  133. "style": {
  134. "navigationBarTitleText": "热门推荐",
  135. "enablePullDownRefresh": true
  136. }
  137. },
  138. {
  139. "path": "search/index/index",
  140. "style": {
  141. "navigationBarTitleText": "搜索"
  142. }
  143. },
  144. {
  145. "path": "store/index",
  146. "style": {
  147. "navigationStyle": "custom",
  148. "navigationBarBackgroundColor": "#333333",
  149. "backgroundColor": "#333333",
  150. "navigationBarTextStyle": "white"
  151. }
  152. },
  153. {
  154. "path": "goodsModule/goodsList",
  155. "style": {
  156. "navigationBarTitleText": "商品列表"
  157. }
  158. },
  159. {
  160. "path": "goodsModule/canvasGoods",
  161. "style": {
  162. "navigationBarTitleText": "商品列表"
  163. }
  164. },
  165. {
  166. "path": "goodsModule/couponShopList",
  167. "style": {
  168. "navigationBarTitleText": "优惠券可用商品列表"
  169. }
  170. },
  171. {
  172. "path": "goodsModule/goodsDetails",
  173. "style": {
  174. "navigationBarTitleText": "详情"
  175. }
  176. },
  177. {
  178. "path": "goodsModule/qADetail",
  179. "style": {
  180. "navigationBarTitleText": "问答详情"
  181. }
  182. },
  183. {
  184. "path": "goodsModule/answerList",
  185. "style": {
  186. "navigationBarTitleText": "全部问答"
  187. }
  188. },
  189. {
  190. "path": "goodsModule/putQuestions",
  191. "style": {
  192. "navigationBarTitleText": "提问"
  193. }
  194. },
  195. {
  196. "path": "goodsModule/userEvaluate",
  197. "style": {
  198. "navigationBarTitleText": "我的评价"
  199. }
  200. },
  201. {
  202. "path": "goodsModule/evaSuccessful",
  203. "style": {
  204. "navigationBarTitleText": "评价成功"
  205. }
  206. },
  207. {
  208. "path": "goodsModule/evaluateDetails",
  209. "style": {
  210. "navigationBarTitleText": "评价详情"
  211. }
  212. },
  213. {
  214. "path": "goodsModule/evaluateList",
  215. "style": {
  216. "navigationBarTitleText": "宝贝评价"
  217. }
  218. },
  219. {
  220. "path": "goodsModule/addEvaluate",
  221. "style": {
  222. "navigationBarTitleText": "追加评价"
  223. }
  224. },
  225. {
  226. "path": "goodsModule/evaluate",
  227. "style": {
  228. "navigationBarTitleText": "评价"
  229. }
  230. },
  231. {
  232. "path": "orderModule/index",
  233. "style": {
  234. "navigationBarTitleText": "订单中心"
  235. }
  236. },
  237. {
  238. "path": "orderModule/orderConfirm",
  239. "style": {
  240. "navigationBarTitleText": "购买宝贝",
  241. "navigationBarBackgroundColor": "#333333",
  242. "backgroundColor": "#333333",
  243. "navigationBarTextStyle": "white"
  244. }
  245. },
  246. {
  247. "path": "orderModule/orderDetails",
  248. "style": {
  249. "navigationBarTitleText": "订单详情",
  250. "navigationBarBackgroundColor": "#333333",
  251. "backgroundColor": "#333333",
  252. "navigationBarTextStyle": "white"
  253. }
  254. },
  255. {
  256. "path": "orderModule/afterSaleApplyRefund",
  257. "style": {
  258. "navigationBarTitleText": "申请退款"
  259. }
  260. },
  261. {
  262. "path": "orderModule/afterSaleApplyRetund",
  263. "style": {
  264. "navigationBarTitleText": "申请退货"
  265. }
  266. },
  267. {
  268. "path": "orderModule/afterSaleApply",
  269. "style": {
  270. "navigationBarTitleText": "选择商品",
  271. "navigationBarBackgroundColor": "#333333",
  272. "backgroundColor": "#333333",
  273. "navigationBarTextStyle": "white"
  274. }
  275. },
  276. {
  277. "path": "orderModule/platformJoin",
  278. "style": {
  279. "navigationBarTitleText": "平台介入"
  280. }
  281. },
  282. {
  283. "path": "orderModule/paySuccessful",
  284. "style": {
  285. "navigationStyle": "custom",
  286. "navigationBarTitleText": "支付成功"
  287. }
  288. },
  289. {
  290. "path": "orderModule/addLogistics",
  291. "style": {
  292. "navigationBarTitleText": "填写退货物流"
  293. }
  294. },
  295. {
  296. "path": "orderModule/Intervene",
  297. "style": {
  298. "navigationBarTitleText": "平台介入"
  299. }
  300. },
  301. {
  302. "path": "distributionModule/index",
  303. "style": {
  304. "navigationBarTitleText": "分销中心",
  305. "navigationBarBackgroundColor": "#333333",
  306. "backgroundColor": "#333333",
  307. "navigationBarTextStyle": "white"
  308. }
  309. },
  310. {
  311. "path": "distributionModule/recruit",
  312. "style": {
  313. "navigationBarTitleText": "分销员招募令",
  314. "navigationBarBackgroundColor": "#333333",
  315. "backgroundColor": "#333333",
  316. "navigationBarTextStyle": "white"
  317. }
  318. },
  319. {
  320. "path": "distributionModule/salesIndex",
  321. "style": {
  322. "navigationBarTitleText": "分销中心",
  323. "navigationBarBackgroundColor": "#333333",
  324. "backgroundColor": "#333333",
  325. "navigationBarTextStyle": "white"
  326. }
  327. },
  328. {
  329. "path": "distributionModule/shareProduct",
  330. "style": {
  331. "navigationBarTitleText": "分享"
  332. }
  333. },
  334. {
  335. "path": "distributionModule/totalPersonnel",
  336. "style": {
  337. "navigationBarTitleText": "累计分销员",
  338. "navigationBarBackgroundColor": "#333333",
  339. "backgroundColor": "#333333",
  340. "navigationBarTextStyle": "white"
  341. }
  342. },
  343. {
  344. "path": "distributionModule/totalAward",
  345. "style": {
  346. "navigationBarTitleText": "累计奖励",
  347. "navigationBarBackgroundColor": "#333333",
  348. "backgroundColor": "#333333",
  349. "navigationBarTextStyle": "white"
  350. }
  351. },
  352. {
  353. "path": "distributionModule/totalClient",
  354. "style": {
  355. "navigationBarTitleText": "累计客户",
  356. "navigationBarBackgroundColor": "#333333",
  357. "backgroundColor": "#333333",
  358. "navigationBarTextStyle": "white"
  359. }
  360. },
  361. {
  362. "path": "distributionModule/unliquidated",
  363. "style": {
  364. "navigationBarTitleText": "未结算奖励",
  365. "navigationBarBackgroundColor": "#333333",
  366. "backgroundColor": "#333333",
  367. "navigationBarTextStyle": "white"
  368. }
  369. },
  370. {
  371. "path": "distributionModule/promotion",
  372. "style": {
  373. "navigationBarTitleText": "推广店铺",
  374. "navigationBarBackgroundColor": "#333333",
  375. "backgroundColor": "#333333",
  376. "navigationBarTextStyle": "white"
  377. }
  378. },
  379. {
  380. "path": "distributionModule/commodity",
  381. "style": {
  382. "navigationBarTitleText": "推广商品"
  383. }
  384. },
  385. {
  386. "path": "distributionModule/distributionOrder",
  387. "style": {
  388. "navigationBarTitleText": "我的分销订单"
  389. }
  390. },
  391. {
  392. "path": "distributionModule/invite",
  393. "style": {
  394. "navigationBarTitleText": "邀请下级"
  395. }
  396. },
  397. {
  398. "path": "orderModule/logisticsInfo",
  399. "style": {
  400. "navigationBarTitleText": "物流信息"
  401. }
  402. },
  403. {
  404. "path": "homeModule/special",
  405. "style": {
  406. "navigationBarTitleText": "专题分类"
  407. }
  408. },
  409. {
  410. "path": "goodsModule/invitePoster",
  411. "style": {
  412. "navigationBarTitleText": "生成邀请海报"
  413. }
  414. },
  415. {
  416. "path": "goodsModule/inviteSpell",
  417. "style": {
  418. "navigationBarTitleText": "邀请好友拼单",
  419. "enablePullDownRefresh": false,
  420. "navigationBarBackgroundColor": "#333333",
  421. "backgroundColor": "#333333",
  422. "navigationBarTextStyle": "white"
  423. }
  424. },
  425. {
  426. "path": "linkOthers/index",
  427. "style": {
  428. "navigationBarTitleText": "商家",
  429. "enablePullDownRefresh": false
  430. }
  431. },
  432. {
  433. "path": "memberCenter/index",
  434. "style": {
  435. "navigationStyle": "custom",
  436. "navigationBarTextStyle": "white"
  437. }
  438. },
  439. {
  440. "path": "memberCenter/memberSign",
  441. "style": {
  442. "navigationBarTitleText": "会员签到",
  443. "navigationBarBackgroundColor": "#333333",
  444. "backgroundColor": "#333333",
  445. "navigationBarTextStyle": "white",
  446. "enablePullDownRefresh": true
  447. }
  448. }
  449. ]
  450. },
  451. {
  452. "root": "pages_category_page2",
  453. "name": "pages_category_page2",
  454. "pages": [
  455. {
  456. "path": "userModule/accountLogin",
  457. "style": {
  458. "navigationBarTitleText": "登录"
  459. }
  460. },
  461. {
  462. "path": "userModule/addAddress",
  463. "style": {
  464. "navigationBarTitleText": "地址管理"
  465. }
  466. },
  467. {
  468. "path": "userModule/addBankcard",
  469. "style": {
  470. "navigationBarTitleText": "银行卡"
  471. }
  472. },
  473. {
  474. "path": "userModule/address",
  475. "style": {
  476. "navigationBarTitleText": "地址管理"
  477. }
  478. },
  479. {
  480. "path": "userModule/bankcard",
  481. "style": {
  482. "navigationBarTitleText": "银行卡",
  483. "navigationBarBackgroundColor": "#333333",
  484. "backgroundColor": "#333333",
  485. "navigationBarTextStyle": "white"
  486. }
  487. },
  488. {
  489. "path": "userModule/collection",
  490. "style": {
  491. "navigationBarTitleText": "我的收藏",
  492. "enablePullDownRefresh": false,
  493. "app-plus": {
  494. "bounce": "none"
  495. }
  496. }
  497. },
  498. {
  499. "path": "userModule/footprintList",
  500. "style": {
  501. "navigationBarTitleText": "浏览足迹",
  502. "enablePullDownRefresh": false,
  503. "app-plus": {
  504. "bounce": "none"
  505. }
  506. }
  507. },
  508. {
  509. "path": "userModule/questionList",
  510. "style": {
  511. "navigationBarTitleText": "我的问答",
  512. "enablePullDownRefresh": false,
  513. "app-plus": {
  514. "bounce": "none"
  515. }
  516. }
  517. },
  518. {
  519. "path": "userModule/personalDetails",
  520. "style": {
  521. "navigationBarTitleText": "个人信息"
  522. }
  523. },
  524. {
  525. "path": "userModule/coupon",
  526. "style": {
  527. "navigationBarTitleText": "我的卡券"
  528. }
  529. },
  530. {
  531. "path": "orderModule/afterSale",
  532. "style": {
  533. "navigationBarTitleText": "我的售后"
  534. }
  535. },
  536. {
  537. "path": "orderModule/returnDetails",
  538. "style": {
  539. "navigationBarTitleText": "退货详情",
  540. "navigationBarBackgroundColor": "#333333",
  541. "backgroundColor": "#333333",
  542. "navigationBarTextStyle": "white"
  543. }
  544. },
  545. {
  546. "path": "orderModule/refundDetails",
  547. "style": {
  548. "navigationBarTitleText": "退款详情",
  549. "navigationBarBackgroundColor": "#333333",
  550. "backgroundColor": "#333333",
  551. "navigationBarTextStyle": "white"
  552. }
  553. },
  554. {
  555. "path": "userModule/login",
  556. "style": {
  557. "navigationStyle": "custom",
  558. "navigationBarTitleText": "登录"
  559. }
  560. },
  561. {
  562. "path": "userModule/protocol",
  563. "style": {
  564. "navigationBarTitleText": "《shop》商城用户协议"
  565. }
  566. },
  567. {
  568. "path": "userModule/register",
  569. "style": {
  570. "navigationBarTitleText": "注册"
  571. }
  572. },
  573. {
  574. "path": "userModule/memberAccount",
  575. "style": {
  576. "navigationBarTitleText": "我的账户",
  577. "navigationBarBackgroundColor": "#333333",
  578. "backgroundColor": "#333333",
  579. "navigationBarTextStyle": "white"
  580. }
  581. },
  582. // {
  583. // "path": "distributionModule/distributionOrder",
  584. // "style": {
  585. // "navigationBarTitleText": "我的分销订单",
  586. // "navigationBarBackgroundColor": "#333333",
  587. // "backgroundColor": "#333333",
  588. // "navigationBarTextStyle": "white"
  589. // }
  590. // },
  591. {
  592. "path": "userModule/withdraw",
  593. "style": {
  594. "navigationBarTitleText": "提现"
  595. }
  596. },
  597. // {
  598. // "path": "userModule/u-city-select",
  599. // "style": {}
  600. // }, {
  601. // "path": "userModule/u-bank-select",
  602. // "style": {}
  603. // },
  604. {
  605. "path": "userModule/messageCenter",
  606. "style": {
  607. "navigationBarTitleText": "消息中心"
  608. }
  609. },
  610. {
  611. "path": "userModule/messageDetail",
  612. "style": {
  613. "navigationBarTitleText": "公告详情"
  614. }
  615. },
  616. {
  617. "path": "userModule/bindPhone",
  618. "style": {
  619. "navigationBarTitleText": "绑定手机号",
  620. "enablePullDownRefresh": false
  621. }
  622. },
  623. {
  624. "path": "userModule/mobilePhone",
  625. "style": {
  626. "navigationBarTitleText": "手机号授权",
  627. "enablePullDownRefresh": false
  628. }
  629. },
  630. {
  631. "path": "livePage/index",
  632. "style": {
  633. "navigationBarTitleText": "直播推荐",
  634. "navigationBarBackgroundColor": "#333333",
  635. "backgroundColor": "#333333",
  636. "navigationBarTextStyle": "white",
  637. "enablePullDownRefresh": true
  638. }
  639. },
  640. {
  641. "path": "channelCoupon/index",
  642. "style": {
  643. "navigationBarTitleText": "",
  644. "enablePullDownRefresh": false
  645. }
  646. },
  647. {
  648. "path": "userModule/unsubscribe",
  649. "style": {
  650. "navigationBarTitleText": "账户注销",
  651. "navigationBarBackgroundColor": "#333333",
  652. "backgroundColor": "#333333",
  653. "navigationBarTextStyle": "white"
  654. }
  655. },
  656. {
  657. "path": "userModule/unsubscribeCode",
  658. "style": {
  659. "navigationBarTitleText": "注销账户手机认证"
  660. }
  661. }
  662. ]
  663. }
  664. ],
  665. // 配置文档 https://uniapp.dcloud.io/collocation/pages?id=subpackages
  666. "preloadRule": {
  667. "pages_category_page1/search/index/index": {
  668. "network": "all",
  669. "packages": [
  670. "pages_category_page1"
  671. ]
  672. },
  673. "pages_category_page1/goodsModule/inviteSpell": {
  674. "network": "all",
  675. "packages": [
  676. "pages_category_page1"
  677. ]
  678. },
  679. "pages_category_page1/goodsModule/invitePoster": {
  680. "network": "all",
  681. "packages": [
  682. "pages_category_page1"
  683. ]
  684. },
  685. "pages_category_page1/orderModule/orderDetails": {
  686. "network": "all",
  687. "packages": [
  688. "pages_category_page1"
  689. ]
  690. }
  691. },
  692. "globalStyle": {
  693. "navigationBarTextStyle": "black",
  694. "navigationBarTitleText": "shop",
  695. "navigationBarBackgroundColor": "#fff",
  696. "backgroundColor": "#F8F8F8",
  697. "mp-weixin": {
  698. "usingComponents": {
  699. "send-coupon": "plugin://sendCoupon/send-coupon"
  700. }
  701. }
  702. },
  703. "tabBar": {
  704. "borderStyle": "black",
  705. "backgroundColor": "#fff",
  706. "color": "#CCCCCC",
  707. "selectedColor": "#333333",
  708. "list": [
  709. {
  710. "pagePath": "pages/tabbar/index/index",
  711. "iconPath": "static/images/tabbar/home.png",
  712. "selectedIconPath": "static/images/tabbar/homeactive.png",
  713. "text": "首页"
  714. },
  715. {
  716. "pagePath": "pages/tabbar/category/index",
  717. "iconPath": "static/images/tabbar/fenlei.png",
  718. "selectedIconPath": "static/images/tabbar/fenleiactive.png",
  719. "text": "分类"
  720. },
  721. {
  722. "pagePath": "pages/tabbar/cart/index",
  723. "iconPath": "static/images/tabbar/gouwuche.png",
  724. "selectedIconPath": "static/images/tabbar/gouwucheactive.png",
  725. "text": "购物车"
  726. },
  727. {
  728. "pagePath": "pages/tabbar/user/index",
  729. "iconPath": "static/images/tabbar/wode.png",
  730. "selectedIconPath": "static/images/tabbar/wodeactive.png",
  731. "text": "我的",
  732. "navigationBarBackgroundColor": "#333333",
  733. "backgroundColor": "#333333",
  734. "navigationBarTextStyle": "white"
  735. }
  736. ]
  737. },
  738. "condition": { //模式配置,仅开发期间生效
  739. "current": 0, //当前激活的模式(list 的索引项)
  740. "list": [
  741. {
  742. "name": "", //模式名称
  743. "path": "", //启动页面,必选
  744. "query": "" //启动参数,在页面的onLoad函数里面得到
  745. }
  746. ]
  747. }
  748. }