routes.js 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  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/full',
  60. name: 'full',
  61. meta: {
  62. title: '全部服务',
  63. },
  64. },
  65. {
  66. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  67. path: '/pages/index/shop',
  68. name: 'shop',
  69. meta: {
  70. title: '门店详情',
  71. },
  72. },
  73. {
  74. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  75. path: '/pages/product/index',
  76. name: 'product',
  77. meta: {
  78. title: '商品管理',
  79. },
  80. },
  81. {
  82. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  83. path: '/pages/product/search',
  84. name: 'search',
  85. meta: {
  86. title: '搜索',
  87. },
  88. },
  89. {
  90. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  91. path: '/pages/product/details',
  92. name: 'details',
  93. meta: {
  94. title: '商品详情',
  95. },
  96. },
  97. {
  98. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  99. path: '/pages/product/creatProduct',
  100. name: 'creatProduct',
  101. meta: {
  102. title: '创建商品',
  103. },
  104. },
  105. {
  106. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  107. path: '/pages/product/group',
  108. name: 'group',
  109. meta: {
  110. title: '组合套餐',
  111. },
  112. },
  113. {
  114. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  115. path: '/pages/product/usable',
  116. name: 'usable',
  117. meta: {
  118. title: '可用时间',
  119. },
  120. },
  121. {
  122. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  123. path: '/pages/product/rule',
  124. name: 'rule',
  125. meta: {
  126. title: '预约规则',
  127. },
  128. },
  129. {
  130. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  131. path: '/pages/evaluate/evaluate',
  132. name: 'evaluate',
  133. meta: {
  134. title: '用户评价',
  135. },
  136. },
  137. {
  138. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  139. path: '/pages/order/index',
  140. name: 'order',
  141. meta: {
  142. title: '订单',
  143. },
  144. },
  145. {
  146. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  147. path: '/pages/order/details',
  148. name: 'details',
  149. meta: {
  150. title: '订单详情',
  151. },
  152. },
  153. {
  154. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  155. path: '/pages/order/serviceOrder/orderDetail',
  156. name: 'orderDetail',
  157. meta: {
  158. title: '订单详情',
  159. },
  160. },
  161. {
  162. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  163. path: '/pages/order/serviceOrder/live',
  164. name: 'live',
  165. meta: {
  166. title: '记录实况',
  167. },
  168. },
  169. {
  170. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  171. path: '/pages/order/serviceOrder/photo',
  172. name: 'photo',
  173. meta: {
  174. title: '车辆照片',
  175. },
  176. },
  177. {
  178. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  179. path: '/pages/order/serviceOrder/project',
  180. name: 'project',
  181. meta: {
  182. title: '服务项目',
  183. },
  184. },
  185. {
  186. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  187. path: '/pages/order/serviceOrder/webview',
  188. name: 'webview',
  189. meta: {
  190. title: '网页版',
  191. },
  192. },
  193. {
  194. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  195. path: '/pages/order/record',
  196. name: 'record',
  197. meta: {
  198. title: '协商记录',
  199. },
  200. },
  201. {
  202. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  203. path: '/pages/scan/scan',
  204. name: 'scan',
  205. meta: {
  206. title: '扫码核销',
  207. },
  208. },
  209. {
  210. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  211. path: '/pages/scan/manual',
  212. name: 'manual',
  213. meta: {
  214. title: '输入核销',
  215. },
  216. },
  217. {
  218. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  219. path: '/pages/scan/details',
  220. name: 'candetails',
  221. meta: {
  222. title: '核销详情',
  223. },
  224. },
  225. {
  226. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  227. path: '/pages/scan/record',
  228. name: 'record',
  229. meta: {
  230. title: '核销记录',
  231. },
  232. },
  233. {
  234. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  235. path: '/pages/scan/check',
  236. name: 'record',
  237. meta: {
  238. title: '核销详情',
  239. },
  240. },
  241. {
  242. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  243. path: '/pages/home/home',
  244. //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
  245. name: 'home',
  246. meta: {
  247. title: '首页',
  248. },
  249. },
  250. {
  251. path: '/pages/user/people',
  252. name: 'people',
  253. meta: {
  254. title: '个人中心',
  255. },
  256. },
  257. {
  258. path: '/pages/user/userdetail',
  259. name: 'userdetail',
  260. meta: {
  261. title: '个人详情',
  262. },
  263. },
  264. {
  265. path: '/pages/user/useredit',
  266. name: 'useredit',
  267. meta: {
  268. title: '个人编辑',
  269. },
  270. },
  271. {
  272. path: '/pages/user/userexit',
  273. name: 'userexit',
  274. meta: {
  275. title: '退出',
  276. },
  277. },
  278. {
  279. path: '/pages/user/location',
  280. name: 'location',
  281. meta: {
  282. title: '定位',
  283. },
  284. },
  285. {
  286. path: '/pages/common/exit',
  287. name: 'exit',
  288. meta: {
  289. title: '退出',
  290. },
  291. },
  292. {
  293. path: '/pages/common/success',
  294. name: 'success',
  295. meta: {
  296. title: 'success',
  297. },
  298. }, {
  299. path: '/pages/addressbook/address-book',
  300. name: 'addressBook',
  301. meta: {
  302. title: 'addressBook',
  303. },
  304. },
  305. {
  306. path: '/pages/addressbook/level-address-book',
  307. name: 'levelAddressBook',
  308. meta: {
  309. title: 'levelAddressBook',
  310. },
  311. },
  312. {
  313. path: '/pages/addressbook/member',
  314. name: 'member',
  315. meta: {
  316. title: 'member',
  317. },
  318. },
  319. {
  320. path: '/pages/addressbook/address-detail',
  321. name: 'addressDetail',
  322. meta: {
  323. title: 'addressDetail',
  324. },
  325. },
  326. {
  327. path: '/pages/annotation/annotationList',
  328. name: 'annotationList',
  329. meta: {
  330. title: '通知公告',
  331. },
  332. },
  333. {
  334. path: '/pages/annotation/annotationDetail',
  335. name: 'annotationDetail',
  336. meta: {
  337. title: '通知详情',
  338. },
  339. },
  340. {
  341. path: '/pages/common/helloWorld',
  342. name: 'helloWorld',
  343. meta: {
  344. title: 'helloWorld',
  345. },
  346. },
  347. {
  348. path: '/pages/store/settings',
  349. name: 'settings',
  350. meta: {
  351. title: '店铺设置',
  352. },
  353. },{
  354. path: '/pages/store/brandMessage',
  355. name: 'brandMessage',
  356. meta: {
  357. title: '品牌信息',
  358. },
  359. }, {
  360. path: '/pages/login/map',
  361. name: 'amap',
  362. meta: {
  363. title: '地图',
  364. },
  365. }, {
  366. path: '/pages/login/aMap',
  367. name: 'amap',
  368. meta: {
  369. title: '地图',
  370. },
  371. },
  372. {
  373. path: '/pages/store/businessInfor',
  374. name: 'businessInfor',
  375. meta: {
  376. title: '经营信息',
  377. },
  378. }, {
  379. path: '/pages/store/businessQua',
  380. name: 'businessInfor',
  381. meta: {
  382. title: '营业资质',
  383. },
  384. }, {
  385. path: '/pages/store/addHours',
  386. name: 'addHours',
  387. meta: {
  388. title: '添加营业时间',
  389. },
  390. },
  391. {
  392. path: '/pages/store/editStore',
  393. name: 'editStore',
  394. meta: {
  395. title: '编辑门店',
  396. },
  397. },
  398. {
  399. path: '/pages/store/examine',
  400. name: 'examineStore',
  401. meta: {
  402. title: '审核查询',
  403. },
  404. },
  405. {
  406. path: '/pages/coupon/coupon',
  407. name: 'coupon',
  408. meta: {
  409. title: '商家优惠券',
  410. },
  411. },
  412. {
  413. path: '/pages/coupon/creatcoupon',
  414. name: 'creatcoupon',
  415. meta: {
  416. title: '新增代金券',
  417. },
  418. },
  419. {
  420. path: '/pages/coupon/creatReduction',
  421. name: 'creatcoupon',
  422. meta: {
  423. title: '新增满减券',
  424. },
  425. },
  426. {
  427. path: '/pages/coupon/creatDiscount',
  428. name: 'creatcoupon',
  429. meta: {
  430. title: '新增折扣券',
  431. },
  432. },
  433. {
  434. path: '/pages/coupon/couponDetail',
  435. name: 'couponDetail',
  436. meta: {
  437. title: '优惠劵详情',
  438. },
  439. },
  440. {
  441. path: '/pages/coupon/activity',
  442. name: 'activity',
  443. meta: {
  444. title: '选择活动商品',
  445. },
  446. },
  447. {
  448. path: '/pages/coupon/storeUsers',
  449. name: 'storeUsers',
  450. meta: {
  451. title: '本店用户',
  452. },
  453. },
  454. {
  455. path: '/pages/coupon/usersList',
  456. name: 'usersList',
  457. meta: {
  458. title: '消费用户',
  459. },
  460. },
  461. {
  462. path: '/pages/financial/management',
  463. name: 'management',
  464. meta: {
  465. title: '财务管理',
  466. },
  467. },
  468. {
  469. path: '/pages/financial/recharge',
  470. name: 'recharge',
  471. meta: {
  472. title: '充值',
  473. },
  474. },
  475. {
  476. path: '/pages/financial/buyBean',
  477. name: 'buyBean',
  478. meta: {
  479. title: '购买金豆',
  480. },
  481. },
  482. {
  483. path: '/pages/financial/buyPoints',
  484. name: 'buyPoints',
  485. meta: {
  486. title: '购买积分',
  487. },
  488. },{
  489. path: '/pages/financial/balanceBill',
  490. name: 'buyPoints',
  491. meta: {
  492. title: '余额账单',
  493. },
  494. },{
  495. path: '/pages/financial/balanceBean',
  496. name: 'balanceBean',
  497. meta: {
  498. title: '金豆账单',
  499. },
  500. },{
  501. path: '/pages/financial/balancePonts',
  502. name: 'balancePonts',
  503. meta: {
  504. title: '积分账单',
  505. },
  506. },
  507. {
  508. path: '/pages/product/creatStandard',
  509. name: 'creatStandard',
  510. meta: {
  511. title: '添加品牌标品',
  512. },
  513. },
  514. {
  515. path: '/pages/product/checkMap',
  516. name: 'checkMap',
  517. meta: {
  518. title: '添加检测站',
  519. },
  520. }
  521. ]
  522. export default routes