修复歌词缩放设置失效的问题
parent
ebfbc11c20
commit
90d9e9b911
|
@ -1,5 +1,5 @@
|
||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
div(:class="[$style.lyric, lyricEvent.isMsDown ? $style.draging : null]" :style="lrcStyles" @wheel="handleWheel" @mousedown="handleLyricMouseDown" ref="dom_lyric")
|
div(:class="[$style.lyric, { [$style.draging]: lyricEvent.isMsDown }, { [$style.lrcActiveZoom]: lrcConfig.style.isZoomActiveLrc } ]" :style="lrcStyles" @wheel="handleWheel" @mousedown="handleLyricMouseDown" ref="dom_lyric")
|
||||||
div(:class="$style.lyricSpace")
|
div(:class="$style.lyricSpace")
|
||||||
div(:class="[$style.lyricText]" ref="dom_lyric_text")
|
div(:class="[$style.lyricText]" ref="dom_lyric_text")
|
||||||
//- div(v-for="(info, index) in lyricLines" :key="index" :class="[$style.lineContent, lyric.line == index ? (lrcConfig.style.isZoomActiveLrc ? $style.lrcActiveZoom : $style.lrcActive) : null]")
|
//- div(v-for="(info, index) in lyricLines" :key="index" :class="[$style.lineContent, lyric.line == index ? (lrcConfig.style.isZoomActiveLrc ? $style.lrcActiveZoom : $style.lrcActive) : null]")
|
||||||
|
@ -355,15 +355,14 @@ export default {
|
||||||
color: @color-theme;
|
color: @color-theme;
|
||||||
}
|
}
|
||||||
.translation {
|
.translation {
|
||||||
font-size: 1em;
|
|
||||||
color: @color-theme;
|
color: @color-theme;
|
||||||
}
|
}
|
||||||
span {
|
// span {
|
||||||
// color: @color-theme;
|
// color: @color-theme;
|
||||||
font-size: 1.2em;
|
// }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
span {
|
span {
|
||||||
transition: @transition-theme !important;
|
transition: @transition-theme !important;
|
||||||
transition-property: font-size !important;
|
transition-property: font-size !important;
|
||||||
|
@ -422,8 +421,18 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.lrc-active-zoom {
|
.lrc-active-zoom {
|
||||||
.lrc-active;
|
:global {
|
||||||
font-size: 1.2em;
|
.lrc-content {
|
||||||
|
&.active {
|
||||||
|
.translation {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.footer {
|
.footer {
|
||||||
flex: 0 0 100px;
|
flex: 0 0 100px;
|
||||||
|
|
Loading…
Reference in New Issue