pages.json 13 KB

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