diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index 13c6f2f..801979f 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -982,7 +982,8 @@ const VideoCard = forwardRef(function VideoCard )} - {actualEpisodes && actualEpisodes > 1 && orientation === 'vertical' && ( + {orientation === 'vertical' && + ((actualEpisodes && actualEpisodes > 1) || displayYear) && (
(function VideoCard }} > {/* 集数显示 */} -
{ - e.preventDefault(); - return false; - }} - > - 共{actualEpisodes}集 -
+ {actualEpisodes && actualEpisodes > 1 && ( +
{ + e.preventDefault(); + return false; + }} + > + 共{actualEpisodes}集 +
+ )} {/* 年份显示 */} {displayYear && (