pages.json 15 KB

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