diff --git a/src/pages/Playroom.vue b/src/pages/Playroom.vue index 8d52d7a..81c0607 100644 --- a/src/pages/Playroom.vue +++ b/src/pages/Playroom.vue @@ -19,7 +19,7 @@ onMounted(() => { Draggable.create(progressBarThumb.value, { type: 'x', bounds: progressBarContainer.value, - onDrag: function() { + onDrag: function () { const thumbPosition = this.x const containerWidth = progressBarContainer.value?.clientWidth || 0 const newTime = (thumbPosition / containerWidth) * playQueueStore.duration @@ -61,7 +61,8 @@ watch(() => playQueueStore.currentTime, () => {
{{ artistsOrganize(playQueueStore.list[playQueueStore.currentIndex].song.artists ?? []) }} — - {{ playQueueStore.list[playQueueStore.currentIndex].album?.name ?? '未知专辑' }}
+ {{ playQueueStore.list[playQueueStore.currentIndex].album?.name ?? '未知专辑' }} +
@@ -70,10 +71,67 @@ watch(() => playQueueStore.currentTime, () => {
+
-
{{ timeFormatter(Math.floor(playQueueStore.currentTime)) }}
+
+ {{ timeFormatter(Math.floor(playQueueStore.currentTime)) }} +
MP3
- + +
+ +
+
+
+ + + + + + +
+