You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
730 B

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. import { createRouter, createWebHistory } from 'vue-router'
  2. const router = createRouter({
  3. history: createWebHistory(import.meta.env.BASE_URL),
  4. routes: [
  5. {
  6. path: '/',
  7. redirect: '/admin/landingList'
  8. },
  9. // 落地页活动管理
  10. {
  11. path: '/admin/landingList',
  12. name: 'landingList',
  13. component: () => import('../views/admin/landingList.vue'),
  14. meta: {
  15. title: '落地页活动管理',
  16. }
  17. },
  18. // 落地页活动详情
  19. {
  20. path: '/admin/landingDetail/:id',
  21. name: 'landingDetail',
  22. component: () => import('../views/admin/landingDetail.vue'),
  23. meta: {
  24. title: '落地页活动详情',
  25. }
  26. }
  27. ],
  28. })
  29. export default router