修改显示逻辑处理
parent
20059362a3
commit
032a2b4583
|
|
@ -331,8 +331,8 @@
|
|||
},
|
||||
// 封装公共逻辑函数
|
||||
get_up_slide_style(defaultColor, customColor, opacityValue) {
|
||||
const opacityStr = opacityValue > 0 ? `opacity: ${opacityValue};` : '';
|
||||
const color = customColor === '' ? defaultColor : opacityValue <= 0 ? defaultColor : customColor;
|
||||
const opacityStr = customColor === '' ? '' : opacityValue > 0 ? `opacity: ${opacityValue};` : '';
|
||||
const color = (customColor === '' || opacityValue <= 0) ? defaultColor : customColor;
|
||||
return `color: ${color};${opacityStr}`;
|
||||
},
|
||||
// 定位设置
|
||||
|
|
|
|||
Loading…
Reference in New Issue