From 096e74a9bd11cfe96cb95f74e7920505875fe324 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Tue, 27 May 2025 12:08:34 +1000 Subject: [PATCH] fix(Playroom): add tooltip for lyrics button with fade transition on hover --- src/pages/Playroom.vue | 63 +++++++++++++++++++++++++++++++----------- 1 file changed, 47 insertions(+), 16 deletions(-) diff --git a/src/pages/Playroom.vue b/src/pages/Playroom.vue index 8a8647b..a112a15 100644 --- a/src/pages/Playroom.vue +++ b/src/pages/Playroom.vue @@ -43,6 +43,7 @@ const playButton = useTemplateRef('playButton') const presentQueueListDialog = ref(false) const presentLyrics = ref(false) +const showLyricsTooltip = ref(false) onMounted(async () => { Draggable.create(progressBarThumb.value, { @@ -486,21 +487,31 @@ watch(() => playQueueStore.currentIndex, () => {
- + +
+ + + +
+
这首曲目不提供歌词文本
+
启用歌词时,将会在下一首有歌词的曲目中显示歌词文本。
+
+
+
- \ No newline at end of file + + + \ No newline at end of file