From 512f7b52bbac6e016a1637bda031a1cb7e5171f6 Mon Sep 17 00:00:00 2001 From: algerkong Date: Thu, 22 Jul 2021 11:32:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=9F=B3=E9=87=8F=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/SongItem.vue | 2 -- src/layout/components/PlayBar.vue | 41 +++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 11 deletions(-) diff --git a/src/components/common/SongItem.vue b/src/components/common/SongItem.vue index 656ebf6..19e98f6 100644 --- a/src/components/common/SongItem.vue +++ b/src/components/common/SongItem.vue @@ -60,8 +60,6 @@ const playMusic = computed(() => store.state.playMusic); // 判断是否为正在播放的音乐 const isPlaying = computed(() => { - console.log(1231223, playMusic.value.id, props.item.id); - return playMusic.value.id == props.item.id; }) diff --git a/src/layout/components/PlayBar.vue b/src/layout/components/PlayBar.vue index 3022425..51c4547 100644 --- a/src/layout/components/PlayBar.vue +++ b/src/layout/components/PlayBar.vue @@ -27,22 +27,24 @@
{{ getNowTime }}
- - - +
{{ getAllTime }}
+
+
+ +
+ +
- playMusicEvent