routes.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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/scan/scan',
  156. name: 'scan',
  157. meta: {
  158. title: '扫码核销',
  159. },
  160. },
  161. {
  162. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  163. path: '/pages/scan/manual',
  164. name: 'manual',
  165. meta: {
  166. title: '输入核销',
  167. },
  168. },
  169. {
  170. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  171. path: '/pages/scan/details',
  172. name: 'candetails',
  173. meta: {
  174. title: '核销详情',
  175. },
  176. },
  177. {
  178. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  179. path: '/pages/scan/record',
  180. name: 'record',
  181. meta: {
  182. title: '核销记录',
  183. },
  184. },
  185. {
  186. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  187. path: '/pages/scan/check',
  188. name: 'record',
  189. meta: {
  190. title: '核销详情',
  191. },
  192. },
  193. {
  194. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  195. path: '/pages/home/home',
  196. //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
  197. name: 'home',
  198. meta: {
  199. title: '首页',
  200. },
  201. },
  202. {
  203. path: '/pages/user/people',
  204. name: 'people',
  205. meta: {
  206. title: '个人中心',
  207. },
  208. },
  209. {
  210. path: '/pages/user/userdetail',
  211. name: 'userdetail',
  212. meta: {
  213. title: '个人详情',
  214. },
  215. },
  216. {
  217. path: '/pages/user/useredit',
  218. name: 'useredit',
  219. meta: {
  220. title: '个人编辑',
  221. },
  222. },
  223. {
  224. path: '/pages/user/userexit',
  225. name: 'userexit',
  226. meta: {
  227. title: '退出',
  228. },
  229. },
  230. {
  231. path: '/pages/user/location',
  232. name: 'location',
  233. meta: {
  234. title: '定位',
  235. },
  236. },
  237. {
  238. path: '/pages/common/exit',
  239. name: 'exit',
  240. meta: {
  241. title: '退出',
  242. },
  243. },
  244. {
  245. path: '/pages/common/success',
  246. name: 'success',
  247. meta: {
  248. title: 'success',
  249. },
  250. }, {
  251. path: '/pages/addressbook/address-book',
  252. name: 'addressBook',
  253. meta: {
  254. title: 'addressBook',
  255. },
  256. },
  257. {
  258. path: '/pages/addressbook/level-address-book',
  259. name: 'levelAddressBook',
  260. meta: {
  261. title: 'levelAddressBook',
  262. },
  263. },
  264. {
  265. path: '/pages/addressbook/member',
  266. name: 'member',
  267. meta: {
  268. title: 'member',
  269. },
  270. },
  271. {
  272. path: '/pages/addressbook/address-detail',
  273. name: 'addressDetail',
  274. meta: {
  275. title: 'addressDetail',
  276. },
  277. },
  278. {
  279. path: '/pages/annotation/annotationList',
  280. name: 'annotationList',
  281. meta: {
  282. title: '通知公告',
  283. },
  284. },
  285. {
  286. path: '/pages/annotation/annotationDetail',
  287. name: 'annotationDetail',
  288. meta: {
  289. title: '通知详情',
  290. },
  291. },
  292. {
  293. path: '/pages/common/helloWorld',
  294. name: 'helloWorld',
  295. meta: {
  296. title: 'helloWorld',
  297. },
  298. },
  299. {
  300. path: '/pages/store/settings',
  301. name: 'settings',
  302. meta: {
  303. title: '店铺设置',
  304. },
  305. },{
  306. path: '/pages/store/brandMessage',
  307. name: 'brandMessage',
  308. meta: {
  309. title: '品牌信息',
  310. },
  311. }, {
  312. path: '/pages/login/map',
  313. name: 'amap',
  314. meta: {
  315. title: '地图',
  316. },
  317. }, {
  318. path: '/pages/login/aMap',
  319. name: 'amap',
  320. meta: {
  321. title: '地图',
  322. },
  323. },
  324. {
  325. path: '/pages/store/businessInfor',
  326. name: 'businessInfor',
  327. meta: {
  328. title: '经营信息',
  329. },
  330. }, {
  331. path: '/pages/store/businessQua',
  332. name: 'businessInfor',
  333. meta: {
  334. title: '营业资质',
  335. },
  336. }, {
  337. path: '/pages/store/addHours',
  338. name: 'addHours',
  339. meta: {
  340. title: '添加营业时间',
  341. },
  342. },
  343. {
  344. path: '/pages/store/editStore',
  345. name: 'editStore',
  346. meta: {
  347. title: '编辑门店',
  348. },
  349. },
  350. {
  351. path: '/pages/store/examine',
  352. name: 'examineStore',
  353. meta: {
  354. title: '审核查询',
  355. },
  356. },
  357. ]
  358. export default routes