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 @@ -