From e355eb31cd297648bc42d5665b2548280d62c489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Wed, 9 Nov 2022 15:42:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20detection=E6=A8=A1=E5=9D=97=E4=B8=AD?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E6=95=B4=E5=9B=A0=E4=BF=AE=E6=94=B9=E5=85=AC?= =?UTF-8?q?=E5=85=B1class=E5=AF=BC=E8=87=B4=E7=9A=84=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=A0=B7=E5=BC=8F=E9=94=99=E4=B9=B1=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8Atab=E5=9B=BE=E6=A0=87=E4=B8=8D=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detection-list/detection-list.scss | 6 +++- .../views/detections/detection-list/row.scss | 2 +- .../views/entityExplorer/entity-explorer.scss | 35 +++++++++++++++++-- .../common/TimeRange/DateTimeRange.vue | 2 +- src/views/detections/DetectionList.vue | 2 +- src/views/detections/DetectionRow.vue | 16 +++++++-- src/views/detections/Index.vue | 32 +---------------- 7 files changed, 55 insertions(+), 40 deletions(-) diff --git a/src/assets/css/components/views/detections/detection-list/detection-list.scss b/src/assets/css/components/views/detections/detection-list/detection-list.scss index 1c17487f..e19a8e86 100644 --- a/src/assets/css/components/views/detections/detection-list/detection-list.scss +++ b/src/assets/css/components/views/detections/detection-list/detection-list.scss @@ -40,7 +40,7 @@ height: 100%; overflow: auto; - .cn-detection__shadow { + .cn-detection__shadow, .new-cn-detection__shadow { position: fixed; height: 100vh; width:100vw; @@ -49,6 +49,10 @@ z-index: 1; background-color: rgba(0, 0, 0, .2); } + + .new-cn-detection__shadow { + z-index: 4; + } } } diff --git a/src/assets/css/components/views/detections/detection-list/row.scss b/src/assets/css/components/views/detections/detection-list/row.scss index 3f1ad7c3..0913d5c1 100644 --- a/src/assets/css/components/views/detections/detection-list/row.scss +++ b/src/assets/css/components/views/detections/detection-list/row.scss @@ -7,7 +7,7 @@ justify-content: center; align-items: flex-start; margin-bottom: 1px; - padding-top: 33px; + padding-top: 18px; background-color: #F3F7FA; span { diff --git a/src/assets/css/components/views/entityExplorer/entity-explorer.scss b/src/assets/css/components/views/entityExplorer/entity-explorer.scss index 44f36367..fbdbff72 100644 --- a/src/assets/css/components/views/entityExplorer/entity-explorer.scss +++ b/src/assets/css/components/views/entityExplorer/entity-explorer.scss @@ -26,9 +26,9 @@ justify-content: flex-start; } - .explorer-top-tools { + .explorer-top-tools, .explorer-detection-top-tools { display: flex; - justify-content: space-between; + justify-content: flex-end; align-items: center; padding-bottom: 18px; @@ -46,6 +46,37 @@ } } } + .explorer-detection-top-tools { + display: flex; + justify-content: space-between; + } + .explorer-top-tools-title { + font-size: 24px; + line-height: 24px; + font-weight: 900; + color: #353636; + } + .explorer-top-tools-block { + font-family: NotoSansHans-Medium; + height: 28px; + line-height: 28px; + font-size: 14px; + color: #353636; + font-weight: 500; + padding: 0 10px; + margin-right: 10px; + border: 1px solid #E0E0E0; + border-radius: 2px; + cursor: pointer; + } + .detection-icon-setting { + margin-right: 10px; + font-size: 14px; + } + .detection-border { + border: 1px solid #E0E0E0; + border-radius: 4px; + } .explorer-container { display: flex; overflow: visible; /*overflow: hidden;*/ diff --git a/src/components/common/TimeRange/DateTimeRange.vue b/src/components/common/TimeRange/DateTimeRange.vue index b1972f38..10fa78c2 100644 --- a/src/components/common/TimeRange/DateTimeRange.vue +++ b/src/components/common/TimeRange/DateTimeRange.vue @@ -1,5 +1,5 @@