pages.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "首页",
  7. "navigationStyle": "custom"
  8. // "app-plus": {
  9. // "scrollIndicator": false //禁用原生导航栏
  10. // }
  11. }
  12. },
  13. {
  14. "path": "pages/order_addcart/order_addcart",
  15. "style": {
  16. "navigationBarTitleText": "购物车",
  17. "navigationBarBackgroundColor": "#E93323",
  18. "navigationStyle": "custom",
  19. "app-plus": {
  20. // #ifdef APP-PLUS
  21. "titleNView": {
  22. "type": "default"
  23. }
  24. // #endif
  25. }
  26. }
  27. },
  28. {
  29. "path": "pages/user/index",
  30. "style": {
  31. //"navigationBarTitleText": "个人中心",
  32. // #ifdef MP || APP-PLUS
  33. "navigationBarTextStyle": "black",
  34. "navigationBarBackgroundColor": "#E93323",
  35. // #endif
  36. "app-plus": {
  37. // #ifdef APP-PLUS
  38. "titleNView": {
  39. "type": "default"
  40. }
  41. // #endif
  42. }
  43. }
  44. },
  45. {
  46. "path": "pages/goods_details/index",
  47. "style": {
  48. "navigationStyle": "custom"
  49. }
  50. },
  51. {
  52. "path": "pages/goods_cate/goods_cate",
  53. "style": {
  54. "navigationBarBackgroundColor": "#E93323",
  55. //"navigationBarTitleText": "商品分类",
  56. "app-plus": {
  57. // #ifdef APP-PLUS
  58. "titleNView": {
  59. "type": "default"
  60. }
  61. // #endif
  62. }
  63. }
  64. },
  65. {
  66. "path": "pages/retrieve_password/index",
  67. "style": {
  68. "navigationBarTitleText": "找回密码"
  69. }
  70. },
  71. // #ifdef H5
  72. {
  73. "path": "pages/customer_list/index",
  74. "style": {
  75. "navigationBarTitleText": "客服列表"
  76. }
  77. },
  78. {
  79. "path": "pages/customer_list/chat",
  80. "style": {
  81. "navigationBarTitleText": "客服聊天"
  82. }
  83. },
  84. // #endif
  85. {
  86. "path": "pages/goods_list/index",
  87. "style": {
  88. "navigationBarTitleText": "商品列表",
  89. "navigationBarBackgroundColor": "#E93323",
  90. "app-plus": {
  91. // #ifdef APP-PLUS
  92. "titleNView": {
  93. "type": "default"
  94. }
  95. // #endif
  96. }
  97. }
  98. },
  99. {
  100. "path": "pages/news_list/index",
  101. "style": {
  102. //"navigationBarTitleText": "资讯",
  103. "navigationBarBackgroundColor": "#E93323",
  104. "app-plus": {
  105. // #ifdef APP-PLUS
  106. "titleNView": {
  107. "type": "default"
  108. }
  109. // #endif
  110. }
  111. }
  112. },
  113. {
  114. "path": "pages/news_details/index",
  115. "style": {
  116. //"navigationBarTitleText": "资讯详情",
  117. "navigationBarBackgroundColor": "#E93323",
  118. "app-plus": {
  119. // #ifdef APP-PLUS
  120. "titleNView": {
  121. "type": "default"
  122. }
  123. // #endif
  124. }
  125. }
  126. },
  127. //#ifdef H5
  128. {
  129. "path": "pages/auth/index",
  130. "style": {
  131. //"navigationBarTitleText": "CRMEB"
  132. }
  133. },
  134. //#endif
  135. {
  136. "path": "pages/goods_search/index",
  137. "style": {
  138. //"navigationBarTitleText": "搜索商品",
  139. "navigationBarBackgroundColor": "#E93323",
  140. "app-plus": {
  141. // #ifdef APP-PLUS
  142. "titleNView": {
  143. "type": "default"
  144. }
  145. // #endif
  146. }
  147. }
  148. },
  149. {
  150. "path": "pages/order_pay_status/index",
  151. "style": {
  152. "navigationBarTitleText": "支付成功"
  153. }
  154. },
  155. {
  156. "path": "pages/order_details/index",
  157. "style": {
  158. //"navigationBarTitleText": "订单详情",
  159. "navigationBarBackgroundColor": "#E93323",
  160. "app-plus": {
  161. // #ifdef APP-PLUS
  162. "titleNView": {
  163. "type": "default"
  164. }
  165. // #endif
  166. }
  167. }
  168. }, {
  169. "path": "pages/index/components/a_seckill",
  170. "style": {}
  171. }, {
  172. "path": "pages/index/components/b_combination",
  173. "style": {}
  174. }
  175. ],
  176. "subPackages": [{
  177. "root": "pages/users",
  178. "name": "users",
  179. "pages": [
  180. {
  181. "path": "privacy/index",
  182. "style": {
  183. "navigationBarTitleText": "隐私协议"
  184. }
  185. },
  186. {
  187. "path": "web_page/index",
  188. "style": {
  189. }
  190. },
  191. {
  192. "path": "retrievePassword/index",
  193. "style": {
  194. "navigationBarTitleText": "忘记密码"
  195. }
  196. },
  197. {
  198. "path": "user_info/index",
  199. "style": {
  200. //"navigationBarTitleText": "个人资料",
  201. "navigationBarBackgroundColor": "#E93323",
  202. "app-plus": {
  203. // #ifdef APP-PLUS
  204. "titleNView": {
  205. "type": "default"
  206. }
  207. // #endif
  208. }
  209. }
  210. },
  211. {
  212. "path": "user_get_coupon/index",
  213. "style": {
  214. //"navigationBarTitleText": "领取优惠券",
  215. "navigationBarBackgroundColor": "#e93323",
  216. "app-plus": {
  217. // #ifdef APP-PLUS
  218. "titleNView": {
  219. "type": "default"
  220. }
  221. // #endif
  222. }
  223. }
  224. },
  225. {
  226. "path": "user_goods_collection/index",
  227. "style": {
  228. //"navigationBarTitleText": "收藏商品",
  229. "navigationBarBackgroundColor": "#e93323",
  230. "app-plus": {
  231. // #ifdef APP-PLUS
  232. "titleNView": {
  233. "type": "default"
  234. }
  235. // #endif
  236. }
  237. }
  238. },
  239. {
  240. "path": "user_sgin/index",
  241. "style": {
  242. //"navigationBarTitleText": "签到",
  243. "navigationBarBackgroundColor": "#e93323",
  244. "app-plus": {
  245. // #ifdef APP-PLUS
  246. "titleNView": {
  247. "type": "default"
  248. }
  249. // #endif
  250. }
  251. }
  252. },
  253. {
  254. "path": "user_sgin_list/index",
  255. "style": {
  256. //"navigationBarTitleText": "签到记录",
  257. "navigationBarBackgroundColor": "#e93323",
  258. "app-plus": {
  259. // #ifdef APP-PLUS
  260. "titleNView": {
  261. "type": "default"
  262. }
  263. // #endif
  264. }
  265. }
  266. },
  267. {
  268. "path": "user_money/index",
  269. "style": {
  270. //"navigationBarTitleText": "我的账户",
  271. "navigationBarBackgroundColor": "#e93323",
  272. "app-plus": {
  273. // #ifdef APP-PLUS
  274. "titleNView": {
  275. "type": "default"
  276. }
  277. // #endif
  278. }
  279. }
  280. },
  281. {
  282. "path": "user_bill/index",
  283. "style": {
  284. //"navigationBarTitleText": "账单明细",
  285. "navigationBarBackgroundColor": "#e93323",
  286. "app-plus": {
  287. // #ifdef APP-PLUS
  288. "titleNView": {
  289. "type": "default"
  290. }
  291. // #endif
  292. }
  293. }
  294. },
  295. {
  296. "path": "user_integral/index",
  297. "style": {
  298. //"navigationBarTitleText": "积分详情",
  299. "navigationBarBackgroundColor": "#e93323",
  300. "app-plus": {
  301. // #ifdef APP-PLUS
  302. "titleNView": {
  303. "type": "default"
  304. }
  305. // #endif
  306. }
  307. }
  308. },
  309. {
  310. "path": "user_coupon/index",
  311. "style": {
  312. //"navigationBarTitleText": "我的优惠券",
  313. "navigationBarBackgroundColor": "#e93323",
  314. "app-plus": {
  315. // #ifdef APP-PLUS
  316. "titleNView": {
  317. "type": "default"
  318. }
  319. // #endif
  320. }
  321. }
  322. },
  323. {
  324. "path": "user_spread_user/index",
  325. "style": {
  326. "navigationBarTitleText": "我的推广",
  327. "navigationBarBackgroundColor": "#e93323",
  328. "navigationBarTextStyle": "#fff",
  329. "app-plus": {
  330. "titleNView": {
  331. "type": "default"
  332. }
  333. }
  334. }
  335. },
  336. {
  337. "path": "user_spread_code/index",
  338. "style": {
  339. //"navigationBarTitleText": "分销海报",
  340. "navigationBarBackgroundColor": "#e93323",
  341. "app-plus": {
  342. // #ifdef APP-PLUS
  343. "titleNView": {
  344. "type": "default"
  345. }
  346. // #endif
  347. }
  348. }
  349. },
  350. {
  351. "path": "user_spread_money/index",
  352. "style": {
  353. "navigationBarTitleText": "佣金记录",
  354. "navigationBarBackgroundColor": "#e93323",
  355. "navigationBarTextStyle": "#fff",
  356. "app-plus": {
  357. "titleNView": {
  358. "type": "default"
  359. }
  360. }
  361. }
  362. },
  363. {
  364. "path": "user_cash/index",
  365. "style": {
  366. "navigationBarTitleText": "提现",
  367. "navigationBarBackgroundColor": "#e93323",
  368. "navigationBarTextStyle": "#fff",
  369. "app-plus": {
  370. "titleNView": {
  371. "type": "default"
  372. }
  373. }
  374. }
  375. },
  376. {
  377. "path": "user_vip/index",
  378. "style": {
  379. "navigationBarTitleText": "会员中心",
  380. "app-plus": {
  381. // #ifdef APP-PLUS
  382. "titleNView": {
  383. "type": "default",
  384. "backgroundColor": "#fff"
  385. }
  386. // #endif
  387. }
  388. }
  389. },
  390. {
  391. "path": "user_address_list/index",
  392. "style": {
  393. "navigationBarTitleText": "地址管理",
  394. "navigationBarBackgroundColor": "#e93323",
  395. "app-plus": {
  396. // #ifdef APP-PLUS
  397. "titleNView": {
  398. "type": "default"
  399. }
  400. // #endif
  401. }
  402. }
  403. },
  404. {
  405. "path": "user_address/index",
  406. "style": {
  407. "navigationBarTitleText": "添加地址",
  408. "navigationBarBackgroundColor": "#e93323",
  409. "app-plus": {
  410. // #ifdef APP-PLUS
  411. "titleNView": {
  412. "type": "default"
  413. }
  414. // #endif
  415. }
  416. }
  417. },
  418. {
  419. "path": "user_phone/index",
  420. "style": {
  421. "navigationBarTitleText": "修改手机号",
  422. "navigationBarBackgroundColor": "#e93323"
  423. // #ifdef MP
  424. ,
  425. "navigationBarTextStyle": "#fff"
  426. // #endif
  427. }
  428. },
  429. {
  430. "path": "user_payment/index",
  431. "style": {
  432. "navigationBarTitleText": "余额充值"
  433. }
  434. },
  435. {
  436. "path": "user_pwd_edit/index",
  437. "style": {
  438. "navigationBarTitleText": "修改密码",
  439. "navigationBarBackgroundColor": "#e93323"
  440. // #ifdef MP
  441. ,
  442. "navigationBarTextStyle": "#fff"
  443. // #endif
  444. }
  445. },
  446. {
  447. "path": "order_confirm/index",
  448. "style": {
  449. "navigationBarTitleText": "提交订单",
  450. "navigationBarBackgroundColor": "#e93323",
  451. // "navigationStyle": "custom",
  452. "app-plus": {
  453. // #ifdef APP-PLUS
  454. "titleNView": {
  455. "type": "default"
  456. }
  457. // #endif
  458. }
  459. }
  460. },
  461. {
  462. "path": "goods_details_store/index",
  463. "style": {
  464. "navigationBarTitleText": "门店列表",
  465. "navigationBarBackgroundColor": "#e93323",
  466. "app-plus": {
  467. // #ifdef APP-PLUS
  468. "titleNView": {
  469. "type": "default"
  470. }
  471. // #endif
  472. }
  473. }
  474. },
  475. {
  476. "path": "promoter-list/index",
  477. "style": {
  478. "navigationBarTitleText": "推广人列表",
  479. "navigationBarBackgroundColor": "#e93323",
  480. "navigationBarTextStyle": "#fff",
  481. "app-plus": {
  482. "titleNView": {
  483. "type": "default"
  484. }
  485. }
  486. }
  487. },
  488. {
  489. "path": "promoter-order/index",
  490. "style": {
  491. "navigationBarTitleText": "推广人订单",
  492. "navigationBarBackgroundColor": "#e93323",
  493. "navigationBarTextStyle": "#fff",
  494. "app-plus": {
  495. "titleNView": {
  496. "type": "default"
  497. }
  498. }
  499. }
  500. },
  501. {
  502. "path": "promoter_rank/index",
  503. "style": {
  504. "navigationBarTitleText": "推广人排行",
  505. "navigationBarBackgroundColor": "#e93323",
  506. "navigationBarTextStyle": "#fff",
  507. "app-plus": {
  508. "titleNView": {
  509. "type": "default"
  510. }
  511. }
  512. }
  513. },
  514. {
  515. "path": "commission_rank/index",
  516. "style": {
  517. "navigationBarTitleText": "佣金排行",
  518. "navigationBarBackgroundColor": "#e93323",
  519. "navigationBarTextStyle": "#fff",
  520. "app-plus": {
  521. "titleNView": {
  522. "type": "default"
  523. }
  524. }
  525. }
  526. },
  527. {
  528. "path": "order_list/index",
  529. "style": {
  530. "navigationBarTitleText": "我的订单",
  531. "navigationBarBackgroundColor": "#e93323",
  532. "navigationStyle": "custom",
  533. "app-plus": {
  534. // #ifdef APP-PLUS
  535. "titleNView": {
  536. "type": "default"
  537. }
  538. // #endif
  539. }
  540. }
  541. },
  542. {
  543. "path": "goods_logistics/index",
  544. "style": {
  545. "navigationBarTitleText": "物流信息",
  546. "navigationBarBackgroundColor": "#e93323",
  547. "app-plus": {
  548. // #ifdef APP-PLUS
  549. "titleNView": {
  550. "type": "default"
  551. }
  552. // #endif
  553. }
  554. }
  555. },
  556. {
  557. "path": "user_return_list/index",
  558. "style": {
  559. "navigationBarTitleText": "退货列表",
  560. "navigationBarBackgroundColor": "#e93323",
  561. "app-plus": {
  562. // #ifdef APP-PLUS
  563. "titleNView": {
  564. "type": "default"
  565. }
  566. // #endif
  567. }
  568. }
  569. },
  570. {
  571. "path": "goods_return/index",
  572. "style": {
  573. "navigationBarTitleText": "申请退货",
  574. "navigationBarBackgroundColor": "#e93323",
  575. "app-plus": {
  576. // #ifdef APP-PLUS
  577. "titleNView": {
  578. "type": "default"
  579. }
  580. // #endif
  581. }
  582. }
  583. },
  584. {
  585. "path": "login/index",
  586. "style": {
  587. "navigationBarTitleText": "登录",
  588. "navigationBarBackgroundColor": "#e93323",
  589. "app-plus": {
  590. // #ifdef APP-PLUS
  591. "titleNView": {
  592. "type": "default"
  593. }
  594. // #endif
  595. }
  596. }
  597. },
  598. {
  599. "path": "goods_comment_list/index",
  600. "style": {
  601. "navigationBarTitleText": "商品评分",
  602. "navigationBarBackgroundColor": "#e93323",
  603. "app-plus": {
  604. // #ifdef APP-PLUS
  605. "titleNView": {
  606. "type": "default"
  607. }
  608. // #endif
  609. }
  610. }
  611. },
  612. {
  613. "path": "goods_comment_con/index",
  614. "style": {
  615. "navigationBarTitleText": "商品评价",
  616. "navigationBarBackgroundColor": "#e93323",
  617. "app-plus": {
  618. // #ifdef APP-PLUS
  619. "titleNView": {
  620. "type": "default"
  621. }
  622. // #endif
  623. }
  624. }
  625. },
  626. {
  627. "path": "wechat_login/index",
  628. "style": {
  629. "navigationBarTitleText": "账户登录",
  630. "navigationStyle": "custom"
  631. }
  632. },
  633. {
  634. "path": "app_login/index",
  635. "style": {
  636. "navigationBarTitleText": "绑定手机号",
  637. "navigationStyle": "custom"
  638. }
  639. }
  640. ]
  641. },
  642. {
  643. "root": "pages/activity",
  644. "name": "activity",
  645. "pages": [{
  646. "path": "goods_bargain/index",
  647. "style": {
  648. "navigationBarTitleText": "砍价列表"
  649. // #ifdef MP
  650. ,
  651. "navigationBarTextStyle": "black",
  652. "navigationBarBackgroundColor": "#fff"
  653. // #endif
  654. }
  655. },
  656. {
  657. "path": "goods_bargain_details/index",
  658. "style": {
  659. "navigationBarTitleText": "砍价详情"
  660. // #ifdef MP
  661. ,
  662. "navigationBarTextStyle": "black",
  663. "navigationBarBackgroundColor": "#fff"
  664. // #endif
  665. }
  666. },
  667. {
  668. "path": "goods_combination/index",
  669. "style": {
  670. "navigationBarTitleText": "拼团列表"
  671. // #ifdef MP || APP-PLUS
  672. ,
  673. "navigationBarTextStyle": "#fff",
  674. "navigationBarBackgroundColor": "#e93323"
  675. // #endif
  676. }
  677. },
  678. {
  679. "path": "goods_combination_details/index",
  680. "style": {
  681. "navigationStyle": "custom",
  682. "navigationBarBackgroundColor": "#e93323",
  683. "app-plus": {
  684. // #ifdef APP-PLUS
  685. "titleNView": {
  686. "type": "default"
  687. }
  688. // #endif
  689. }
  690. }
  691. },
  692. {
  693. "path": "goods_combination_status/index",
  694. "style": {
  695. "navigationBarTitleText": "拼团",
  696. "navigationBarBackgroundColor": "#e93323",
  697. "app-plus": {
  698. // #ifdef APP-PLUS
  699. "titleNView": {
  700. "type": "default"
  701. }
  702. // #endif
  703. }
  704. }
  705. },
  706. {
  707. "path": "goods_seckill/index",
  708. "style": {
  709. "navigationBarTitleText": "限时秒杀"
  710. // #ifdef MP
  711. ,
  712. "navigationBarTextStyle": "#fff",
  713. "navigationBarBackgroundColor": "#e93323"
  714. // #endif
  715. }
  716. },
  717. {
  718. "path": "goods_seckill_details/index",
  719. "style": {
  720. "navigationBarTitleText": "秒杀详情"
  721. // #ifdef MP
  722. ,
  723. "navigationStyle": "custom"
  724. // #endif
  725. }
  726. },
  727. {
  728. "path": "poster-poster/index",
  729. "style": {
  730. "navigationBarTitleText": "砍价海报"
  731. // #ifdef MP
  732. ,
  733. "navigationBarTextStyle": "#fff",
  734. "navigationBarBackgroundColor": "#e93323"
  735. // #endif
  736. }
  737. },
  738. {
  739. "path": "bargain/index",
  740. "style": {
  741. "navigationBarTitleText": "砍价记录"
  742. }
  743. }
  744. ]
  745. },
  746. {
  747. "root": "pages/columnGoods",
  748. "name": "columnGoods",
  749. "pages": [{
  750. "path": "HotNewGoods/index",
  751. "style": {
  752. "navigationBarTitleText": "精品推荐"
  753. }
  754. }]
  755. }
  756. ],
  757. "globalStyle": {
  758. "navigationBarTextStyle": "black",
  759. //"navigationBarTitleText": "crmeb",
  760. "navigationBarBackgroundColor": "#ff5500",
  761. "backgroundColor": "#F8F8F8",
  762. "titleNView": false,
  763. "rpxCalcMaxDeviceWidth": 960,
  764. "rpxCalcBaseDeviceWidth": 375,
  765. "rpxCalcIncludeWidth": 750
  766. },
  767. "tabBar": {
  768. "color": "#282828",
  769. "selectedColor": "#fc4141",
  770. "borderStyle": "white",
  771. "backgroundColor": "#ffffff",
  772. "list": [{
  773. "pagePath": "pages/index/index",
  774. "iconPath": "static/images/1-001.png",
  775. "selectedIconPath": "static/images/1-002.png",
  776. "text": "首页"
  777. },
  778. {
  779. "pagePath": "pages/goods_cate/goods_cate",
  780. "iconPath": "static/images/2-001.png",
  781. "selectedIconPath": "static/images/2-002.png",
  782. "text": "分类"
  783. },
  784. {
  785. "pagePath": "pages/order_addcart/order_addcart",
  786. "iconPath": "static/images/3-001.png",
  787. "selectedIconPath": "static/images/3-002.png",
  788. "text": "购物车"
  789. },
  790. {
  791. "pagePath": "pages/user/index",
  792. "iconPath": "static/images/4-001.png",
  793. "selectedIconPath": "static/images/4-002.png",
  794. "text": "我的"
  795. }
  796. ]
  797. },
  798. "condition": { //模式配置,仅开发期间生效
  799. "current": 0, //当前激活的模式(list 的索引项)
  800. "list": [{
  801. "name": "", //模式名称
  802. "path": "", //启动页面,必选
  803. "query": "" //启动参数,在页面的onLoad函数里面得到
  804. }]
  805. }
  806. }