feat: 优化移动端适配

This commit is contained in:
alger
2026-02-04 21:54:28 +08:00
parent feb041f5c2
commit fab29e5c79
5 changed files with 27 additions and 18 deletions
@@ -16,6 +16,7 @@
<!-- Hover Overlay with Song Preview -->
<div
v-if="showHoverTracks"
class="absolute inset-0 flex items-end opacity-0 transition-all duration-500 ease-out group-hover:opacity-100"
:style="overlayStyle"
>
@@ -108,10 +109,12 @@ const props = withDefaults(
badgeType?: 'new' | 'hot' | 'recommend';
playCount?: number;
animationDelay?: string;
showHoverTracks?: boolean;
}>(),
{
tracks: () => [],
animationDelay: '0s'
animationDelay: '0s',
showHoverTracks: true
}
);