From ef7278088e5bdec77f45b64c65f820924adcab19 Mon Sep 17 00:00:00 2001 From: shinya Date: Sun, 29 Jun 2025 17:13:27 +0800 Subject: [PATCH] feat: adjust episodes button --- src/app/play/page.tsx | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index 963d19e..d5718bc 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -1114,7 +1114,13 @@ function PlayPageClient() { {totalEpisodes > 1 && ( -
+
{ + setShowEpisodePanel(true); + playerContainerRef.current?.focus(); + }} + > 第 {currentEpisodeIndex + 1} 集 / 共 {totalEpisodes} 集
)} @@ -1377,22 +1383,7 @@ function PlayPageClient() { ) : null, beforeFullscreenButton: ( <> - {totalEpisodes > 1 && ( - - )} - {/* 自定义 AirPlay 按钮 */} - - - + {/* 自定义 AirPlay 按钮 */} + + + ), }}