From ffcc0070a00a3cb740666bdf654e33d20a8fca5d Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Sat, 6 Aug 2022 23:35:33 +0300 Subject: [PATCH] change server port to localhost 1970 + change img server to localhost 1971 + add loading = lazy to images --- src/components/AlbumView/AlbumBio.vue | 8 ++++- src/components/AlbumView/Header.vue | 7 ++++- src/components/LeftSidebar/NP/SongCard.vue | 1 + .../RightSideBar/Home/Recommendation.vue | 2 +- src/components/RightSideBar/Search/Main.vue | 6 ---- src/components/shared/ArtistCard.vue | 7 ++++- src/components/shared/SongItem.vue | 1 + src/composables/state.ts | 2 +- src/config.ts | 6 ++-- src/router/index.js | 30 +++++++++++++------ src/views/FolderView.vue | 3 +- 11 files changed, 49 insertions(+), 24 deletions(-) diff --git a/src/components/AlbumView/AlbumBio.vue b/src/components/AlbumView/AlbumBio.vue index 43955440..aedb77f9 100644 --- a/src/components/AlbumView/AlbumBio.vue +++ b/src/components/AlbumView/AlbumBio.vue @@ -7,9 +7,15 @@ class="rect rounded" :src="paths.images.thumb + images.album" alt="" + loading="lazy" />
- +
No bio found
diff --git a/src/components/AlbumView/Header.vue b/src/components/AlbumView/Header.vue index 37f72e14..aaf894ed 100644 --- a/src/components/AlbumView/Header.vue +++ b/src/components/AlbumView/Header.vue @@ -9,7 +9,12 @@ }" >
- +
diff --git a/src/components/LeftSidebar/NP/SongCard.vue b/src/components/LeftSidebar/NP/SongCard.vue index 32ffc874..316e0345 100644 --- a/src/components/LeftSidebar/NP/SongCard.vue +++ b/src/components/LeftSidebar/NP/SongCard.vue @@ -15,6 +15,7 @@ :src="imguri + track.image" alt="" class="l-image rounded force-lm" + loading="lazy" />
diff --git a/src/components/RightSideBar/Home/Recommendation.vue b/src/components/RightSideBar/Home/Recommendation.vue index b21d9844..9aec9785 100644 --- a/src/components/RightSideBar/Home/Recommendation.vue +++ b/src/components/RightSideBar/Home/Recommendation.vue @@ -3,7 +3,7 @@
Similar tracks
- +
{{ song.title }}
{{ song.artist }}
diff --git a/src/components/RightSideBar/Search/Main.vue b/src/components/RightSideBar/Search/Main.vue index 6567a934..4ceae89a 100644 --- a/src/components/RightSideBar/Search/Main.vue +++ b/src/components/RightSideBar/Search/Main.vue @@ -1,9 +1,6 @@ diff --git a/src/components/shared/ArtistCard.vue b/src/components/shared/ArtistCard.vue index 37dc535e..91cd645e 100644 --- a/src/components/shared/ArtistCard.vue +++ b/src/components/shared/ArtistCard.vue @@ -1,6 +1,11 @@