pages.json 12 KB

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