From 9c99f96e9455cb91021d656aa2525c4f34cd611e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Mon, 6 Jul 2026 08:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E3=80=81?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.vue | 1 + client/src/pages/VideoDetail.vue | 68 +++++++-- client/src/pages/Videos.vue | 97 ++++++++++--- client/src/pages/admin/VideoAlbums.vue | 3 +- client/src/pages/admin/VideoForm.vue | 38 ++++- client/src/pages/admin/Videos.vue | 2 +- client/src/services/api.ts | 40 ++++-- server/handlers/video.go | 61 +++++--- server/models/video.go | 44 ++++-- server/repositories/video_repository.go | 178 ++++++++++++++++++++++-- 10 files changed, 445 insertions(+), 87 deletions(-) diff --git a/client/src/App.vue b/client/src/App.vue index 9b6a4da..20642b8 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -75,6 +75,7 @@ const isFullWidthPage = computed(() => { return path.startsWith('/admin') || path === '/login' || path.startsWith('/blog/') || path.startsWith('/works/') + || path.startsWith('/columns') }) // 应用网站配置到页面标题和meta标签 diff --git a/client/src/pages/VideoDetail.vue b/client/src/pages/VideoDetail.vue index a679396..ff45c15 100644 --- a/client/src/pages/VideoDetail.vue +++ b/client/src/pages/VideoDetail.vue @@ -18,24 +18,68 @@