From 90fe293b069eb9f384622926e3986049428d5db2 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Sun, 17 May 2026 00:47:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=92=AD=E6=94=BE=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E9=9D=A2=E6=9D=BF=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E9=9B=86=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoCard.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index a8fed01..d26919b 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -1039,10 +1039,10 @@ const VideoCard = forwardRef(function VideoCard e.preventDefault(); return false; }} - > - {/* 集数显示 */} -
+ {/* 集数显示 */} +
(function VideoCard e.preventDefault(); return false; }} - > - 共{actualEpisodes}集 -
+ > + {currentEpisode !== undefined && currentEpisode !== null + ? `${currentEpisode}/${actualEpisodes}` + : `共${actualEpisodes}集`} +
{/* 年份显示 */} {displayYear && (