From cb3b66bdf7662312db94348432ea304db02f9eea Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Fri, 27 Oct 2023 18:49:37 +0800 Subject: [PATCH] =?UTF-8?q?CN-1396=20fix:=20=E4=BF=AE=E5=A4=8Dpsiphon3?= =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93update=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/setting/knowledgeBase.scss | 9 +- .../setting/knowledgeBaseTableForCard.vue | 220 +++++++----------- .../entityDetail/tabs/BehaviorPattern.vue | 21 +- 3 files changed, 106 insertions(+), 144 deletions(-) diff --git a/src/assets/css/components/views/setting/knowledgeBase.scss b/src/assets/css/components/views/setting/knowledgeBase.scss index fe7c346d..28a9af1c 100644 --- a/src/assets/css/components/views/setting/knowledgeBase.scss +++ b/src/assets/css/components/views/setting/knowledgeBase.scss @@ -1901,7 +1901,7 @@ height:300px !important; border-right: none; } .el-table__body-wrapper { - max-height: calc(90vh - 230px - 200px - 50px - 10px); + height: 100%; overflow-y: auto; } } @@ -2035,7 +2035,7 @@ height:300px !important; } .bar-select-time { display: flex; - align-items: center; + align-items: flex-end; .bar-select__operation { height: 24px; margin-left: 3px; @@ -2091,7 +2091,7 @@ height:300px !important; } .bar-value-tabs { cursor: pointer; - padding: 16px 0 0 20px; + padding: 10px 0 0 20px; border-top: 4px solid transparent; width:88px; .bar-value-tabs-name { @@ -2106,8 +2106,7 @@ height:300px !important; height: 10px; border-radius: 50%; position: absolute; - top: 50%; - margin-top: -7px; + top: 6px; } .total { background: #00A7AB; diff --git a/src/components/table/setting/knowledgeBaseTableForCard.vue b/src/components/table/setting/knowledgeBaseTableForCard.vue index 47d26327..8e47cbda 100644 --- a/src/components/table/setting/knowledgeBaseTableForCard.vue +++ b/src/components/table/setting/knowledgeBaseTableForCard.vue @@ -126,6 +126,9 @@ +
+ +
- - + + - - + + +
{{$t('knowledgeBase.psiphon3IpCount')}}
-
+
@@ -157,7 +166,7 @@ :class=" {'is-active': tabType === item.class, 'mousemove-cursor': mousemoveCursor === item.class}" @mouseenter="mouseenterTab(item)" @mouseleave="mouseleaveTab(item)" - @click="activeChange(item, index,true)" + @click="activeChange(item)" >
@@ -176,7 +185,7 @@ placeholder=" " popper-class="common-select" :popper-append-to-body="false" - @change="timeChange()" + @change="timeChange" >