feat: 调整迷你播放栏列表项高度,从52px更改为69px,以优化滚动体验

This commit is contained in:
alger
2025-04-06 21:11:17 +08:00
parent 9aff694116
commit e17941dfb0

View File

@@ -253,7 +253,7 @@ const togglePlaylist = () => {
const scrollToPlayList = () => {
setTimeout(() => {
const currentIndex = playerStore.playListIndex;
const itemHeight = 52; // 每个列表项的高度
const itemHeight = 69; // 每个列表项的高度
palyListRef.value?.scrollTo({
top: currentIndex * itemHeight,
behavior: 'smooth'