From 5351cc4587d63e3cf80d2f48109598f5284f15af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=96=87=E5=8F=AF?= <1041367524@qq.com> Date: Fri, 1 Apr 2022 16:45:31 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=9B=BE=E7=89=87=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/extra/ElImage.vue | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/components/extra/ElImage.vue b/src/components/extra/ElImage.vue index 45afb18..2d78396 100644 --- a/src/components/extra/ElImage.vue +++ b/src/components/extra/ElImage.vue @@ -107,19 +107,18 @@ bottom: 0; right: 0; } - :deep(.el-image) { - width: v-bind(width); - height: v-bind(height); - :deep(.image-slot) { - display: flex; - justify-content: center; - align-items: center; - width: 100%; - height: 100%; - background: #f5f7fa; - color: var(--el-text-color-secondary); - font-size: 30px; - } - } + } + :deep(.el-image) { + width: v-bind(width); + height: v-bind(height); + } + :deep(.image-slot) { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; + color: var(--el-text-color-secondary); + font-size: 30px; }