From 67b67dd5c13cc682fa349250c7fcd3aec6a0f901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Fri, 5 May 2023 15:23:17 +0800 Subject: [PATCH] =?UTF-8?q?CN-988=20fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E8=AF=A6=E6=83=85--=E5=AE=89=E5=85=A8=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E5=92=8C=E6=80=A7=E8=83=BD=E4=BA=8B=E4=BB=B6tab?= =?UTF-8?q?=E7=9A=84=E4=BA=8B=E4=BB=B6=E5=A4=9A=E6=9D=A1=E6=97=B6=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=B8=8D=E6=BB=9A=E5=8A=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/charts2/EntityDetailTabs.scss | 9 +++ src/mock/entity.js | 75 +++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/src/assets/css/components/views/charts2/EntityDetailTabs.scss b/src/assets/css/components/views/charts2/EntityDetailTabs.scss index b572b8b7..ee6343d3 100644 --- a/src/assets/css/components/views/charts2/EntityDetailTabs.scss +++ b/src/assets/css/components/views/charts2/EntityDetailTabs.scss @@ -30,9 +30,11 @@ } } + .el-tabs__item:not(.is-disabled):not(.is-active):hover { color: #353636; } + .el-tabs__item.is-active { color: #046ECA; background-color: #FFFFFF; @@ -45,14 +47,21 @@ color: #046ECA; } } + .el-tabs__item:first-of-type.is-active { box-shadow: 1px 1px $tab-border-color inset; } } + .el-tabs__content { height: calc(100% - 39px); border: 1px solid $tab-border-color; border-top: none; } + + .tab-pane--border-card { + height: 100%; + overflow: auto; + } } } diff --git a/src/mock/entity.js b/src/mock/entity.js index ad64e3df..78dec587 100644 --- a/src/mock/entity.js +++ b/src/mock/entity.js @@ -83,6 +83,81 @@ if (openMock) { durationMs: 300000, endTime: 1683186900 }, + { + eventId: '1298414830886991873', + securityType: 'command and control', + domain: null, + offenderIp: '213.186.33.5', + victimIp: '116.178.217.93', + offenderDomain: 'baidu.com', + victimDomain: 'mi.com', + eventSeverity: 'Low', + malwareName: 'NetWire RC', + cryptominingPool: null, + startTime: 1683186600, + durationMs: 300000, + endTime: 1683186900 + }, + { + eventId: '1298414830886991873', + securityType: 'command and control', + domain: null, + offenderIp: '213.186.33.5', + victimIp: '116.178.217.93', + offenderDomain: 'baidu.com', + victimDomain: 'mi.com', + eventSeverity: 'Low', + malwareName: 'NetWire RC', + cryptominingPool: null, + startTime: 1683186600, + durationMs: 300000, + endTime: 1683186900 + }, + { + eventId: '1298414830886991873', + securityType: 'command and control', + domain: null, + offenderIp: '213.186.33.5', + victimIp: '116.178.217.93', + offenderDomain: 'baidu.com', + victimDomain: 'mi.com', + eventSeverity: 'Low', + malwareName: 'NetWire RC', + cryptominingPool: null, + startTime: 1683186600, + durationMs: 300000, + endTime: 1683186900 + }, + { + eventId: '1298414830886991873', + securityType: 'command and control', + domain: null, + offenderIp: '213.186.33.5', + victimIp: '116.178.217.93', + offenderDomain: 'baidu.com', + victimDomain: 'mi.com', + eventSeverity: 'Low', + malwareName: 'NetWire RC', + cryptominingPool: null, + startTime: 1683186600, + durationMs: 300000, + endTime: 1683186900 + }, + { + eventId: '1298414830886991873', + securityType: 'command and control', + domain: null, + offenderIp: '213.186.33.5', + victimIp: '116.178.217.93', + offenderDomain: 'baidu.com', + victimDomain: 'mi.com', + eventSeverity: 'Low', + malwareName: 'NetWire RC', + cryptominingPool: null, + startTime: 1683186600, + durationMs: 300000, + endTime: 1683186900 + }, { eventId: '1298414830886991873', securityType: 'command and control',