routes.js 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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/product/index',
  68. name: 'product',
  69. meta: {
  70. title: '商品管理',
  71. },
  72. },
  73. {
  74. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  75. path: '/pages/product/search',
  76. name: 'search',
  77. meta: {
  78. title: '搜索',
  79. },
  80. },
  81. {
  82. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  83. path: '/pages/product/details',
  84. name: 'details',
  85. meta: {
  86. title: '商品详情',
  87. },
  88. },
  89. {
  90. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  91. path: '/pages/product/creatProduct',
  92. name: 'creatProduct',
  93. meta: {
  94. title: '创建商品',
  95. },
  96. },
  97. {
  98. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  99. path: '/pages/product/group',
  100. name: 'group',
  101. meta: {
  102. title: '组合套餐',
  103. },
  104. },
  105. {
  106. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  107. path: '/pages/product/usable',
  108. name: 'usable',
  109. meta: {
  110. title: '可用时间',
  111. },
  112. },
  113. {
  114. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  115. path: '/pages/product/rule',
  116. name: 'rule',
  117. meta: {
  118. title: '预约规则',
  119. },
  120. },
  121. {
  122. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  123. path: '/pages/evaluate/evaluate',
  124. name: 'evaluate',
  125. meta: {
  126. title: '用户评价',
  127. },
  128. },
  129. {
  130. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  131. path: '/pages/order/index',
  132. name: 'order',
  133. meta: {
  134. title: '订单',
  135. },
  136. },
  137. {
  138. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  139. path: '/pages/order/details',
  140. name: 'details',
  141. meta: {
  142. title: '订单详情',
  143. },
  144. },
  145. {
  146. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  147. path: '/pages/scan/scan',
  148. name: 'scan',
  149. meta: {
  150. title: '扫码核销',
  151. },
  152. },
  153. {
  154. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  155. path: '/pages/scan/manual',
  156. name: 'manual',
  157. meta: {
  158. title: '输入核销',
  159. },
  160. },
  161. {
  162. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  163. path: '/pages/scan/details',
  164. name: 'candetails',
  165. meta: {
  166. title: '核销详情',
  167. },
  168. },
  169. {
  170. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  171. path: '/pages/scan/record',
  172. name: 'record',
  173. meta: {
  174. title: '核销记录',
  175. },
  176. },
  177. {
  178. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  179. path: '/pages/home/home',
  180. //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
  181. name: 'home',
  182. meta: {
  183. title: '首页',
  184. },
  185. },
  186. {
  187. path: '/pages/user/people',
  188. name: 'people',
  189. meta: {
  190. title: '个人中心',
  191. },
  192. },
  193. {
  194. path: '/pages/user/userdetail',
  195. name: 'userdetail',
  196. meta: {
  197. title: '个人详情',
  198. },
  199. },
  200. {
  201. path: '/pages/user/useredit',
  202. name: 'useredit',
  203. meta: {
  204. title: '个人编辑',
  205. },
  206. },
  207. {
  208. path: '/pages/user/userexit',
  209. name: 'userexit',
  210. meta: {
  211. title: '退出',
  212. },
  213. },
  214. {
  215. path: '/pages/user/location',
  216. name: 'location',
  217. meta: {
  218. title: '定位',
  219. },
  220. },
  221. {
  222. path: '/pages/common/exit',
  223. name: 'exit',
  224. meta: {
  225. title: '退出',
  226. },
  227. },
  228. {
  229. path: '/pages/common/success',
  230. name: 'success',
  231. meta: {
  232. title: 'success',
  233. },
  234. }, {
  235. path: '/pages/addressbook/address-book',
  236. name: 'addressBook',
  237. meta: {
  238. title: 'addressBook',
  239. },
  240. },
  241. {
  242. path: '/pages/addressbook/level-address-book',
  243. name: 'levelAddressBook',
  244. meta: {
  245. title: 'levelAddressBook',
  246. },
  247. },
  248. {
  249. path: '/pages/addressbook/member',
  250. name: 'member',
  251. meta: {
  252. title: 'member',
  253. },
  254. },
  255. {
  256. path: '/pages/addressbook/address-detail',
  257. name: 'addressDetail',
  258. meta: {
  259. title: 'addressDetail',
  260. },
  261. },
  262. {
  263. path: '/pages/annotation/annotationList',
  264. name: 'annotationList',
  265. meta: {
  266. title: '通知公告',
  267. },
  268. },
  269. {
  270. path: '/pages/annotation/annotationDetail',
  271. name: 'annotationDetail',
  272. meta: {
  273. title: '通知详情',
  274. },
  275. },
  276. {
  277. path: '/pages/common/helloWorld',
  278. name: 'helloWorld',
  279. meta: {
  280. title: 'helloWorld',
  281. },
  282. },
  283. {
  284. path: '/pages/store/settings',
  285. name: 'settings',
  286. meta: {
  287. title: '店铺设置',
  288. },
  289. },{
  290. path: '/pages/store/brandMessage',
  291. name: 'brandMessage',
  292. meta: {
  293. title: '品牌信息',
  294. },
  295. }, {
  296. path: '/pages/login/map',
  297. name: 'amap',
  298. meta: {
  299. title: '地图',
  300. },
  301. }, {
  302. path: '/pages/login/aMap',
  303. name: 'amap',
  304. meta: {
  305. title: '地图',
  306. },
  307. },
  308. {
  309. path: '/pages/store/businessInfor',
  310. name: 'businessInfor',
  311. meta: {
  312. title: '经营信息',
  313. },
  314. }, {
  315. path: '/pages/store/businessQua',
  316. name: 'businessInfor',
  317. meta: {
  318. title: '营业资质',
  319. },
  320. }, {
  321. path: '/pages/store/addHours',
  322. name: 'addHours',
  323. meta: {
  324. title: '添加营业时间',
  325. },
  326. },
  327. ]
  328. export default routes