mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 09:20:11 +08:00
fix: lyric page bugs
This commit is contained in:
parent
7781ac8ec2
commit
04bc4770b4
|
@ -3,18 +3,16 @@
|
|||
<div class="lyrics-page" :class="{ 'no-lyric': noLyric }">
|
||||
<div
|
||||
v-if="settings.lyricsBackground !== false"
|
||||
:class="[
|
||||
'lyrics-background',
|
||||
{ 'dynamic-background': settings.lyricsBackground === 'dynamic' },
|
||||
]"
|
||||
class="lyrics-background"
|
||||
:class="{
|
||||
'dynamic-background': settings.lyricsBackground === 'dynamic',
|
||||
}"
|
||||
>
|
||||
<div
|
||||
v-show="showLyrics"
|
||||
class="top-right"
|
||||
:style="{ backgroundImage: `url(${bgImageUrl})` }"
|
||||
/>
|
||||
<div
|
||||
v-show="showLyrics"
|
||||
class="bottom-left"
|
||||
:style="{ backgroundImage: `url(${bgImageUrl})` }"
|
||||
/>
|
||||
|
@ -367,6 +365,7 @@ export default {
|
|||
z-index: 200;
|
||||
background: var(--color-body-bg);
|
||||
display: flex;
|
||||
clip: rect(auto, auto, auto, auto);
|
||||
}
|
||||
|
||||
.lyrics-background {
|
||||
|
@ -660,6 +659,15 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
@media (max-aspect-ratio: 10/9) {
|
||||
.left-side {
|
||||
display: none;
|
||||
}
|
||||
.right-side .lyrics-container {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.slide-up-enter-active,
|
||||
.slide-up-leave-active {
|
||||
transition: all 0.4s;
|
||||
|
|
Loading…
Reference in New Issue
Block a user