fix(Playroom): 默认隐藏播放队列对话框并优化歌曲信息显示

默认隐藏播放队列对话框以避免不必要的干扰,并优化歌曲信息显示,防止文本溢出
This commit is contained in:
Astrian Zheng 2025-05-25 20:27:48 +10:00
parent 73aaef1662
commit 427fc5905c
Signed by: Astrian
SSH Key Fingerprint: SHA256:rVnhx3DAKjujCwWE13aDl7uV6+9U1MvydLkNRXJrBiA

View File

@ -29,7 +29,7 @@ const playQueueDialogContainer = useTemplateRef('playQueueDialogContainer')
const playQueueDialog = useTemplateRef('playQueueDialog')
const displayTimeLeft = ref(false)
const presentQueueListDialog = ref(true)
const presentQueueListDialog = ref(false)
onMounted(() => {
Draggable.create(progressBarThumb.value, {
@ -254,9 +254,9 @@ function makePlayQueueListDismiss() {
</div>
</div>
</div>
<div class="flex flex-col text-left">
<div class="text-white text-base font-medium">{{ track.song.name }}</div>
<div class="text-white/75 text-sm">{{ artistsOrganize(track.song.artists?? []) }} {{ track.album?.name?? '未知专辑' }}</div>
<div class="flex flex-col text-left flex-auto w-0">
<div class="text-white text-base font-medium truncate">{{ track.song.name }}</div>
<div class="text-white/75 text-sm truncate">{{ artistsOrganize(track.song.artists?? []) }} {{ track.album?.name?? '未知专辑' }}</div>
</div>
</div>
</button>