From 1d2670025e4bb30b1d9054d498f475fb59b97785 Mon Sep 17 00:00:00 2001 From: xieyonghong <18010623010@163.com> Date: Mon, 10 Apr 2023 14:28:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BB=AA=E8=A1=A8=E7=9B=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/DashBoard/components/TopCard.vue | 8 +++----- src/views/device/DashBoard/index.vue | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/views/device/DashBoard/components/TopCard.vue b/src/views/device/DashBoard/components/TopCard.vue index a8d07992..80de7b41 100644 --- a/src/views/device/DashBoard/components/TopCard.vue +++ b/src/views/device/DashBoard/components/TopCard.vue @@ -72,18 +72,16 @@ const props = defineProps({ } .content-right { width: 0; - height: 123px; display: flex; - flex-grow: .7; + flex-grow: 1; align-items: flex-end; justify-content: flex-end; img { - width: 100%; - height: 100%; + width: 92px; + height: 92px; } } .content-right-echart{ - height: 123px; display: flex; flex-grow: 1; align-items: flex-end; diff --git a/src/views/device/DashBoard/index.vue b/src/views/device/DashBoard/index.vue index 3e50ea87..0e30a75b 100644 --- a/src/views/device/DashBoard/index.vue +++ b/src/views/device/DashBoard/index.vue @@ -5,7 +5,7 @@ @@ -13,7 +13,7 @@