\ No newline at end of file
diff --git a/src/layout/components/PlayBar.vue b/src/layout/components/PlayBar.vue
new file mode 100644
index 0000000..5812933
--- /dev/null
+++ b/src/layout/components/PlayBar.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
{{ playMusic.name }}
+
{{ playMusic.song.artists[0].name }}
+
+
+
+
+ playMusicEvent
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/components/SearchBar.vue b/src/layout/components/SearchBar.vue
new file mode 100644
index 0000000..d67ff43
--- /dev/null
+++ b/src/layout/components/SearchBar.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/layout/components/index.ts b/src/layout/components/index.ts
index 682bee0..1acfebf 100644
--- a/src/layout/components/index.ts
+++ b/src/layout/components/index.ts
@@ -1,3 +1,5 @@
import AppMenu from "./AppMenu.vue";
+import PlayBar from "./PlayBar.vue";
+import SearchBar from "./SearchBar.vue";
-export { AppMenu };
+export { AppMenu, PlayBar, SearchBar };
diff --git a/src/utils/index.ts b/src/utils/index.ts
new file mode 100644
index 0000000..e32515e
--- /dev/null
+++ b/src/utils/index.ts
@@ -0,0 +1,12 @@
+// 设置歌手背景图片
+export const setBackgroundImg = (url: String) => {
+ return "background-image:" + "url(" + url + ")";
+};
+// 设置动画类型
+export const setAnimationClass = (type: String) => {
+ return "animate__animated " + type;
+};
+// 设置动画延时
+export const setAnimationDelay = (index: number = 6, time: number = 50) => {
+ return "animation-delay:" + index * time + "ms";
+};
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 6bdf870..3794a1b 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -2,226 +2,26 @@