From 77dd738d9773af66282d7a7402bca9d607815338 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Fri, 2 Jan 2026 10:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AB=96=E5=90=91videocard?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoCard.tsx | 55 ++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index 2951e5b..1da9e74 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -849,23 +849,6 @@ const VideoCard = forwardRef(function VideoCard )} - {/* 年份徽章 */} - {config.showYear && actualYear && actualYear !== 'unknown' && actualYear.trim() !== '' && ( -
{ - e.preventDefault(); - return false; - }} - > - {actualYear.slice(-2)} -
- )} {/* 季度徽章 */} {seasonNumber && ( @@ -906,7 +889,7 @@ const VideoCard = forwardRef(function VideoCard {actualEpisodes && actualEpisodes > 1 && orientation === 'vertical' && (
(function VideoCard return false; }} > - {currentEpisode - ? `${currentEpisode}/${actualEpisodes}` - : actualEpisodes} + {/* 集数显示 */} +
{ + e.preventDefault(); + return false; + }} + > + 共{actualEpisodes}集 +
+ + {/* 年份显示 */} + {actualYear && actualYear !== 'unknown' && actualYear.trim() !== '' && ( +
{ + e.preventDefault(); + return false; + }} + > + {actualYear.slice(-2)}年 +
+ )}
)}