routes.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. const routes = [{
  2. path: "/pages/login/login",
  3. name: 'login',
  4. meta: {
  5. title: '登录',
  6. },
  7. },
  8. {
  9. path: "/pages/login/xieyi",
  10. name: 'xieyi',
  11. meta: {
  12. title: '用户协议',
  13. },
  14. },{
  15. path: "/pages/login/mimi",
  16. name: 'mimi',
  17. meta: {
  18. title: '隐秘协议',
  19. },
  20. },
  21. {
  22. path: "/pages/login/resetpassword",
  23. name: 'resetpassword',
  24. meta: {
  25. title: '忘记密码',
  26. },
  27. },
  28. {
  29. path: "/pages/login/register",
  30. name: 'register',
  31. meta: {
  32. title: '注册',
  33. },
  34. },
  35. {
  36. path: "/pages/login/settled",
  37. name: 'settled',
  38. meta: {
  39. title: '申请入驻',
  40. },
  41. },
  42. {
  43. path: "/pages/login/loginOauth2",
  44. name: 'oauth2Login',
  45. meta: {
  46. title: 'oauth2登录',
  47. },
  48. },
  49. {
  50. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  51. path: '/pages/index/index',
  52. name: 'index',
  53. meta: {
  54. title: '主页',
  55. },
  56. },
  57. {
  58. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  59. path: '/pages/index/userControl',
  60. name: 'userControl',
  61. meta: {
  62. title: '用户管理',
  63. },
  64. },
  65. {
  66. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  67. path: '/pages/index/full',
  68. name: 'full',
  69. meta: {
  70. title: '全部服务',
  71. },
  72. },
  73. {
  74. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  75. path: '/pages/index/shop',
  76. name: 'shop',
  77. meta: {
  78. title: '门店详情',
  79. },
  80. },
  81. {
  82. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  83. path: '/pages/product/index',
  84. name: 'product',
  85. meta: {
  86. title: '商品管理',
  87. },
  88. },
  89. {
  90. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  91. path: '/pages/product/search',
  92. name: 'search',
  93. meta: {
  94. title: '搜索',
  95. },
  96. },
  97. {
  98. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  99. path: '/pages/product/details',
  100. name: 'details',
  101. meta: {
  102. title: '商品详情',
  103. },
  104. },
  105. {
  106. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  107. path: '/pages/product/creatProduct',
  108. name: 'creatProduct',
  109. meta: {
  110. title: '创建商品',
  111. },
  112. },
  113. {
  114. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  115. path: '/pages/product/group',
  116. name: 'group',
  117. meta: {
  118. title: '组合套餐',
  119. },
  120. },
  121. {
  122. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  123. path: '/pages/product/usable',
  124. name: 'usable',
  125. meta: {
  126. title: '可用时间',
  127. },
  128. },
  129. {
  130. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  131. path: '/pages/product/rule',
  132. name: 'rule',
  133. meta: {
  134. title: '预约规则',
  135. },
  136. },
  137. {
  138. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  139. path: '/pages/product/salesUser',
  140. name: 'salesUser',
  141. meta: {
  142. title: '销量统计',
  143. },
  144. },
  145. {
  146. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  147. path: '/pages/evaluate/evaluate',
  148. name: 'evaluate',
  149. meta: {
  150. title: '用户评价',
  151. },
  152. },
  153. {
  154. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  155. path: '/pages/order/index',
  156. name: 'order',
  157. meta: {
  158. title: '订单',
  159. },
  160. },
  161. {
  162. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  163. path: '/pages/order/details',
  164. name: 'details',
  165. meta: {
  166. title: '订单详情',
  167. },
  168. },
  169. {
  170. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  171. path: '/pages/order/arriveUpload',
  172. name: 'details',
  173. meta: {
  174. title: '订单详情',
  175. },
  176. },
  177. {
  178. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  179. path: '/pages/order/serviceOrder/orderDetail',
  180. name: 'orderDetail',
  181. meta: {
  182. title: '订单详情',
  183. },
  184. },
  185. {
  186. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  187. path: '/pages/order/serviceOrder/live',
  188. name: 'live',
  189. meta: {
  190. title: '记录实况',
  191. },
  192. },
  193. {
  194. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  195. path: '/pages/order/serviceOrder/photo',
  196. name: 'photo',
  197. meta: {
  198. title: '车辆照片',
  199. },
  200. },
  201. {
  202. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  203. path: '/pages/order/serviceOrder/project',
  204. name: 'project',
  205. meta: {
  206. title: '服务项目',
  207. },
  208. },
  209. {
  210. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  211. path: '/pages/order/serviceOrder/webview',
  212. name: 'webview',
  213. meta: {
  214. title: '网页版',
  215. },
  216. },
  217. {
  218. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  219. path: '/pages/order/record',
  220. name: 'record',
  221. meta: {
  222. title: '协商记录',
  223. },
  224. },
  225. {
  226. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  227. path: '/pages/scan/scan',
  228. name: 'scan',
  229. meta: {
  230. title: '扫码核销',
  231. },
  232. },
  233. {
  234. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  235. path: '/pages/scan/manual',
  236. name: 'manual',
  237. meta: {
  238. title: '输入核销',
  239. },
  240. },
  241. {
  242. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  243. path: '/pages/scan/details',
  244. name: 'candetails',
  245. meta: {
  246. title: '核销详情',
  247. },
  248. },
  249. {
  250. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  251. path: '/pages/scan/record',
  252. name: 'record',
  253. meta: {
  254. title: '核销记录',
  255. },
  256. },
  257. {
  258. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  259. path: '/pages/scan/check',
  260. name: 'record',
  261. meta: {
  262. title: '核销详情',
  263. },
  264. },
  265. {
  266. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  267. path: '/pages/home/home',
  268. //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
  269. name: 'home',
  270. meta: {
  271. title: '首页',
  272. },
  273. },
  274. {
  275. path: '/pages/user/people',
  276. name: 'people',
  277. meta: {
  278. title: '个人中心',
  279. },
  280. },
  281. {
  282. path: '/pages/user/userdetail',
  283. name: 'userdetail',
  284. meta: {
  285. title: '个人详情',
  286. },
  287. },
  288. {
  289. path: '/pages/user/useredit',
  290. name: 'useredit',
  291. meta: {
  292. title: '个人编辑',
  293. },
  294. },
  295. {
  296. path: '/pages/user/userexit',
  297. name: 'userexit',
  298. meta: {
  299. title: '退出',
  300. },
  301. },
  302. {
  303. path: '/pages/user/location',
  304. name: 'location',
  305. meta: {
  306. title: '定位',
  307. },
  308. },
  309. {
  310. path: '/pages/common/exit',
  311. name: 'exit',
  312. meta: {
  313. title: '退出',
  314. },
  315. },
  316. {
  317. path: '/pages/common/success',
  318. name: 'success',
  319. meta: {
  320. title: 'success',
  321. },
  322. }, {
  323. path: '/pages/addressbook/address-book',
  324. name: 'addressBook',
  325. meta: {
  326. title: 'addressBook',
  327. },
  328. },
  329. {
  330. path: '/pages/addressbook/level-address-book',
  331. name: 'levelAddressBook',
  332. meta: {
  333. title: 'levelAddressBook',
  334. },
  335. },
  336. {
  337. path: '/pages/addressbook/member',
  338. name: 'member',
  339. meta: {
  340. title: 'member',
  341. },
  342. },
  343. {
  344. path: '/pages/addressbook/address-detail',
  345. name: 'addressDetail',
  346. meta: {
  347. title: 'addressDetail',
  348. },
  349. },
  350. {
  351. path: '/pages/annotation/annotationList',
  352. name: 'annotationList',
  353. meta: {
  354. title: '通知公告',
  355. },
  356. },
  357. {
  358. path: '/pages/annotation/annotationDetail',
  359. name: 'annotationDetail',
  360. meta: {
  361. title: '通知详情',
  362. },
  363. },
  364. {
  365. path: '/pages/common/helloWorld',
  366. name: 'helloWorld',
  367. meta: {
  368. title: 'helloWorld',
  369. },
  370. },
  371. {
  372. path: '/pages/store/settings',
  373. name: 'settings',
  374. meta: {
  375. title: '店铺设置',
  376. },
  377. },{
  378. path: '/pages/store/brandMessage',
  379. name: 'brandMessage',
  380. meta: {
  381. title: '品牌信息',
  382. },
  383. }, {
  384. path: '/pages/login/map',
  385. name: 'amap',
  386. meta: {
  387. title: '地图',
  388. },
  389. }, {
  390. path: '/pages/login/aMap',
  391. name: 'amap',
  392. meta: {
  393. title: '地图',
  394. },
  395. },
  396. {
  397. path: '/pages/store/businessInfor',
  398. name: 'businessInfor',
  399. meta: {
  400. title: '经营信息',
  401. },
  402. },
  403. {
  404. path: '/pages/store/headPhoto',
  405. name: 'headPhoto',
  406. meta: {
  407. title: '商户形象',
  408. },
  409. },
  410. {
  411. path: '/pages/store/businessQua',
  412. name: 'businessInfor',
  413. meta: {
  414. title: '营业资质',
  415. },
  416. },
  417. {
  418. path: '/pages/store/otherSet',
  419. name: 'otherSet',
  420. meta: {
  421. title: '其他',
  422. },
  423. },{
  424. path: '/pages/store/advertising',
  425. name: 'advertising',
  426. meta: {
  427. title: '广告素材',
  428. },
  429. }, {
  430. path: '/pages/store/addHours',
  431. name: 'addHours',
  432. meta: {
  433. title: '添加营业时间',
  434. },
  435. },
  436. {
  437. path: '/pages/store/editStore',
  438. name: 'editStore',
  439. meta: {
  440. title: '编辑门店',
  441. },
  442. },
  443. {
  444. path: '/pages/store/examine',
  445. name: 'examineStore',
  446. meta: {
  447. title: '审核查询',
  448. },
  449. },
  450. {
  451. path: '/pages/coupon/coupon',
  452. name: 'coupon',
  453. meta: {
  454. title: '商家优惠券',
  455. },
  456. },
  457. {
  458. path: '/pages/coupon/creatcoupon',
  459. name: 'creatcoupon',
  460. meta: {
  461. title: '新增代金券',
  462. },
  463. },
  464. {
  465. path: '/pages/coupon/creatReduction',
  466. name: 'creatcoupon',
  467. meta: {
  468. title: '新增满减券',
  469. },
  470. },
  471. {
  472. path: '/pages/coupon/creatDiscount',
  473. name: 'creatcoupon',
  474. meta: {
  475. title: '新增折扣券',
  476. },
  477. },
  478. {
  479. path: '/pages/coupon/couponDetail',
  480. name: 'couponDetail',
  481. meta: {
  482. title: '优惠劵详情',
  483. },
  484. },
  485. {
  486. path: '/pages/coupon/activity',
  487. name: 'activity',
  488. meta: {
  489. title: '选择活动商品',
  490. },
  491. },
  492. {
  493. path: '/pages/coupon/storeUsers',
  494. name: 'storeUsers',
  495. meta: {
  496. title: '本店用户',
  497. },
  498. },
  499. {
  500. path: '/pages/store/selectTdMap',
  501. name: 'selectTdMap',
  502. meta: {
  503. title: '地图',
  504. },
  505. },
  506. {
  507. path: '/pages/coupon/usersList',
  508. name: 'usersList',
  509. meta: {
  510. title: '消费用户',
  511. },
  512. },
  513. {
  514. path: '/pages/financial/management',
  515. name: 'management',
  516. meta: {
  517. title: '财务管理',
  518. },
  519. },
  520. {
  521. path: '/pages/financial/recharge',
  522. name: 'recharge',
  523. meta: {
  524. title: '充值',
  525. },
  526. },
  527. {
  528. path: '/pages/financial/buyBean',
  529. name: 'buyBean',
  530. meta: {
  531. title: '购买金豆',
  532. },
  533. },
  534. {
  535. path: '/pages/financial/buyPoints',
  536. name: 'buyPoints',
  537. meta: {
  538. title: '购买积分',
  539. },
  540. },{
  541. path: '/pages/financial/balanceBill',
  542. name: 'buyPoints',
  543. meta: {
  544. title: '余额账单',
  545. },
  546. },{
  547. path: '/pages/financial/balanceBean',
  548. name: 'balanceBean',
  549. meta: {
  550. title: '金豆账单',
  551. },
  552. },{
  553. path: '/pages/financial/balancePonts',
  554. name: 'balancePonts',
  555. meta: {
  556. title: '积分账单',
  557. },
  558. },
  559. {
  560. path: '/pages/product/creatStandard',
  561. name: 'creatStandard',
  562. meta: {
  563. title: '添加品牌标品',
  564. },
  565. },
  566. {
  567. path: '/pages/product/checkMap',
  568. name: 'checkMap',
  569. meta: {
  570. title: '添加检测站',
  571. },
  572. },
  573. {
  574. path: '/pages/product/checkTdMap',
  575. name: 'checkTdMap',
  576. meta: {
  577. title: '添加检测站',
  578. },
  579. },
  580. {
  581. path: '/pages/groupMeal/goods/index',
  582. name: 'groupMealGoodsIndex',
  583. meta: {
  584. title: '团餐报名',
  585. },
  586. },
  587. {
  588. path: '/pages/groupMeal/goods/list',
  589. name: 'groupMealGoodsList',
  590. meta: {
  591. title: '团餐商品',
  592. },
  593. },
  594. {
  595. path: '/pages/groupMeal/goods/form-step1',
  596. name: 'groupMealGoodsFormStep1',
  597. meta: {
  598. title: '编辑商品1',
  599. },
  600. },
  601. {
  602. path: '/pages/groupMeal/goods/form-step2',
  603. name: 'groupMealGoodsFormStep2',
  604. meta: {
  605. title: '编辑商品2',
  606. },
  607. },
  608. {
  609. path: '/pages/groupMeal/orders/order-alist',
  610. name: 'groupMealOrdersAList',
  611. meta: {
  612. title: '团餐订单',
  613. },
  614. },
  615. {
  616. path: '/pages/groupMeal/orders/order-blist',
  617. name: 'groupMealOrdersBList',
  618. meta: {
  619. title: '订单明细',
  620. },
  621. },
  622. {
  623. path: '/pages/groupMeal/orders/order-details',
  624. name: 'groupMealOrdersDetails',
  625. meta: {
  626. title: '订单详情',
  627. },
  628. },
  629. {
  630. path: '/pages/groupMeal/orders/refund',
  631. name: 'groupMealOrdersRefund',
  632. meta: {
  633. title: '协商记录(退款)',
  634. },
  635. },
  636. {
  637. path: '/pages/groupMeal/users/index',
  638. name: 'groupMealUsersIndex',
  639. meta: {
  640. title: '设置首页',
  641. },
  642. },
  643. {
  644. path: '/pages/groupMeal/users/settings',
  645. name: 'groupMealUsersSettings',
  646. meta: {
  647. title: '团餐设置',
  648. },
  649. },
  650. {
  651. path: '/pages/groupMeal/users/withdrawal',
  652. name: 'groupMealUsersWithdrawal',
  653. meta: {
  654. title: '提现',
  655. },
  656. },
  657. {
  658. path: '/pages/groupMeal/users/bankCard-list',
  659. name: 'groupMealUsersBankCardList',
  660. meta: {
  661. title: '银行卡列表',
  662. },
  663. },
  664. {
  665. path: '/pages/groupMeal/users/bankCard-edit',
  666. name: 'groupMealUsersBankCardEdit',
  667. meta: {
  668. title: '银行卡编辑',
  669. },
  670. },
  671. {
  672. path: '/pages/groupMeal/users/team-member',
  673. name: 'groupMealUsersTeamMember',
  674. meta: {
  675. title: '我的团长',
  676. },
  677. }
  678. ]
  679. export default routes