pages.json 17 KB

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