From 1ff8c02aa65541335774aef5a9526af8bb2f6774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 2 Sep 2024 17:53:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201=E3=80=81=E4=BF=AE=E5=A4=8Ddetection?= =?UTF-8?q?=E8=AF=A6=E6=83=85loading=E8=BF=87=E4=BA=8E=E7=94=9F=E7=A1=AC?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=9B2=E3=80=81detection?= =?UTF-8?q?=E7=9A=84threshold=E6=95=B0=E6=8D=AE=E8=BF=87=E5=A4=9A=EF=BC=8C?= =?UTF-8?q?=E6=8A=98=E7=BA=BF=E5=9B=BE=E5=92=8C=E5=BA=95=E9=83=A8=E8=89=B2?= =?UTF-8?q?=E6=9D=A1=E5=AE=BD=E5=BA=A6=E6=9C=89=E5=B7=AE=E5=BC=82=EF=BC=9B?= =?UTF-8?q?3=E3=80=81=E6=B7=BB=E5=8A=A0detection=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E8=BF=87=E6=9C=9F=E5=BC=B9=E6=A1=86=E6=8F=90=E7=A4=BA=E5=92=8C?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E5=86=85=E5=AE=B9=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/detections/detection-overview.scss | 10 +- .../overview/IndicatorMatchOverview.vue | 152 +++++++++--------- .../detections/overview/SequenceOverview.vue | 121 +++++++------- .../detections/overview/ThresholdOverview.vue | 116 ++++++------- .../overview/detectionDetailMixin.js | 48 ++++-- 5 files changed, 252 insertions(+), 195 deletions(-) diff --git a/src/assets/css/components/views/detections/detection-overview.scss b/src/assets/css/components/views/detections/detection-overview.scss index ea530880..4e2b1172 100644 --- a/src/assets/css/components/views/detections/detection-overview.scss +++ b/src/assets/css/components/views/detections/detection-overview.scss @@ -175,6 +175,14 @@ $color-regular: var(--el-text-color-regular); } .overview__left-new { flex: 0 0 100%; + + .data-expired { + width: 100%; + height: 300px; + line-height: 300px; + color: var(--el-text-color-disabled); + text-align: center; + } } } .overview__row-timeline { @@ -327,12 +335,10 @@ $color-regular: var(--el-text-color-regular); .detection-detail__loading { width: 100%; - height: 200px; position: relative; .detail__loading { position: absolute; - top: -100px; width: 100%; } } diff --git a/src/views/detections/overview/IndicatorMatchOverview.vue b/src/views/detections/overview/IndicatorMatchOverview.vue index 279e6c5a..6d8280f0 100644 --- a/src/views/detections/overview/IndicatorMatchOverview.vue +++ b/src/views/detections/overview/IndicatorMatchOverview.vue @@ -1,8 +1,8 @@ diff --git a/src/views/detections/overview/SequenceOverview.vue b/src/views/detections/overview/SequenceOverview.vue index f31f5208..6f64a3a9 100644 --- a/src/views/detections/overview/SequenceOverview.vue +++ b/src/views/detections/overview/SequenceOverview.vue @@ -1,8 +1,8 @@