diff --git a/components.d.ts b/components.d.ts
index 1bea90d..168a86e 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -27,10 +27,7 @@ declare module 'vue' {
NLayout: typeof import('naive-ui')['NLayout']
NMessageProvider: typeof import('naive-ui')['NMessageProvider']
NModal: typeof import('naive-ui')['NModal']
- NPagination: typeof import('naive-ui')['NPagination']
NPopover: typeof import('naive-ui')['NPopover']
- NRadioButton: typeof import('naive-ui')['NRadioButton']
- NRadioGroup: typeof import('naive-ui')['NRadioGroup']
NScrollbar: typeof import('naive-ui')['NScrollbar']
NSlider: typeof import('naive-ui')['NSlider']
NSpin: typeof import('naive-ui')['NSpin']
diff --git a/src/components/MusicList.vue b/src/components/MusicList.vue
index fc6e597..30a3d89 100644
--- a/src/components/MusicList.vue
+++ b/src/components/MusicList.vue
@@ -25,24 +25,24 @@
-
-
-
- {{ listInfo.creator.nickname }}
-
-
-
- {{ listInfo.description }}
-
-
+
+
+ {{ listInfo.creator.nickname }}
+
+
+
+ {{ listInfo.description }}
+
+
+
@@ -248,25 +248,21 @@ watch(
@apply w-[25%] flex-shrink-0 pr-8 flex flex-col;
.music-cover {
- @apply w-full aspect-square rounded-2xl overflow-hidden mb-4;
+ @apply w-full aspect-square rounded-2xl overflow-hidden mb-4 min-h-[250px];
.cover-img {
@apply w-full h-full object-cover;
}
}
- .music-detail {
- @apply flex flex-col flex-grow;
-
- .creator-info {
- @apply flex items-center mb-4;
- .creator-name {
- @apply ml-2 text-gray-700 dark:text-gray-300;
- }
+ .creator-info {
+ @apply flex items-center mb-4;
+ .creator-name {
+ @apply ml-2 text-gray-700 dark:text-gray-300;
}
+ }
- .music-desc {
- @apply text-sm text-gray-600 dark:text-gray-400 leading-relaxed;
- }
+ .music-desc {
+ @apply text-sm text-gray-600 dark:text-gray-400 leading-relaxed pr-4;
}
}
diff --git a/src/components/PlaylistType.vue b/src/components/PlaylistType.vue
index fb58985..1a3f3b4 100644
--- a/src/components/PlaylistType.vue
+++ b/src/components/PlaylistType.vue
@@ -136,7 +136,7 @@ onMounted(() => {
}
.play-list-type {
width: 250px;
- @apply mx-6;
+ @apply mr-4;
&-item,
&-showall {
@apply bg-light dark:bg-black text-gray-900 dark:text-white;
diff --git a/src/components/RecommendSinger.vue b/src/components/RecommendSinger.vue
index db8a911..d0ca935 100644
--- a/src/components/RecommendSinger.vue
+++ b/src/components/RecommendSinger.vue
@@ -10,7 +10,7 @@
:style="setAnimationDelay(0, 100)"
>
-
+
{{ item.musicSize }}首
diff --git a/src/components/common/PlayVideo.vue b/src/components/common/PlayVideo.vue
deleted file mode 100644
index 64def31..0000000
--- a/src/components/common/PlayVideo.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/components/common/SearchItem.vue b/src/components/common/SearchItem.vue
index f0df785..b261a43 100644
--- a/src/components/common/SearchItem.vue
+++ b/src/components/common/SearchItem.vue
@@ -1,7 +1,7 @@
-
+
@@ -17,6 +17,7 @@
:name="item.name"
:song-list="songList"
:list-info="listInfo"
+ :cover="false"
/>
@@ -64,6 +65,14 @@ const handleClick = async () => {
song.al.picUrl = song.al.picUrl || props.item.picUrl;
return song;
});
+ listInfo.value = {
+ ...res.data.album,
+ creator: {
+ avatarUrl: res.data.album.artist.img1v1Url,
+ nickname: `${res.data.album.artist.name} - ${res.data.album.company}`,
+ },
+ description: res.data.album.description,
+ };
}
if (props.item.type === 'playlist') {
@@ -84,7 +93,7 @@ const handleClick = async () => {