pages.json 12 KB

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