-
setActiveTab('episodes')}
- className={`flex-1 py-3 px-6 text-center cursor-pointer transition-all duration-200 font-medium
- ${
- activeTab === 'episodes'
- ? 'text-green-500 dark:text-green-400'
- : 'text-gray-700 hover:text-green-600 bg-black/5 dark:bg-white/5 dark:text-gray-300 dark:hover:text-green-400 hover:bg-black/3 dark:hover:bg-white/3'
- }
- `.trim()}
- >
- 选集
-
+ {totalEpisodes > 1 && (
+
setActiveTab('episodes')}
+ className={`flex-1 py-3 px-6 text-center cursor-pointer transition-all duration-200 font-medium
+ ${
+ activeTab === 'episodes'
+ ? 'text-green-500 dark:text-green-400'
+ : 'text-gray-700 hover:text-green-600 bg-black/5 dark:bg-white/5 dark:text-gray-300 dark:hover:text-green-400 hover:bg-black/3 dark:hover:bg-white/3'
+ }
+ `.trim()}
+ >
+ 选集
+
+ )}
{
return (
{/* 移动端头部 */}
-
+
{/* 主要布局容器 */}
@@ -26,9 +28,11 @@ const PageLayout = ({ children, activePath = '/' }: PageLayoutProps) => {
{/* 主内容区域 */}
{/* 桌面端左上角返回按钮 */}
-
-
-
+ {['/play', '/aggregate'].includes(activePath) && (
+
+
+
+ )}
{/* 桌面端顶部按钮 */}
diff --git a/src/components/VideoCard.tsx b/src/components/VideoCard.tsx
index 4c92e56..3b114f0 100644
--- a/src/components/VideoCard.tsx
+++ b/src/components/VideoCard.tsx
@@ -153,7 +153,7 @@ export default function VideoCard({
return (