feat: 优化播放条和mv播放时没有暂停音乐的问题

This commit is contained in:
algerkong
2023-12-27 21:05:25 +08:00
parent 62d414d659
commit a504b914fe
5 changed files with 58 additions and 39 deletions
+2 -1
View File
@@ -54,6 +54,7 @@ onMounted(async () => {
const handleShowMv = async (item: IMvItem) => {
store.commit('setIsPlay', false)
store.commit('setPlayMusic', false)
showMv.value = true
const res = await getMvUrl(item.id)
playMvItem.value = item;
@@ -75,7 +76,7 @@ const close = () => {
&-content {
@apply grid gap-6 pb-28 pr-3;
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(13%, 1fr));
}
.mv-item {