show album name and play button on scroll down

This commit is contained in:
geoffrey45
2022-06-09 10:43:14 +03:00
parent 6aad05084f
commit 843a80f4a3
4 changed files with 51 additions and 12 deletions
+3 -1
View File
@@ -6,7 +6,7 @@
</div>
<div class="info">
<Album v-show="$route.name == Routes.album" />
<Album v-show="$route.name == Routes.album && nav.showPlay" />
<Playlists v-show="$route.name == Routes.playlists" />
<Folder v-show="$route.name == Routes.folder" :subPaths="subPaths" />
</div>
@@ -34,8 +34,10 @@ import { subPath } from "@/interfaces";
import Folder from "./Titles/Folder.vue";
import Playlists from "./Titles/Playlists.vue";
import Album from "./Titles/Album.vue";
import useNavStore from "@/stores/nav";
const route = useRoute();
const nav = useNavStore();
const subPaths = ref<subPath[]>([]);