为极简模式修改折叠说说遮挡物的颜色

This commit is contained in:
丑小鸦
2023-07-28 20:23:13 +08:00
committed by GitHub
parent 8a80c98a29
commit 09b752cf22

View File

@@ -10,13 +10,11 @@ function aplayer_panel_toggle(){
if(music_flag){
$(".aplayer.aplayer-fixed .aplayer-body").addClass("my-hide");
$(".aplayer.aplayer-fixed .aplayer-list").addClass("my-hide zero-margin-bottom");
$(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded");
music_flag=false;
}
else{
$(".aplayer.aplayer-fixed .aplayer-body").removeClass("my-hide");
$(".aplayer.aplayer-fixed .aplayer-list").removeClass("my-hide zero-margin-bottom");
$(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded");
music_flag=true;
}
}
@@ -26,11 +24,13 @@ function simple_mode_toggle(){
if(simple_mode){
$("#content").removeClass("background-hide");
$("html").removeClass("filter-grayscale");
$(".shuoshuo-content.shuoshuo-folded").removeClass("simple-shuoshuo-folded");
simple_mode=false;
}
else{
$("#content").addClass("background-hide");
$("html").addClass("filter-grayscale");
$(".shuoshuo-content.shuoshuo-folded").addClass("simple-shuoshuo-folded");
simple_mode=true;
}
}