From 831ff82c8a54f4eeb5c6c1c891afbf0df097a503 Mon Sep 17 00:00:00 2001 From: Astrian Zheng Date: Sat, 24 May 2025 21:20:30 +1000 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4Playing=E5=92=8CS?= =?UTF-8?q?earchBar=E7=BB=84=E4=BB=B6=E5=B9=B6=E9=87=8D=E6=9E=84App?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除不再使用的Playing和SearchBar组件,将播放队列功能集成到App.vue中,优化页面布局和导航逻辑 --- src/App.vue | 61 ++++++++++++++++++++++++++---------- src/components/Playing.vue | 16 ---------- src/components/SearchBar.vue | 20 ------------ 3 files changed, 44 insertions(+), 53 deletions(-) delete mode 100644 src/components/Playing.vue delete mode 100644 src/components/SearchBar.vue diff --git a/src/App.vue b/src/App.vue index 800e0c7..0529b19 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,8 @@ @@ -10,11 +11,11 @@ const route = useRoute()
-
-
    +
    +
    • 浏览 @@ -32,21 +33,47 @@ const route = useRoute()
    -
    - +
    +
    -
    -
    - + + + +
    + +
    + {{ playQueueStore.list[playQueueStore.currentIndex].song.name }} +
    +
    - +
- -
\ No newline at end of file diff --git a/src/components/Playing.vue b/src/components/Playing.vue deleted file mode 100644 index d32bad5..0000000 --- a/src/components/Playing.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue deleted file mode 100644 index bcf8069..0000000 --- a/src/components/SearchBar.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - \ No newline at end of file