diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index d95d253..ba3e301 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -2749,72 +2749,98 @@ function PlayPageClient() { {/* 列表区域 */}
-
- {danmakuMatches.map((anime) => ( +
+ {danmakuMatches.map((anime, index) => ( ))} diff --git a/src/components/DanmakuPanel.tsx b/src/components/DanmakuPanel.tsx index 1e9276b..0006fb0 100644 --- a/src/components/DanmakuPanel.tsx +++ b/src/components/DanmakuPanel.tsx @@ -223,25 +223,71 @@ export default function DanmakuPanel({
)} - {/* 剧集网格 */} + {/* 剧集列表 */} {!isLoadingEpisodes && episodes.length > 0 && ( -
- {episodes.map((episode) => { +
+ {episodes.map((episode, index) => { const isSelected = isEpisodeSelected(episode.episodeId); return ( ); })}