优化移动端体验

This commit is contained in:
mtvpls
2025-12-02 17:50:22 +08:00
parent 3af1d7fb24
commit 72c2540f69
3 changed files with 27 additions and 45 deletions
+8 -6
View File
@@ -401,12 +401,14 @@ const EpisodeSelector: React.FC<EpisodeSelectorProps> = ({
{/* 弹幕 Tab 内容 */}
{activeTab === 'danmaku' && onDanmakuSelect && (
<DanmakuPanel
videoTitle={videoTitle || ''}
currentEpisodeIndex={value - 1}
onDanmakuSelect={onDanmakuSelect}
currentSelection={currentDanmakuSelection || null}
/>
<div className='flex-1 min-h-0 overflow-hidden'>
<DanmakuPanel
videoTitle={videoTitle || ''}
currentEpisodeIndex={value - 1}
onDanmakuSelect={onDanmakuSelect}
currentSelection={currentDanmakuSelection || null}
/>
</div>
)}
{/* 选集 Tab 内容 */}