add video collect

This commit is contained in:
2023-10-30 19:27:28 +08:00
parent 49bdea87f7
commit f42307902f
14 changed files with 1006 additions and 57 deletions

View File

@@ -22,6 +22,24 @@ const routes: Array<RouteRecordRaw> = [
name: 'resetPassword',
component: () => import('@/views/ChangePasswordView.vue'),
},
{
path: '/video-collect/:id',
name: 'video-collect',
component: () => import('@/views/VideoCollectPublic.vue'),
meta: {
title: '推荐 · 视频征集',
keepAlive: true,
},
},
{
path: '/video-collect/list/:id',
name: 'video-collect-list',
component: () => import('@/views/VideoCollectListView.vue'),
meta: {
title: '结果 · 视频征集',
keepAlive: true,
},
},
{
path: '/user/:id',
name: 'user',
@@ -148,8 +166,26 @@ const routes: Array<RouteRecordRaw> = [
keepAlive: true,
},
},
{
path: 'video-collect/:id',
name: 'manage-videoCollect-Detail',
component: () => import('@/views/manage/VideoCollectDetailView.vue'),
meta: {
title: '详情 · 视频征集',
keepAlive: true,
parent: 'manage-videoCollect',
},
},
],
},
{
path: '/:pathMatch(.*)*',
name: 'notfound',
component: import('@/views/NotfoundView.vue'),
meta: {
title: '页面不存在',
},
},
]
const router = createRouter({