pages.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. // #ifndef MP
  6. "navigationStyle": "custom",
  7. "app-plus": {
  8. "titleNView": false
  9. },
  10. // #endif
  11. "navigationBarTitleText": "卡羚能服"
  12. }
  13. },
  14. {
  15. "path": "pages/mall/mall",
  16. "style": {
  17. "navigationStyle": "custom",
  18. "navigationBarTitleText": "商城"
  19. }
  20. },
  21. {
  22. "path": "pages/index/notice",
  23. "style": {
  24. "navigationBarTitleText": "消息中心"
  25. }
  26. },
  27. {
  28. "path": "pages/index/share",
  29. "style": {
  30. "navigationBarTitleText": "邀好友赚佣金"
  31. }
  32. },
  33. // #ifndef APP
  34. {
  35. "path": "pages/index/follow",
  36. "style": {
  37. "navigationBarTitleText": "关注公众号"
  38. }
  39. },
  40. // #endif
  41. {
  42. "path": "pages/index/noticeDetail",
  43. "style": {
  44. "navigationBarTitleText": "消息",
  45. "app-plus": {
  46. "titleNView": {
  47. "type": "transparent"
  48. }
  49. }
  50. }
  51. },
  52. {
  53. "path": "pages/index/shopTab",
  54. "style": {
  55. // "enablePullDownRefresh": true,
  56. "navigationStyle": "custom",
  57. "navigationBarTitleText": "门店查询",
  58. "app-plus": {
  59. "titleNView": false
  60. }
  61. }
  62. },
  63. {
  64. "path": "pages/user/myCart/authorization",
  65. "style": {
  66. "navigationBarTitleText": "授权"
  67. }
  68. },
  69. {
  70. "path": "pages/user/myCart/Prepayment",
  71. "style": {
  72. "navigationBarTitleText": "提前还款"
  73. }
  74. },
  75. {
  76. "path": "pages/index/route",
  77. "style": {
  78. "navigationBarTitleText": "历史行程"
  79. }
  80. },
  81. {
  82. "path": "pages/index/routeDetail",
  83. "style": {
  84. "navigationBarTitleText": "行程详情"
  85. }
  86. },
  87. // #ifdef H5
  88. {
  89. "path": "pages/public/domApp",
  90. "style": {
  91. "navigationBarTitleText": "app下载",
  92. "app-plus": {
  93. "titleNView": false
  94. }
  95. }
  96. },
  97. // #endif
  98. // #ifndef MP
  99. {
  100. "path": "pages/public/workwork",
  101. "style": {
  102. "navigationBarTitleText": "关于我们"
  103. }
  104. },
  105. // #endif
  106. {
  107. "path": "pages/public/register",
  108. "style": {
  109. "navigationBarTitleText": "注册",
  110. "app-plus": {
  111. "titleNView": false
  112. }
  113. }
  114. },
  115. {
  116. "path": "pages/public/phoneLogin",
  117. "style": {
  118. "navigationBarTitleText": "手机登录",
  119. "app-plus": {
  120. "titleNView": false
  121. }
  122. }
  123. },
  124. {
  125. "path": "pages/public/login",
  126. "style": {
  127. "navigationBarTitleText": "登录",
  128. "app-plus": {
  129. "titleNView": false
  130. }
  131. }
  132. },
  133. // #ifdef MP || H5
  134. {
  135. "path": "pages/public/wxLogin",
  136. "style": {
  137. "navigationBarTitleText": "微信登录",
  138. "app-plus": {
  139. "titleNView": {
  140. "type": "transparent"
  141. }
  142. }
  143. }
  144. },
  145. // #endif
  146. {
  147. "path": "pages/public/forget",
  148. "style": {
  149. "navigationBarTitleText": "忘记密码",
  150. "app-plus": {
  151. "titleNView": false
  152. }
  153. }
  154. },
  155. {
  156. "path": "pages/public/userAgreement",
  157. "style": {
  158. "navigationBarTitleText": "用户协议"
  159. }
  160. },
  161. {
  162. "path": "pages/public/privacyAgreement",
  163. "style": {
  164. "navigationBarTitleText": "隐私协议"
  165. }
  166. },
  167. // {
  168. // "path": "pages/product/reply",
  169. // "style": {
  170. // "navigationBarTitleText": "商品评价",
  171. // "app-plus": {
  172. // "titleNView": {
  173. // "type": "transparent"
  174. // }
  175. // }
  176. // }
  177. // },
  178. {
  179. "path": "pages/product/product",
  180. "style": {
  181. "navigationBarTitleText": "详情展示",
  182. "app-plus": {
  183. "titleNView": {
  184. "type": "transparent"
  185. }
  186. }
  187. }
  188. },
  189. {
  190. "path": "pages/product/showImg",
  191. "style": {
  192. "navigationBarTitleText": "图片预览",
  193. "app-plus": {
  194. "animationType": "fade-in",
  195. "titleNView": {
  196. "type": "transparent"
  197. },
  198. "animationDuration": 300
  199. }
  200. }
  201. },
  202. // {
  203. // "path": "pages/product/seckill",
  204. // "style": {
  205. // "navigationBarTitleText": "限时秒杀"
  206. // }
  207. // },
  208. // {
  209. // "path": "pages/product/list",
  210. // "style": {
  211. // "enablePullDownRefresh": true,
  212. // "navigationBarTitleText": "商品列表"
  213. // }
  214. // },
  215. {
  216. "path": "pages/product/search",
  217. "style": {
  218. "enablePullDownRefresh": true,
  219. // #ifdef APP-PLUS
  220. "navigationStyle": "custom",
  221. // #endif
  222. // #ifndef MP || APP-PLUS
  223. "app-plus": {
  224. "titleNView": {
  225. "searchInput": {
  226. "backgroundColor": "rgba(231, 231, 231,.7)",
  227. "borderRadius": "16px",
  228. "placeholder": "请输入关键字",
  229. "disabled": false,
  230. "placeholderColor": "#606266",
  231. "align": "left"
  232. },
  233. "buttons": [{
  234. "text": "搜索",
  235. "fontSize": "14",
  236. "color": "#303133",
  237. "background": "rgba(0,0,0,0)",
  238. "width": "40px"
  239. }]
  240. }
  241. },
  242. // #endif
  243. "navigationBarTitleText": "搜索"
  244. }
  245. },
  246. // {
  247. // "path": "pages/product/classify",
  248. // "style": {
  249. // "navigationStyle": "custom",
  250. // "app-plus": {
  251. // "titleNView": {
  252. // "type": "transparent"
  253. // }
  254. // }
  255. // }
  256. // },
  257. {
  258. "path": "pages/set/set",
  259. "style": {
  260. "navigationBarTitleText": "设置"
  261. }
  262. },
  263. {
  264. "path": "pages/set/address",
  265. "style": {
  266. "navigationBarTitleText": "收货地址"
  267. }
  268. },
  269. {
  270. "path": "pages/set/addressManage",
  271. "style": {
  272. "navigationBarTitleText": ""
  273. }
  274. },
  275. {
  276. "path": "pages/set/phone",
  277. "style": {
  278. "navigationBarTitleText": "手机认证"
  279. }
  280. },
  281. {
  282. "path": "pages/set/password",
  283. "style": {
  284. "navigationBarTitleText": "修改密码"
  285. }
  286. },
  287. {
  288. "path": "pages/set/userinfo",
  289. "style": {
  290. "navigationBarTitleText": "修改资料"
  291. }
  292. },
  293. {
  294. "path": "pages/cart/cart",
  295. "style": {
  296. // #ifndef MP-WEIXIN
  297. "navigationStyle": "custom",
  298. // #endif
  299. "navigationBarTitleText": "购物车"
  300. }
  301. },
  302. {
  303. "path": "pages/user/user",
  304. "style": {
  305. "navigationStyle": "custom",
  306. "navigationBarTitleText": "个人中心"
  307. }
  308. },
  309. {
  310. "path": "pages/user/repair/userRepair",
  311. "style": {
  312. "navigationBarTitleText": "维修历史"
  313. }
  314. },
  315. {
  316. "path": "pages/user/repair/repairDetail",
  317. "style": {
  318. "navigationBarTitleText": "申请内容"
  319. }
  320. },
  321. {
  322. "path": "pages/user/myCart/authorizationList",
  323. "style": {
  324. "navigationBarTitleText": "授权列表"
  325. }
  326. },
  327. {
  328. "path": "pages/user/reportForRepair/Report",
  329. "style": {
  330. "navigationBarTitleText": "故障报修"
  331. }
  332. },
  333. {
  334. "path": "pages/user/realName/realNameAuthentication",
  335. "style": {
  336. "navigationBarTitleText": "实名认证"
  337. }
  338. },
  339. {
  340. "path": "pages/user/realName/cropper",
  341. "style": {
  342. "navigationBarTitleText": "图片裁切"
  343. }
  344. },
  345. {
  346. "path": "pages/user/myCart/myCart",
  347. "style": {
  348. "navigationBarTitleText": "我的车辆"
  349. }
  350. },
  351. {
  352. "path": "pages/user/myteam",
  353. "style": {
  354. "navigationBarTitleText": "我的团队"
  355. }
  356. },
  357. {
  358. "path": "pages/user/award/award",
  359. "style": {
  360. "navigationBarTitleText": "佣金",
  361. "navigationBarBackgroundColor": "#f6ab0b",
  362. "navigationBarTextStyle": "white"
  363. }
  364. },
  365. {
  366. "path": "pages/user/award/awardList",
  367. "style": {
  368. "navigationBarTitleText": "佣金明细"
  369. }
  370. },
  371. {
  372. "path": "pages/user/award/withdrawal",
  373. "style": {
  374. "navigationBarTitleText": "提现"
  375. }
  376. },
  377. // {
  378. // "path": "pages/user/favorites",
  379. // "style": {
  380. // "navigationBarTitleText": "收藏夹"
  381. // }
  382. // }, {
  383. // "path": "pages/user/coupon",
  384. // "style": {
  385. // "navigationBarTitleText": "我的卡卷"
  386. // }
  387. // },
  388. // {
  389. // "path": "pages/user/scoreAccumulate",
  390. // "style": {
  391. // "navigationBarTitleText": "积分明细"
  392. // }
  393. // },
  394. {
  395. "path": "pages/order/order",
  396. "style": {
  397. "navigationBarTitleText": "我的订单",
  398. "app-plus": {
  399. "bounce": "none"
  400. }
  401. }
  402. },
  403. {
  404. "path": "pages/order/orderAfter",
  405. "style": {
  406. "navigationBarTitleText": "售后管理"
  407. }
  408. },
  409. {
  410. "path": "pages/order/orderDetail",
  411. "style": {
  412. "navigationBarTitleText": "订单详情",
  413. "app-plus": {
  414. "bounce": "none"
  415. }
  416. }
  417. },
  418. {
  419. "path": "pages/order/hxqm",
  420. "style": {
  421. "navigationBarTitleText": ""
  422. }
  423. },
  424. {
  425. "path": "pages/order/orderRefund",
  426. "style": {
  427. "navigationBarTitleText": "申请退款"
  428. }
  429. },
  430. {
  431. "path": "pages/order/createOrder",
  432. "style": {
  433. "navigationBarTitleText": "创建订单"
  434. }
  435. },
  436. {
  437. "path": "pages/user/money/pay",
  438. "style": {
  439. "navigationBarTitleText": "支付",
  440. "navigationBarBackgroundColor": "#0BBB62",
  441. "navigationBarTextStyle": "white"
  442. }
  443. },
  444. {
  445. "path": "pages/user/money/paySuccess",
  446. "style": {
  447. "navigationBarTitleText": "支付成功"
  448. }
  449. },
  450. {
  451. "path": "pages/user/money/wallet",
  452. "style": {
  453. "navigationBarTitleText": "我的钱包",
  454. "navigationBarBackgroundColor": "#0BBB62",
  455. "navigationBarTextStyle": "white"
  456. }
  457. },
  458. {
  459. "path": "pages/user/money/walletList",
  460. "style": {
  461. "navigationBarTitleText": "余额明细"
  462. }
  463. },
  464. {
  465. "path": "pages/user/award/account",
  466. "style": {
  467. "navigationBarTitleText": "提现账号"
  468. }
  469. },
  470. {
  471. "path": "pages/user/money/recharge",
  472. "style": {
  473. "navigationBarTitleText": "充值",
  474. "navigationBarBackgroundColor": "#0BBB62",
  475. "navigationBarTextStyle": "white"
  476. }
  477. },
  478. {
  479. "path": "pages/user/myRent",
  480. "style": {
  481. "navigationBarTitleText": "我的电池"
  482. }
  483. },
  484. {
  485. "path": "pages/shop/accessory",
  486. "style": {
  487. "navigationBarTitleText": "配件"
  488. }
  489. },
  490. {
  491. "path": "pages/shop/upimg",
  492. "style": {
  493. "navigationBarTitleText": ""
  494. }
  495. },
  496. {
  497. "path": "pages/shop/cartAciton",
  498. "style": {
  499. "navigationBarTitleText": "车辆激活"
  500. }
  501. },
  502. {
  503. "path": "pages/shop/repair/clientRepair",
  504. "style": {
  505. "navigationBarTitleText": "客户报修"
  506. }
  507. },
  508. {
  509. "path": "pages/shop/repair/taskClientRepair",
  510. "style": {
  511. "navigationBarTitleText": "维修任务"
  512. }
  513. },
  514. {
  515. "path": "pages/shop/repair/clientReparirDetail",
  516. "style": {
  517. "navigationBarTitleText": "报修详情"
  518. }
  519. },
  520. {
  521. "path": "pages/shop/repair/repairHistory",
  522. "style": {
  523. "navigationBarTitleText": "维修历史"
  524. }
  525. },
  526. {
  527. "path": "pages/shop/shopOrder",
  528. "style": {
  529. "navigationBarTitleText": "店铺订单"
  530. }
  531. },
  532. {
  533. "path": "pages/shop/rent",
  534. "style": {
  535. "navigationBarTitleText": "租电"
  536. }
  537. },
  538. {
  539. "path": "pages/shop/shopOrderDetail",
  540. "style": {
  541. "navigationBarTitleText": "店铺订单详情"
  542. }
  543. },
  544. {
  545. "path": "pages/shop/shopOrderAfter",
  546. "style": {
  547. "navigationBarTitleText": "售后订单"
  548. }
  549. },
  550. {
  551. "path": "pages/shop/shopIndex",
  552. "style": {
  553. "navigationBarTitleText": "店铺详情",
  554. "app-plus": {
  555. "titleNView": {
  556. "type": "transparent"
  557. }
  558. }
  559. }
  560. },
  561. {
  562. "path": "pages/shop/attestation",
  563. "style": {
  564. "navigationBarTitleText": "身份认证"
  565. }
  566. },
  567. {
  568. "path": "pages/category/category",
  569. "style": {
  570. // #ifdef APP-PLUS
  571. "navigationStyle": "custom",
  572. // #endif
  573. // #ifndef MP
  574. "app-plus": {
  575. "bounce": "none",
  576. "titleNView": {
  577. "searchInput": {
  578. "backgroundColor": "rgba(231, 231, 231,.7)",
  579. "borderRadius": "16px",
  580. "placeholder": "商品搜索",
  581. "disabled": true,
  582. "placeholderColor": "#606266",
  583. "align": "left"
  584. }
  585. }
  586. },
  587. // #endif
  588. "navigationBarTitleText": "分类"
  589. }
  590. },
  591. {
  592. "path": "pages/public/redirect",
  593. "style": {
  594. "navigationBarTitleText": "微信登录跳转页面",
  595. "app-plus": {
  596. "titleNView": false
  597. }
  598. }
  599. },
  600. {
  601. "path": "pages/user/shareQrCode",
  602. "style": {
  603. "navigationBarTitleText": "邀请好友"
  604. }
  605. }
  606. ],
  607. "globalStyle": {
  608. "navigationBarTextStyle": "black",
  609. "navigationBarTitleText": "uni-app",
  610. "navigationBarBackgroundColor": "#FFFFFF",
  611. "backgroundColor": "#f8f8f8"
  612. },
  613. "tabBar": {
  614. "color": "#666666",
  615. "selectedColor": "#5DBC7C",
  616. "borderStyle": "black",
  617. "backgroundColor": "#ffffff",
  618. "list": [{
  619. "pagePath": "pages/index/index",
  620. "iconPath": "static/tabBar/tab-home.png",
  621. "selectedIconPath": "static/tabBar/tab-home-current.png",
  622. "text": "首页"
  623. },
  624. // {
  625. // "pagePath": "pages/category/category",
  626. // "iconPath": "static/tabBar/tab-cate.png",
  627. // "selectedIconPath": "static/tabBar/tab-cate-current.png",
  628. // "text": "分类"
  629. // },
  630. {
  631. "pagePath": "pages/mall/mall",
  632. "iconPath": "static/tabBar/tab-cart.png",
  633. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  634. "text": "商城"
  635. },
  636. // {
  637. // "pagePath": "pages/cart/cart",
  638. // "iconPath": "static/tabBar/tab-cart.png",
  639. // "selectedIconPath": "static/tabBar/tab-cart-current.png",
  640. // "text": "购物车"
  641. // },
  642. {
  643. "pagePath": "pages/user/user",
  644. "iconPath": "static/tabBar/tab-my.png",
  645. "selectedIconPath": "static/tabBar/tab-my-current.png",
  646. "text": "我的"
  647. }
  648. ]
  649. },
  650. "condition": { //模式配置,仅开发期间生效
  651. "current": 0, //当前激活的模式(list 的索引项)
  652. "list": [{
  653. "name": "", //模式名称
  654. "path": "", //启动页面,必选
  655. "query": "" //启动参数,在页面的onLoad函数里面得到
  656. }]
  657. }
  658. }