From 12d48c83cbd3ff941c39d64abf810d423f6d998e Mon Sep 17 00:00:00 2001 From: mtvpls Date: Sat, 17 Jan 2026 10:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=96=E5=90=91videocard=E7=9A=84source=20na?= =?UTF-8?q?me=E8=B0=83=E6=95=B4=E5=88=B0=E6=B5=B7=E6=8A=A5=E5=8F=B3?= =?UTF-8?q?=E4=B8=8B=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoCard.tsx | 70 +++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index 147c782..9dcc1a5 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -963,6 +963,42 @@ const VideoCard = forwardRef(function VideoCard )} + {/* 竖向模式:来源名称显示在海报右下角 */} + {orientation === 'vertical' && config.showSourceName && source_name && !cmsData && ( +
{ + e.preventDefault(); + return false; + }} + > + { + e.preventDefault(); + return false; + }} + > + {origin === 'live' && ( + + )} + {source_name} + +
+ )} + {/* 豆瓣链接 */} {config.showDoubanLink && actualDoubanId && actualDoubanId !== 0 && ( (function VideoCard )} - {/* 标题与来源 */} + {/* 标题 */}
(function VideoCard >
- {config.showSourceName && source_name && !cmsData && ( - { - e.preventDefault(); - return false; - }} - > - { - e.preventDefault(); - return false; - }} - > - {origin === 'live' && ( - - )} - {source_name} - - - )} )}