From 0c497a0b8fe085dff526e378128f1b874d747591 Mon Sep 17 00:00:00 2001 From: hzz Date: Sun, 8 Oct 2023 08:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=B1=E5=BA=9F=E5=93=81?= =?UTF-8?q?=E7=AE=B1=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Hazardous/components/Card.vue | 16 ++++++++--- src/views/Hazardous/index.vue | 35 +++++++++++++++++-------- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/src/views/Hazardous/components/Card.vue b/src/views/Hazardous/components/Card.vue index 590b65d..9b168d3 100644 --- a/src/views/Hazardous/components/Card.vue +++ b/src/views/Hazardous/components/Card.vue @@ -6,7 +6,8 @@
- + +
{{ prop.config.value }}{{ prop.config.unit }} @@ -18,7 +19,7 @@
-
{{ prop.config.value == 0?'关闭':'开启' }}
+
{{ prop.config.value == 0?'关闭':'开启' }}
@@ -94,7 +95,7 @@ const porptitle = computed(() => { box-sizing: border-box; } .red-bg { - background-color: #2C273A; + background-color: rgba(228, 57, 97, 0.1411764705882353); } .noborder { @@ -160,6 +161,15 @@ const porptitle = computed(() => { .text2-l.green { background-color: #53FFC3; } +.text2-r.grey { + color: #A7A6BD; + /* background-color: #A7A6BD; */ +} + +.text2-r.green { + color: #53FFC3; + /* background-color: #53FFC3; */ +} .text2-r { font-size: 14px; } diff --git a/src/views/Hazardous/index.vue b/src/views/Hazardous/index.vue index ec2b679..364b479 100644 --- a/src/views/Hazardous/index.vue +++ b/src/views/Hazardous/index.vue @@ -40,21 +40,26 @@
+ width: '100%', + height: '100%', + }" v-show="!isempty" /> +
+ +
- + +