mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: Add time to lyric page (#1676)
* feat: Add time on lyrics page * feat: Add the setting item of whether to display the time on the lyrics page * fix: fix some issue
This commit is contained in:
parent
7b911c1658
commit
9e64222bdf
5 changed files with 73 additions and 0 deletions
|
|
@ -202,6 +202,22 @@
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title"> {{ $t('settings.showLyricsTime') }} </div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="toggle">
|
||||
<input
|
||||
id="show-lyrics-time"
|
||||
v-model="showLyricsTime"
|
||||
type="checkbox"
|
||||
name="show-lyrics-time"
|
||||
/>
|
||||
<label for="show-lyrics-time"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="left">
|
||||
<div class="title"> {{ $t('settings.lyricFontSize.text') }} </div>
|
||||
|
|
@ -936,6 +952,17 @@ export default {
|
|||
});
|
||||
},
|
||||
},
|
||||
showLyricsTime: {
|
||||
get() {
|
||||
return this.settings.showLyricsTime;
|
||||
},
|
||||
set(value) {
|
||||
this.$store.commit('updateSettings', {
|
||||
key: 'showLyricsTime',
|
||||
value,
|
||||
});
|
||||
},
|
||||
},
|
||||
closeAppOption: {
|
||||
get() {
|
||||
return this.settings.closeAppOption;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue