From a2af0f390419be83edb67394789138a86ff6070c Mon Sep 17 00:00:00 2001 From: alger Date: Wed, 22 May 2024 19:20:57 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E4=BC=98=E5=8C=96=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 1 + src/components/common/PlayVideo.vue | 70 ++++++++++++++++++++++++++++ src/components/common/SearchItem.vue | 36 +++++++++++--- src/const/bar-const.ts | 48 +++++++++---------- src/layout/components/SearchBar.vue | 17 +++---- src/views/search/index.vue | 17 +++++++ 6 files changed, 150 insertions(+), 39 deletions(-) create mode 100644 src/components/common/PlayVideo.vue diff --git a/components.d.ts b/components.d.ts index 6c86794..83da548 100644 --- a/components.d.ts +++ b/components.d.ts @@ -29,6 +29,7 @@ declare module 'vue' { PlayBottom: typeof import('./src/components/common/PlayBottom.vue')['default'] PlayListsItem: typeof import('./src/components/common/PlayListsItem.vue')['default'] PlaylistType: typeof import('./src/components/PlaylistType.vue')['default'] + PlayVideo: typeof import('./src/components/common/PlayVideo.vue')['default'] RecommendAlbum: typeof import('./src/components/RecommendAlbum.vue')['default'] RecommendSinger: typeof import('./src/components/RecommendSinger.vue')['default'] RecommendSonglist: typeof import('./src/components/RecommendSonglist.vue')['default'] diff --git a/src/components/common/PlayVideo.vue b/src/components/common/PlayVideo.vue new file mode 100644 index 0000000..210195f --- /dev/null +++ b/src/components/common/PlayVideo.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/src/components/common/SearchItem.vue b/src/components/common/SearchItem.vue index 4157abc..c3dcac8 100644 --- a/src/components/common/SearchItem.vue +++ b/src/components/common/SearchItem.vue @@ -1,19 +1,27 @@