修改上浮显示逻辑

master
于肖磊 2025-05-23 15:07:24 +08:00
parent 5b1b754bea
commit 20059362a3
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@
//
get_up_slide_style(defaultColor, customColor, opacityValue) {
const opacityStr = opacityValue > 0 ? `opacity: ${opacityValue};` : '';
const color = (customColor === '' || opacityValue <= 0) ? defaultColor : customColor;
const color = customColor === '' ? defaultColor : opacityValue <= 0 ? defaultColor : customColor;
return `color: ${color};${opacityStr}`;
},
//