完善歌词

This commit is contained in:
lyswhut
2021-03-03 16:51:02 +08:00
parent f2b6c0a443
commit c66d7d6187
14 changed files with 126 additions and 21 deletions
+5 -1
View File
@@ -275,6 +275,9 @@ export default {
'setting.player.isShowLyricTransition'() {
this.setLyric()
},
'setting.player.isPlayLxlrc'() {
this.setLyric()
},
async list(n, o) {
if (n === o && this.musicInfo.songmid) {
let index = this.listId == 'download'
@@ -856,7 +859,8 @@ export default {
},
setLyric() {
window.lrc.setLyric(
this.musicInfo.lxlrc ? this.musicInfo.lxlrc : this.musicInfo.lrc,
this.setting.player.isPlayLxlrc && this.musicInfo.lxlrc ? this.musicInfo.lxlrc : this.musicInfo.lrc,
this.setting.player.isShowLyricTransition && this.musicInfo.tlrc ? this.musicInfo.tlrc : '',
// (
// this.setting.player.isShowLyricTransition && this.musicInfo.tlrc
// ? (this.musicInfo.tlrc + '\n')