🐞 fix: 修复抽屉zindex 修复一些样式问题

closes  #37 #38
This commit is contained in:
alger
2025-01-15 00:26:42 +08:00
parent c6427aa3e1
commit 072025a543
7 changed files with 14 additions and 7 deletions
+4 -2
View File
@@ -7,7 +7,7 @@
mask-closable
:style="{ backgroundColor: 'transparent' }"
:to="`#layout-main`"
:z-index="9998"
:z-index="zIndex"
@mask-click="close"
>
<div class="music-page">
@@ -89,6 +89,7 @@ const props = withDefaults(
defineProps<{
show: boolean;
name: string;
zIndex?: number;
songList: any[];
loading?: boolean;
listInfo?: {
@@ -99,7 +100,8 @@ const props = withDefaults(
}>(),
{
loading: false,
cover: true
cover: true,
zIndex: 9996
}
);
@@ -59,6 +59,7 @@
v-for="album in albums"
:key="album.id"
shape="square"
:z-index="9998"
:item="{
id: album.id,
picUrl: album.picUrl,
@@ -28,6 +28,7 @@
:song-list="songList"
:list-info="listInfo"
:cover="false"
:z-index="zIndex"
/>
<mv-player
v-if="item.type === 'mv'"
@@ -52,6 +53,7 @@ import MusicList from '../MusicList.vue';
const props = withDefaults(
defineProps<{
shape?: 'square' | 'rectangle';
zIndex?: number;
item: {
picUrl: string;
name: string;
+2 -2
View File
@@ -328,11 +328,11 @@ const artists = computed(() => {
}
&-like {
@apply mr-2 cursor-pointer ml-4;
@apply mr-2 cursor-pointer ml-4 transition-all;
}
.like-active {
@apply text-red-500;
@apply text-red-500 dark:text-red-500;
}
&-play {