🐞 fix: 修复歌词页面与底栏冲突问题(#26) 修复搜索歌曲列表页面显示错误问题 (#33)

closed #26   #33
This commit is contained in:
alger
2025-01-03 22:03:26 +08:00
parent ba64631a17
commit 1dc7d0ceca
7 changed files with 39 additions and 12 deletions
+6 -3
View File
@@ -35,8 +35,8 @@
class="music-lrc"
style="height: 60vh"
:native-scrollbar="false"
@mouseover="mouseOverLayout"
@mouseleave="mouseLeaveLayout"
@mouseover="!isMobile ? mouseOverLayout : null"
@mouseleave="!isMobile ? mouseLeaveLayout : null"
>
<div ref="lrcContainer">
<div
@@ -79,7 +79,7 @@ import {
textColors,
useLyricProgress
} from '@/hooks/MusicHook';
import { getImgUrl } from '@/utils';
import { getImgUrl, isMobile } from '@/utils';
import { animateGradient, getHoverBackgroundColor, getTextColors } from '@/utils/linearColor';
// 定义 refs
@@ -321,6 +321,9 @@ defineExpose({
.music-lrc-text {
@apply text-xl text-center;
}
.music-content {
@apply h-[calc(100vh-120px)];
}
}
}