From 29a14bf8fa7fa714f520842ffe9d986e747ca2ba Mon Sep 17 00:00:00 2001 From: mtvpls Date: Tue, 17 Feb 2026 01:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=AD=E6=94=BE=E9=A1=B5=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=AF=A6=E6=83=85=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/play/page.tsx | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index 4de5e6f..0c6b41a 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -55,6 +55,7 @@ import { usePlaySync } from '@/hooks/usePlaySync'; import AIChatPanel from '@/components/AIChatPanel'; import CorrectDialog from '@/components/CorrectDialog'; import DanmakuFilterSettings from '@/components/DanmakuFilterSettings'; +import DetailPanel from '@/components/DetailPanel'; import DoubanComments from '@/components/DoubanComments'; import DownloadEpisodeSelector from '@/components/DownloadEpisodeSelector'; import EpisodeSelector from '@/components/EpisodeSelector'; @@ -128,6 +129,9 @@ function PlayPageClient() { // 纠错弹窗状态 const [showCorrectDialog, setShowCorrectDialog] = useState(false); + // 详情面板状态 + const [showDetailPanel, setShowDetailPanel] = useState(false); + // 检查AI功能是否启用 useEffect(() => { if (typeof window !== 'undefined') { @@ -7804,6 +7808,19 @@ function PlayPageClient() { )} + {/* 详情按钮 */} + {detail && ( + + )} {/* 纠错按钮 - 仅小雅源显示 */} {detail && detail.source === 'xiaoya' && (