routes.js 13 KB

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