diff --git a/components/player/desktop/DesktopMoreMenu.tsx b/components/player/desktop/DesktopMoreMenu.tsx index 9c5afca..75febe5 100644 --- a/components/player/desktop/DesktopMoreMenu.tsx +++ b/components/player/desktop/DesktopMoreMenu.tsx @@ -210,7 +210,7 @@ export function DesktopMoreMenu({ const MenuContent = (
) : ( )} @@ -274,9 +274,9 @@ export function DesktopMoreMenu({
{/* Fullscreen Mode Selector */} -
-
- +
+
+ 全屏方式
@@ -284,31 +284,31 @@ export function DesktopMoreMenu({ onClick={() => { setFullscreenType(fullscreenType === 'native' ? 'window' : 'native'); }} - className="flex items-center gap-1 sm:gap-1.5 bg-[var(--glass-bg)] border border-[var(--glass-border)] text-[var(--text-color)] text-[10px] sm:text-xs rounded-[var(--radius-2xl)] px-2 sm:px-2.5 py-1 sm:py-1.5 outline-none hover:border-[var(--accent-color)] hover:bg-[color-mix(in_srgb,var(--accent-color)_5%,transparent)] transition-all cursor-pointer whitespace-nowrap" + className={`flex items-center gap-1 bg-[var(--glass-bg)] border border-[var(--glass-border)] text-[var(--text-color)] rounded-[var(--radius-2xl)] outline-none hover:border-[var(--accent-color)] hover:bg-[color-mix(in_srgb,var(--accent-color)_5%,transparent)] transition-all cursor-pointer whitespace-nowrap ${isRotated ? 'px-1.5 py-0.5 text-[9px]' : 'px-2 sm:px-2.5 py-1 sm:py-1.5 text-[10px] sm:text-xs'}`} > {fullscreenType === 'native' ? '系统全屏' : '网页全屏'} - +
{/* Show Mode Indicator Switch */} -
-
- - 显示模式指示器 +
+
+ + 模式指示器
@@ -355,103 +355,103 @@ export function DesktopMoreMenu({
{/* Auto Next Episode Switch */} -
-
- +
+
+ 自动下一集
{/* Skip Intro Switch */} -
-
-
- +
+
+
+ 跳过片头
{/* Expandable Input */} {autoSkipIntro && ( -
- 时长: +
+ 时长: setSkipIntroSeconds(parseInt(e.target.value) || 0)} - className="w-12 sm:w-16 px-1.5 py-0.5 sm:px-2 sm:py-1 text-xs sm:text-sm text-center bg-[var(--glass-bg)] border border-[var(--glass-border)] rounded-[var(--radius-2xl)] text-[var(--text-color)] focus:outline-none focus:border-[var(--accent-color)] no-spinner" + className={`text-center bg-[var(--glass-bg)] border border-[var(--glass-border)] rounded-[var(--radius-2xl)] text-[var(--text-color)] focus:outline-none focus:border-[var(--accent-color)] no-spinner ${isRotated ? 'w-10 px-1 py-0 text-[10px]' : 'w-12 sm:w-16 px-1.5 py-0.5 sm:px-2 sm:py-1 text-xs sm:text-sm'}`} onClick={(e) => e.stopPropagation()} /> - +
)}
{/* Skip Outro Switch */} -
-
-
- +
+
+
+ 跳过片尾
{/* Expandable Input */} {autoSkipOutro && ( -
- 剩余: +
+ 剩余: setSkipOutroSeconds(parseInt(e.target.value) || 0)} - className="w-12 sm:w-16 px-1.5 py-0.5 sm:px-2 sm:py-1 text-xs sm:text-sm text-center bg-[var(--glass-bg)] border border-[var(--glass-border)] rounded-[var(--radius-2xl)] text-[var(--text-color)] focus:outline-none focus:border-[var(--accent-color)] no-spinner" + className={`text-center bg-[var(--glass-bg)] border border-[var(--glass-border)] rounded-[var(--radius-2xl)] text-[var(--text-color)] focus:outline-none focus:border-[var(--accent-color)] no-spinner ${isRotated ? 'w-10 px-1 py-0 text-[10px]' : 'w-12 sm:w-16 px-1.5 py-0.5 sm:px-2 sm:py-1 text-xs sm:text-sm'}`} onClick={(e) => e.stopPropagation()} /> - +
)}
diff --git a/components/player/desktop/DesktopSpeedMenu.tsx b/components/player/desktop/DesktopSpeedMenu.tsx index c5f26c7..29e1e45 100644 --- a/components/player/desktop/DesktopSpeedMenu.tsx +++ b/components/player/desktop/DesktopSpeedMenu.tsx @@ -180,7 +180,7 @@ export function DesktopSpeedMenu({ const MenuContent = (
onSpeedChange(speed)} - className={`w-full px-3 py-1 sm:px-4 sm:py-1.5 rounded-[var(--radius-2xl)] text-xs sm:text-sm font-medium transition-colors ${playbackRate === speed + className={`w-full ${isRotated ? 'px-2 py-0.5 text-[10px]' : 'px-3 py-1 sm:px-4 sm:py-1.5 text-xs sm:text-sm'} rounded-[var(--radius-2xl)] font-medium transition-colors ${playbackRate === speed ? 'bg-[var(--accent-color)] text-white' : 'text-[var(--text-color)] hover:bg-[color-mix(in_srgb,var(--accent-color)_15%,transparent)]' }`}