From e2f6d117bcf4e894a4e8db89987d1e5c6fb28038 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Sat, 26 Mar 2022 13:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=92=AD=E6=94=BE=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E8=83=8C=E6=99=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish/changeLog.md | 4 ++ src/renderer/assets/styles/variables.less | 10 ++-- .../core/PlayDetail/LyricPlayer.vue | 48 ++++--------------- .../components/core/PlayDetail/index.vue | 39 +++++++++++---- src/renderer/views/setting/Setting.vue | 2 +- 5 files changed, 49 insertions(+), 54 deletions(-) diff --git a/publish/changeLog.md b/publish/changeLog.md index 372568ea..b61d5f2d 100644 --- a/publish/changeLog.md +++ b/publish/changeLog.md @@ -4,6 +4,10 @@ - 新增歌词偏移设置,可以在播放详情页歌词右键菜单中使用 - 新增设置-播放设置-播放错误时自动切换歌曲设置,默认开启(原来的行为),若你不想在遇到音频加载失败、url获取失败等错误时自动切歌可以关闭此设置 +### 优化 + +- 优化播放详情页背景显示,现在有背景图片的主题可以在播放详情页显示它的图片了 + ### 修复 - 修复Linux无法全屏的问题 diff --git a/src/renderer/assets/styles/variables.less b/src/renderer/assets/styles/variables.less index e13dc2c3..ba872ae2 100644 --- a/src/renderer/assets/styles/variables.less +++ b/src/renderer/assets/styles/variables.less @@ -683,7 +683,7 @@ @color-black-theme-active: fadeout(lighten(@color-black-theme, 8%), 30%); @color-black-theme-font: lighten(@color-black-theme, 55%); @color-black-theme-font-label: lighten(@color-black-theme, 35%); -@color-black-theme_2: rgba(19, 19, 19, 0.82); +@color-black-theme_2: rgba(19, 19, 19, 0.93); @color-black-theme_2-background_1: #080808; @color-black-theme_2-background_2: #1f1f1f; @color-black-theme_2-hover: fadeout(lighten(@color-black-theme, 10%), 80%); @@ -710,7 +710,7 @@ @color-black-scrollbar-thumb-hover: fadeout(lighten(@color-black-theme, 10%), 35%); @color-black-player-pic-c1: fadeout(@color-black-theme_2, 50%); @color-black-player-pic-c2: lighten(@color-black-theme_2, 30%); -@color-black-player-progress: lighten(@color-black-theme_2, 6%); +@color-black-player-progress: fadeout(lighten(@color-black-theme, 20%), 80%); @color-black-player-progress-bar1: lighten(@color-black-theme_2, 12%); @color-black-player-progress-bar2: fadeout(lighten(@color-black-theme, 12%), 20%); @color-black-player-status-text: darken(@color-black-theme_2-font, 20%); @@ -770,7 +770,7 @@ @color-mid_autumn-scrollbar-thumb-hover: fadeout(lighten(@color-mid_autumn-theme, 10%), 40%); @color-mid_autumn-player-pic-c1: fadeout(@color-mid_autumn-theme_2, 50%); @color-mid_autumn-player-pic-c2: darken(@color-mid_autumn-theme_2, 30%); -@color-mid_autumn-player-progress: darken(@color-mid_autumn-theme_2, 10%); +@color-mid_autumn-player-progress: fadeout(lighten(@color-mid_autumn-theme, 20%), 82%); @color-mid_autumn-player-progress-bar1: darken(@color-mid_autumn-theme_2, 12%); @color-mid_autumn-player-progress-bar2: fadeout(lighten(@color-mid_autumn-theme, 12%), 20%); @color-mid_autumn-player-status-text: lighten(@color-mid_autumn-theme_2-font, 32%); @@ -889,7 +889,7 @@ @color-naruto-scrollbar-thumb-hover: fadeout(lighten(@color-naruto-theme, 10%), 35%); @color-naruto-player-pic-c1: fadeout(@color-naruto-theme_2, 50%); @color-naruto-player-pic-c2: darken(@color-naruto-theme_2, 30%); -@color-naruto-player-progress: darken(@color-naruto-theme_2, 10%); +@color-naruto-player-progress: fadeout(lighten(@color-naruto-theme, 20%), 70%); @color-naruto-player-progress-bar1: darken(@color-naruto-theme_2, 12%); @color-naruto-player-progress-bar2: fadeout(lighten(@color-naruto-theme, 12%), 20%); @color-naruto-player-status-text: lighten(@color-naruto-theme_2-font, 32%); @@ -948,7 +948,7 @@ @color-happy_new_year-scrollbar-thumb-hover: fadeout(lighten(@color-happy_new_year-theme, 10%), 35%); @color-happy_new_year-player-pic-c1: fadeout(@color-happy_new_year-theme_2, 50%); @color-happy_new_year-player-pic-c2: darken(@color-happy_new_year-theme_2, 30%); -@color-happy_new_year-player-progress: darken(@color-happy_new_year-theme_2, 10%); +@color-happy_new_year-player-progress: fadeout(lighten(@color-happy_new_year-theme, 20%), 82%); @color-happy_new_year-player-progress-bar1: darken(@color-happy_new_year-theme_2, 5%); @color-happy_new_year-player-progress-bar2: fadeout(lighten(@color-happy_new_year-theme, 5%), 20%); @color-happy_new_year-player-status-text: lighten(@color-happy_new_year-theme_2-font, 32%); diff --git a/src/renderer/components/core/PlayDetail/LyricPlayer.vue b/src/renderer/components/core/PlayDetail/LyricPlayer.vue index 7bc0cf6d..1b14c401 100644 --- a/src/renderer/components/core/PlayDetail/LyricPlayer.vue +++ b/src/renderer/components/core/PlayDetail/LyricPlayer.vue @@ -1,10 +1,12 @@