From 68274900b40e02846a714671fbdb68e140d96a62 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Thu, 16 Apr 2026 16:17:05 +0800 Subject: [PATCH] Revert "Show year badges on single-result search cards" This reverts commit 80fd408659ea98b6bb8d641fd50cb6d9075d12e4. --- src/components/VideoCard.tsx | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx index 801979f..13c6f2f 100644 --- a/src/components/VideoCard.tsx +++ b/src/components/VideoCard.tsx @@ -982,8 +982,7 @@ const VideoCard = forwardRef(function VideoCard )} - {orientation === 'vertical' && - ((actualEpisodes && actualEpisodes > 1) || displayYear) && ( + {actualEpisodes && actualEpisodes > 1 && orientation === 'vertical' && (
(function VideoCard }} > {/* 集数显示 */} - {actualEpisodes && actualEpisodes > 1 && ( -
{ - e.preventDefault(); - return false; - }} - > - 共{actualEpisodes}集 -
- )} +
{ + e.preventDefault(); + return false; + }} + > + 共{actualEpisodes}集 +
{/* 年份显示 */} {displayYear && (