mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-24 16:27:23 +08:00
🐞 fix: 修复播放列表无法显示问题
This commit is contained in:
@@ -79,10 +79,12 @@
|
|||||||
</template>
|
</template>
|
||||||
<div class="music-play-list">
|
<div class="music-play-list">
|
||||||
<div class="music-play-list-back"></div>
|
<div class="music-play-list-back"></div>
|
||||||
<n-virtual-list :item-size="75" item-resizable>
|
<n-virtual-list :item-size="57" item-resizable :items="playList">
|
||||||
<div class="music-play-list-content">
|
<template #default="{ item }">
|
||||||
<song-item v-for="item in playList" :key="item.id" :item="item" mini></song-item>
|
<div class="music-play-list-content">
|
||||||
</div>
|
<song-item :key="item.id" :item="item" mini></song-item>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</n-virtual-list>
|
</n-virtual-list>
|
||||||
</div>
|
</div>
|
||||||
</n-popover>
|
</n-popover>
|
||||||
@@ -304,13 +306,14 @@ const setMusicFull = () => {
|
|||||||
.music-play {
|
.music-play {
|
||||||
&-list {
|
&-list {
|
||||||
height: 50vh;
|
height: 50vh;
|
||||||
@apply relative rounded-3xl overflow-hidden;
|
width: 300px;
|
||||||
|
@apply relative rounded-3xl overflow-hidden py-2;
|
||||||
&-back {
|
&-back {
|
||||||
backdrop-filter: blur(20px);
|
backdrop-filter: blur(20px);
|
||||||
@apply absolute top-0 left-0 w-full h-full bg-gray-800 bg-opacity-75;
|
@apply absolute top-0 left-0 w-full h-full bg-gray-800 bg-opacity-75;
|
||||||
}
|
}
|
||||||
&-content {
|
&-content {
|
||||||
padding: 10px;
|
@apply mx-2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -346,4 +349,8 @@ const setMusicFull = () => {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.n-popover) {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user