pages.json 14 KB

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