From 4d239cd2b3e7ce3307f107be6d460b7a9dfa8e4b Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Fri, 24 Sep 2021 19:24:25 +0800 Subject: [PATCH] =?UTF-8?q?CN-172=20fix:=20=E4=BF=AE=E5=A4=8D=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8A=A0=E8=BD=BD=E6=9C=89=E4=BA=9B=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/charts/panel.scss | 6 +- src/components/entities/EntityList.vue | 2 +- src/components/layout/Header.vue | 18 ++- src/views/charts/Chart.vue | 191 ++++++++++++++++++------- src/views/charts/Panel.vue | 4 +- 5 files changed, 162 insertions(+), 59 deletions(-) diff --git a/src/components/charts/panel.scss b/src/components/charts/panel.scss index fca58565..5a6dd8db 100644 --- a/src/components/charts/panel.scss +++ b/src/components/charts/panel.scss @@ -130,7 +130,7 @@ align-items: center; flex-shrink: 0; padding: 10px 20px 10px 18px; - height: 50px; + height: 47px; .cn-chart__title { font-size: 16px; @@ -380,7 +380,7 @@ } } .cn-chart__body { - overflow-y: auto; + overflow: hidden auto; .el-table { padding: 0 10px; @@ -507,7 +507,7 @@ } .cn-panel { padding: 20px; - grid-gap: 20px; + grid-gap: 10px; &>.cn-chart>.cn-chart__header { border-bottom: 1px solid $--content-right-background-color; diff --git a/src/components/entities/EntityList.vue b/src/components/entities/EntityList.vue index 467d1979..db393b4d 100644 --- a/src/components/entities/EntityList.vue +++ b/src/components/entities/EntityList.vue @@ -65,7 +65,7 @@  {{$t('entities.subcategory')}}:
{{d.appSubategory || '-'}}
-
{{$t('overall.detail')}}>
+
{{$t('overall.detail')}}>
diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue index 72c015de..51616281 100644 --- a/src/components/layout/Header.vue +++ b/src/components/layout/Header.vue @@ -12,9 +12,18 @@ size="small" v-model="from" v-if="showEntityTypeSelector" - style="padding-left: 25px; width: 130px;" + style="padding-left: 25px; width: 140px;" + class="entity-selector" > - + + + + + {{value}} + + @@ -339,4 +348,9 @@ export default { color: #999; } } +.entity-selector { + .el-input__prefix { + left: 7px !important; + } +} diff --git a/src/views/charts/Chart.vue b/src/views/charts/Chart.vue index 2b37b858..3d0da0ae 100644 --- a/src/views/charts/Chart.vue +++ b/src/views/charts/Chart.vue @@ -129,6 +129,7 @@ + + +
{{$t('entities.subcategory')}} {{$t('entities.reputationLevel')}} - -
-
- - -
- {{chartInfo.i18n ? $t(chartInfo.i18n) : chartInfo.name}} -
-
-
-
-
-
-
-
Type
-
Value
-
-
-
{{data.type || '-'}}
-
{{data.value || '-'}}
-
-
-
-
-
-