From 3aaeae0ca145ff088f53daec3276e6b1431f5912 Mon Sep 17 00:00:00 2001 From: SunTao <328867980@qq.com> Date: Tue, 10 Dec 2024 13:35:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E4=BB=8A?= =?UTF-8?q?=E6=97=A5=E5=B7=A1=E6=9F=A5=E6=A0=B7=E5=BC=8F=E5=8D=95=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../disease-components/traffic-safety.vue | 1 + .../overview-components/today-inspection.vue | 67 +++++++++++++------ 2 files changed, 46 insertions(+), 22 deletions(-) diff --git a/src/views/big-screen/disease-components/traffic-safety.vue b/src/views/big-screen/disease-components/traffic-safety.vue index e477e68..83fbedc 100644 --- a/src/views/big-screen/disease-components/traffic-safety.vue +++ b/src/views/big-screen/disease-components/traffic-safety.vue @@ -661,6 +661,7 @@ export default { background-size: 100%; background-position: 100% 50%; color: #aac6c7; + font-size: 1rem; span { margin-right: 0.5rem; diff --git a/src/views/big-screen/overview-components/today-inspection.vue b/src/views/big-screen/overview-components/today-inspection.vue index faebf85..6a71159 100644 --- a/src/views/big-screen/overview-components/today-inspection.vue +++ b/src/views/big-screen/overview-components/today-inspection.vue @@ -14,37 +14,63 @@
- {{ all }}个 + {{ all }}
- 较昨日{{ state }}{{ state - }}{{ state - }} {{ count }}个 + 较昨日{{ state }}{{ state }}{{ state }} {{ count }}个
- +
- - + +
- - + +
@@ -247,7 +273,7 @@ export default { backgroundColor: "rgba(9, 24, 48, 0.5)", borderColor: "rgba(75, 253, 238, 0.4)", textStyle: { - fontSize: "0.8rem", + fontSize: "0.8rem", color: "#ffffff", }, }, @@ -608,9 +634,7 @@ export default { font-size: 1.5rem; font-weight: 800; font-family: "DouYu"; - background: linear-gradient(to bottom, - #ffffff, - #2773d0); + background: linear-gradient(to bottom, #ffffff, #2773d0); /*设置渐变的方向从左到右 颜色从ff0000到ffff00*/ background-clip: text; /*将设置的背景颜色限制在文字中*/ @@ -641,15 +665,14 @@ export default { background-size: 100%; background-position: 100% 50%; color: #aac6c7; + font-size: 1rem; span { font-size: 1.2rem; font-weight: 800; font-family: "DouYu"; margin-right: 0.5rem; - background: linear-gradient(to bottom, - #ffffff, - #2773d0); + background: linear-gradient(to bottom, #ffffff, #2773d0); /*设置渐变的方向从左到右 颜色从ff0000到ffff00*/ background-clip: text; /*将设置的背景颜色限制在文字中*/ @@ -700,7 +723,7 @@ export default { // height: 10%; display: flex; - >div { + > div { width: 50%; padding: 0 2rem;