diff --git a/src/components/AlbumDetailDialog.vue b/src/components/AlbumDetailDialog.vue index 3c157a9..163c511 100644 --- a/src/components/AlbumDetailDialog.vue +++ b/src/components/AlbumDetailDialog.vue @@ -10,6 +10,7 @@ import apis from '../apis' import { artistsOrganize } from '../utils' import { usePlayQueueStore } from '../stores/usePlayQueueStore' import TrackItem from './TrackItem.vue' +import LoadingIndicator from '../assets/icons/loadingindicator.vue' const props = defineProps<{ albumCid: string @@ -136,11 +137,16 @@ function playTheAlbum(from: number = 0) {
-
+ class="max-w-[60rem] w-full h-[40rem] mx-auto my-auto rounded-lg shadow-lg flex flex-col p-8 overflow-y-auto" + :style="{ + background: album ? 'linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url(' + (album.coverDeUrl) + ')' : '#191919', + backgroundSize: 'cover', + backgroundPosition: 'center', + backgroundRepeat: 'no-repeat', + }" @click.stop> +
@@ -162,17 +168,17 @@ function playTheAlbum(from: number = 0) {
-
+
-
+
共 {{ album?.songs?.length ?? '?' }} 首曲目
-
+
-
- 加载中... +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ +
diff --git a/src/components/TrackItem.vue b/src/components/TrackItem.vue index 4fcaec6..dfe3640 100644 --- a/src/components/TrackItem.vue +++ b/src/components/TrackItem.vue @@ -11,12 +11,12 @@ defineProps<{ \ No newline at end of file