From 01cf735453bb4f2757615beab5ee72480c07e417 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 20 Mar 2024 10:13:27 +0800 Subject: [PATCH] 优化图片预览组件,支持缩略图加载失败回退 --- common/custom.scss | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index c1c4ec4..a78ea0f 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -176,6 +176,11 @@ &:last-child { color: $colorStress; } + &[disabled] { + color: #fff; + background-color: #e6e6e6; + pointer-events: none; + } } } } -- Gitblit v1.9.1