From 9dc90eeb850f2a4078ff78b7c89698288d2cf9df Mon Sep 17 00:00:00 2001 From: lzw-723 Date: Sat, 10 Jan 2026 22:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=89=8D=E7=AB=AF=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/AudioPlayer.vue | 153 +++--------------- web/src/main.js | 7 +- web/src/stores/player.js | 241 ++++++++++++++++++++++++++++- web/src/views/MusicView.vue | 8 +- 4 files changed, 274 insertions(+), 135 deletions(-) diff --git a/web/src/components/AudioPlayer.vue b/web/src/components/AudioPlayer.vue index 67fbcec..82bd553 100644 --- a/web/src/components/AudioPlayer.vue +++ b/web/src/components/AudioPlayer.vue @@ -2,48 +2,48 @@
- {{ currentTrack.title || '未播放' }} - {{ currentTrack.artist || '-' }} + {{ currentTrack.title }} + {{ currentTrack.artist }}
- - -
- {{ formatTime(currentTime) }} + {{ player.formatTime(currentTime) }} - {{ formatTime(duration) }} + {{ player.formatTime(duration) }}
-
@@ -51,129 +51,24 @@