From c8dbd3b6978be33282be257d2c05408084126e61 Mon Sep 17 00:00:00 2001 From: fengrong Date: Fri, 8 Nov 2024 17:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/dasadmin/src/views/backend/dashboard.vue | 25 +++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/ui/dasadmin/src/views/backend/dashboard.vue b/ui/dasadmin/src/views/backend/dashboard.vue index 875d7d0f..033c251e 100644 --- a/ui/dasadmin/src/views/backend/dashboard.vue +++ b/ui/dasadmin/src/views/backend/dashboard.vue @@ -1218,7 +1218,7 @@ onUnmounted(() => { margin: 0; color: #4e5969; background-color: #f2f3f5; - overflow: hidden; + overflow-x: hidden; .content-number { color: #333333; font-size: 20px; @@ -1299,9 +1299,14 @@ onUnmounted(() => { width: 100%; height: 288px; } + @media screen and (max-width: 1920px) { + .power-chart { + height: 230px; + } + } @media screen and (max-width: 1910px) { .power-chart { - height: 260px; + height: 230px; } } } @@ -1372,6 +1377,17 @@ onUnmounted(() => { .realPart { height: 370px; } + @media screen and (max-width: 1920px) { + /* .matrix { + height: 928px; + }*/ + .realPart { + height: 349px; + } + .trend { + height: 315px; + } + } @media screen and (max-width: 1910px) { .matrix { height: 875px; @@ -1390,4 +1406,9 @@ onUnmounted(() => { height: 878px; } } +@media screen and (max-width: 1920px) { + .default-main { + height: 928px; + } +}