From 8acedde40f479aa4c74fc1e1e0ee286b68223748 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BE=9A=E7=9A=93?= <1736436516@qq.com>
Date: Mon, 30 Sep 2024 15:46:37 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E6=A0=87=E7=BB=84=E4=BB=B6=E5=8C=96?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/AlertChart.vue | 464 +++++++++++++++++++++-------------
src/components/Statistics.vue | 240 +++++++++++-------
2 files changed, 435 insertions(+), 269 deletions(-)
diff --git a/src/components/AlertChart.vue b/src/components/AlertChart.vue
index d36a77f..e901896 100644
--- a/src/components/AlertChart.vue
+++ b/src/components/AlertChart.vue
@@ -3,189 +3,298 @@
- 前一天数据
- 近3天数据展示
+
+
+
+
+
+
-
-
@@ -194,29 +303,28 @@ export default {
.alert-card {
background-color: #2a3f54;
color: #fff;
- padding: 20px;
border-radius: 8px;
+ padding: 0;
+ margin: 0;
}
.alert-header {
font-size: 18px;
font-weight: bold;
- margin-bottom: 20px;
border-bottom: 1px solid #3a4b5c;
- padding-bottom: 10px;
}
.alert-tabs {
- margin-bottom: 20px;
+ margin-bottom: 0;
+}
+
+::v-deep .el-tabs__item {
+ color: #fff;
}
.chart-container {
- width: 100%;
- height: 400px;
-}
-
-.el-tabs__item {
- color: #fff;
+ width: 780px;
+ height: 420px;
}
.el-tabs__active-bar {
diff --git a/src/components/Statistics.vue b/src/components/Statistics.vue
index 4300704..477bb17 100644
--- a/src/components/Statistics.vue
+++ b/src/components/Statistics.vue
@@ -11,126 +11,184 @@
-