pages.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606
  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. }
  144. }, {
  145. "path": "pages/index/components/a_seckill",
  146. "style": {}
  147. }, {
  148. "path": "pages/index/components/b_combination",
  149. "style": {}
  150. }
  151. ],
  152. "subPackages": [{
  153. "root": "pages/users",
  154. "name": "users",
  155. "pages": [
  156. {
  157. "path": "privacy/index",
  158. "style": {
  159. "navigationBarTitleText": "隐私协议"
  160. }
  161. },
  162. {
  163. "path": "web_page/index",
  164. "style": {
  165. }
  166. },
  167. {
  168. "path": "user_info/index",
  169. "style": {
  170. "navigationBarTitleText": "个人资料"
  171. }
  172. },
  173. {
  174. "path": "user_get_coupon/index",
  175. "style": {
  176. "navigationBarTitleText": "领取优惠券"
  177. }
  178. },
  179. {
  180. "path": "user_goods_collection/index",
  181. "style": {
  182. "navigationBarTitleText": "收藏商品"
  183. }
  184. },
  185. {
  186. "path": "user_sgin/index",
  187. "style": {
  188. "navigationBarTitleText": "签到"
  189. }
  190. },
  191. {
  192. "path": "user_sgin_list/index",
  193. "style": {
  194. "navigationBarTitleText": "签到记录"
  195. }
  196. },
  197. {
  198. "path": "user_money/index",
  199. "style": {
  200. "navigationBarTitleText": "我的账户"
  201. }
  202. },
  203. {
  204. "path": "user_bill/index",
  205. "style": {
  206. "navigationBarTitleText": "账单明细"
  207. }
  208. },
  209. {
  210. "path": "user_integral/index",
  211. "style": {
  212. "navigationBarTitleText": "积分详情"
  213. }
  214. },
  215. {
  216. "path": "user_coupon/index",
  217. "style": {
  218. "navigationBarTitleText": "我的优惠券"
  219. }
  220. },
  221. {
  222. "path": "user_spread_user/index",
  223. "style": {
  224. "navigationBarTitleText": "我的推广",
  225. "navigationBarBackgroundColor": "#e93323"
  226. // #ifdef MP
  227. ,
  228. "navigationBarTextStyle": "#fff"
  229. // #endif
  230. }
  231. },
  232. {
  233. "path": "user_spread_code/index",
  234. "style": {
  235. "navigationBarTitleText": "分销海报"
  236. }
  237. },
  238. {
  239. "path": "user_spread_money/index",
  240. "style": {
  241. "navigationBarTitleText": "佣金记录",
  242. "navigationBarBackgroundColor": "#e93323"
  243. // #ifdef MP
  244. ,
  245. "navigationBarTextStyle": "#fff"
  246. // #endif
  247. }
  248. },
  249. {
  250. "path": "user_cash/index",
  251. "style": {
  252. "navigationBarTitleText": "提现",
  253. "navigationBarBackgroundColor": "#e93323"
  254. // #ifdef MP
  255. ,
  256. "navigationBarTextStyle": "#fff"
  257. // #endif
  258. }
  259. },
  260. {
  261. "path": "user_vip/index",
  262. "style": {
  263. "navigationBarTitleText": "会员中心"
  264. }
  265. },
  266. {
  267. "path": "user_address_list/index",
  268. "style": {
  269. "navigationBarTitleText": "地址管理"
  270. }
  271. },
  272. {
  273. "path": "user_address/index",
  274. "style": {
  275. "navigationBarTitleText": "添加地址"
  276. }
  277. },
  278. {
  279. "path": "user_phone/index",
  280. "style": {
  281. "navigationBarTitleText": "修改手机号",
  282. "navigationBarBackgroundColor": "#e93323"
  283. // #ifdef MP
  284. ,
  285. "navigationBarTextStyle": "#fff"
  286. // #endif
  287. }
  288. },
  289. {
  290. "path": "user_payment/index",
  291. "style": {
  292. "navigationBarTitleText": "余额充值"
  293. }
  294. },
  295. {
  296. "path": "user_pwd_edit/index",
  297. "style": {
  298. "navigationBarTitleText": "修改密码",
  299. "navigationBarBackgroundColor": "#e93323"
  300. // #ifdef MP
  301. ,
  302. "navigationBarTextStyle": "#fff"
  303. // #endif
  304. }
  305. },
  306. {
  307. "path": "order_confirm/index",
  308. "style": {
  309. "navigationBarTitleText": "提交订单"
  310. }
  311. },
  312. {
  313. "path": "goods_details_store/index",
  314. "style": {
  315. "navigationBarTitleText": "门店列表"
  316. }
  317. },
  318. {
  319. "path": "promoter-list/index",
  320. "style": {
  321. "navigationBarTitleText": "推广人列表",
  322. "navigationBarBackgroundColor": "#e93323"
  323. // #ifdef MP
  324. ,
  325. "navigationBarTextStyle": "#fff"
  326. // #endif
  327. }
  328. },
  329. {
  330. "path": "promoter-order/index",
  331. "style": {
  332. "navigationBarTitleText": "推广人订单",
  333. "navigationBarBackgroundColor": "#e93323"
  334. // #ifdef MP
  335. ,
  336. "navigationBarTextStyle": "#fff"
  337. // #endif
  338. }
  339. },
  340. {
  341. "path": "promoter_rank/index",
  342. "style": {
  343. "navigationBarTitleText": "推广人排行",
  344. "navigationBarBackgroundColor": "#e93323"
  345. // #ifdef MP
  346. ,
  347. "navigationBarTextStyle": "#fff"
  348. // #endif
  349. }
  350. },
  351. {
  352. "path": "commission_rank/index",
  353. "style": {
  354. "navigationBarTitleText": "佣金排行",
  355. "navigationBarBackgroundColor": "#e93323"
  356. // #ifdef MP
  357. ,
  358. "navigationBarTextStyle": "#fff"
  359. // #endif
  360. }
  361. },
  362. {
  363. "path": "order_list/index",
  364. "style": {
  365. "navigationBarTitleText": "我的订单"
  366. }
  367. },
  368. {
  369. "path": "goods_logistics/index",
  370. "style": {
  371. "navigationBarTitleText": "物流信息"
  372. }
  373. },
  374. {
  375. "path": "user_return_list/index",
  376. "style": {
  377. "navigationBarTitleText": "退货列表"
  378. }
  379. },
  380. {
  381. "path": "user_return_detail/index",
  382. "style": {
  383. "navigationBarTitleText": "退货详情"
  384. }
  385. },
  386. {
  387. "path": "goods_return/index",
  388. "style": {
  389. "navigationBarTitleText": "申请退货"
  390. }
  391. },
  392. {
  393. "path": "goods_return_delivery/index",
  394. "style": {
  395. "navigationBarTitleText": "填写退货物流"
  396. }
  397. },
  398. {
  399. "path": "login/index",
  400. "style": {
  401. "navigationBarTitleText": "登录"
  402. }
  403. },
  404. {
  405. "path": "goods_comment_list/index",
  406. "style": {
  407. "navigationBarTitleText": "商品评分"
  408. }
  409. },
  410. {
  411. "path": "goods_comment_con/index",
  412. "style": {
  413. "navigationBarTitleText": "商品评价"
  414. }
  415. },
  416. {
  417. "path": "wechat_login/index",
  418. "style": {
  419. "navigationBarTitleText": "账户登录",
  420. "navigationStyle": "custom"
  421. }
  422. },
  423. {
  424. "path": "app_login/index",
  425. "style": {
  426. "navigationBarTitleText": "绑定手机号",
  427. "navigationStyle": "custom"
  428. }
  429. }
  430. ]
  431. },
  432. {
  433. "root": "pages/activity",
  434. "name": "activity",
  435. "pages": [{
  436. "path": "goods_bargain/index",
  437. "style": {
  438. "navigationBarTitleText": "砍价列表"
  439. // #ifdef MP
  440. ,
  441. "navigationBarTextStyle": "black",
  442. "navigationBarBackgroundColor": "#fff"
  443. // #endif
  444. }
  445. },
  446. {
  447. "path": "goods_bargain_details/index",
  448. "style": {
  449. "navigationBarTitleText": "砍价详情"
  450. // #ifdef MP
  451. ,
  452. "navigationBarTextStyle": "black",
  453. "navigationBarBackgroundColor": "#fff"
  454. // #endif
  455. }
  456. },
  457. {
  458. "path": "goods_combination/index",
  459. "style": {
  460. "navigationBarTitleText": "拼团列表"
  461. // #ifdef MP || APP-PLUS
  462. ,
  463. "navigationBarTextStyle": "#fff",
  464. "navigationBarBackgroundColor": "#e93323"
  465. // #endif
  466. }
  467. },
  468. {
  469. "path": "goods_combination_details/index",
  470. "style": {
  471. "navigationStyle": "custom"
  472. }
  473. },
  474. {
  475. "path": "goods_combination_status/index",
  476. "style": {
  477. "navigationBarTitleText": "拼团"
  478. }
  479. },
  480. {
  481. "path": "goods_seckill/index",
  482. "style": {
  483. "navigationBarTitleText": "限时秒杀"
  484. // #ifdef MP
  485. ,
  486. "navigationBarTextStyle": "#fff",
  487. "navigationBarBackgroundColor": "#e93323"
  488. // #endif
  489. }
  490. },
  491. {
  492. "path": "goods_seckill_details/index",
  493. "style": {
  494. "navigationBarTitleText": "秒杀详情"
  495. // #ifdef MP
  496. ,
  497. "navigationStyle": "custom"
  498. // #endif
  499. }
  500. },
  501. {
  502. "path": "bargain/index",
  503. "style": {
  504. "navigationBarTitleText": "砍价记录"
  505. }
  506. }
  507. ]
  508. },
  509. {
  510. "root": "pages/columnGoods",
  511. "name": "columnGoods",
  512. "pages": [{
  513. "path": "HotNewGoods/index",
  514. "style": {
  515. "navigationBarTitleText": "精品推荐"
  516. }
  517. }]
  518. },{
  519. "root": "pages/index/condition",
  520. "name": "condition",
  521. "pages": [{
  522. "path": "heart_rate/index",
  523. "style": {
  524. "navigationBarTitleText": ""
  525. }
  526. }]
  527. }, {
  528. "root": "pages/goods",
  529. "name": "goods",
  530. "pages": [{
  531. "path": "cashier/index",
  532. "style": {
  533. "navigationBarTitleText": "收银台",
  534. "app-plus": {
  535. // #ifdef APP-PLUS
  536. "titleNView": {
  537. "type": "default"
  538. }
  539. // #endif
  540. }
  541. }
  542. }]
  543. }
  544. ],
  545. "globalStyle": {
  546. "navigationBarTextStyle": "black",
  547. "navigationBarTitleText": "芋道商城",
  548. "navigationBarBackgroundColor": "#fff",
  549. "backgroundColor": "#F8F8F8",
  550. "titleNView": false,
  551. "rpxCalcMaxDeviceWidth": 960,
  552. "rpxCalcBaseDeviceWidth": 375,
  553. "rpxCalcIncludeWidth": 750,
  554. "usingComponents":{
  555. "van-popup": "/wxcomponents/vant/dist/popup/index",
  556. "van-calendar": "/wxcomponents/vant/dist/calendar/index",
  557. "van-tabs": "/wxcomponents/vant/dist/tabs/index",
  558. "van-tab": "/wxcomponents/vant/dist/tab/index",
  559. "van-field": "/wxcomponents/vant/dist/field/index",
  560. "van-dialog": "/wxcomponents/vant/dist/dialog/index"
  561. // "van-form": "/wxcomponents/vant/dist/form/index"
  562. }
  563. },
  564. "tabBar": {
  565. "color": "#282828",
  566. "selectedColor": "#fc4141",
  567. "borderStyle": "white",
  568. "backgroundColor": "#ffffff",
  569. "list": [{
  570. "pagePath": "pages/index/index",
  571. "iconPath": "static/images/1-001.png",
  572. "selectedIconPath": "static/images/1-002.png",
  573. "text": "首页"
  574. },
  575. {
  576. "pagePath": "pages/goods_cate/goods_cate",
  577. "iconPath": "static/images/2-001.png",
  578. "selectedIconPath": "static/images/2-002.png",
  579. "text": "分类"
  580. },
  581. // {
  582. // "pagePath": "pages/order_addcart/order_addcart",
  583. // "iconPath": "static/images/3-001.png",
  584. // "selectedIconPath": "static/images/3-002.png",
  585. // "text": "购物车"
  586. // },
  587. {
  588. "pagePath": "pages/user/index",
  589. "iconPath": "static/images/4-001.png",
  590. "selectedIconPath": "static/images/4-002.png",
  591. "text": "我的"
  592. }
  593. ]
  594. },
  595. "condition": { //模式配置,仅开发期间生效
  596. "current": 0, //当前激活的模式(list 的索引项)
  597. "list": [{
  598. "name": "", //模式名称
  599. "path": "", //启动页面,必选
  600. "query": "" //启动参数,在页面的onLoad函数里面得到
  601. }]
  602. }
  603. }