From 19251c8f17c37f89d1b1885ae9ab73bc02f48925 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Fri, 27 Feb 2026 17:55:39 +0800 Subject: [PATCH] =?UTF-8?q?videocard=E7=9B=B4=E6=92=AD=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoCard.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index 368a94b..ebff27e 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -611,20 +611,22 @@ const VideoCard = forwardRef(function VideoCard }); } - // 详情页面按钮 - actions.push({ - id: 'detail', - label: '详情', - icon: , - onClick: () => { - setShowMobileActions(false); - // 延迟打开 DetailPanel,确保 MobileActionSheet 完全清理完成 - setTimeout(() => { - setShowDetailPanel(true); - }, 250); - }, - color: 'default' as const, - }); + // 详情页面按钮(直播源不显示详情) + if (origin !== 'live') { + actions.push({ + id: 'detail', + label: '详情', + icon: , + onClick: () => { + setShowMobileActions(false); + // 延迟打开 DetailPanel,确保 MobileActionSheet 完全清理完成 + setTimeout(() => { + setShowDetailPanel(true); + }, 250); + }, + color: 'default' as const, + }); + } // AI问片功能 if (aiEnabled && actualTitle) {