routes.js 9.6 KB

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