From c07f430009ff914515711cfc3a7ad70f77abcfd6 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Mon, 26 May 2025 12:04:19 +1000 Subject: [PATCH] =?UTF-8?q?feat(Playroom):=20=E4=BC=98=E5=8C=96=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E7=95=8C=E9=9D=A2=E6=A0=B7=E5=BC=8F=E5=B9=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=A7=86=E8=A7=89=E5=B1=82=E6=AC=A1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 替换列表箭头图标为循环双箭头图标 - 背景不再使用降低亮度的蒙版 - 为文本和按钮添加阴影和模糊背景效果 - 统一调整按钮尺寸和交互样式 - 优化时间显示布局和切换功能 --- src/pages/Playroom.vue | 120 +++++++++++++++++++++++++++++------------ 1 file changed, 86 insertions(+), 34 deletions(-) diff --git a/src/pages/Playroom.vue b/src/pages/Playroom.vue index e503d36..e5741e3 100644 --- a/src/pages/Playroom.vue +++ b/src/pages/Playroom.vue @@ -18,7 +18,7 @@ import MusicListIcon from '../assets/icons/musiclist.vue' import EllipsisHorizontalIcon from '../assets/icons/ellipsishorizontal.vue' import XIcon from '../assets/icons/x.vue' import ShuffleIcon from '../assets/icons/shuffle.vue' -import ListArrowIcon from '../assets/icons/listarrow.vue' +import CycleTwoArrowsIcon from '../assets/icons/cycletwoarrows.vue' const playQueueStore = usePlayQueueStore() gsap.registerPlugin(Draggable) @@ -140,37 +140,60 @@ function makePlayQueueListDismiss() { v-if="playQueueStore.list[playQueueStore.currentIndex].album?.coverDeUrl"> -
+
-
+
-
-
- {{ playQueueStore.list[playQueueStore.currentIndex].song.name }} +
+
+
+ {{ playQueueStore.list[playQueueStore.currentIndex].song.name }} +
+
+ {{ artistsOrganize(playQueueStore.list[playQueueStore.currentIndex].song.artists ?? []) }} — + {{ playQueueStore.list[playQueueStore.currentIndex].album?.name ?? '未知专辑' }} +
-
- {{ artistsOrganize(playQueueStore.list[playQueueStore.currentIndex].song.artists ?? []) }} — - {{ playQueueStore.list[playQueueStore.currentIndex].album?.name ?? '未知专辑' }} + +
+
+ {{ playQueueStore.list[playQueueStore.currentIndex].song.name }} +
+
+ {{ artistsOrganize(playQueueStore.list[playQueueStore.currentIndex].song.artists ?? []) }} — + {{ playQueueStore.list[playQueueStore.currentIndex].album?.name ?? '未知专辑' }} +
+
-
+
-
- {{ timeFormatter(Math.floor(playQueueStore.currentTime)) }} +
+ {{ timeFormatter(Math.floor(playQueueStore.currentTime)) }} + {{ timeFormatter(Math.floor(playQueueStore.currentTime)) }} +
+
+ {{ formatDetector() }} + {{ formatDetector() }} +
+
+
+
-
{{ formatDetector() }}
-
@@ -178,44 +201,73 @@ function makePlayQueueListDismiss() {
- -
- - -
- -
@@ -240,13 +292,13 @@ function makePlayQueueListDismiss() {