pages.json 16 KB

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