diff --git a/public/images/flag/Unknown.svg b/public/images/flag/Unknown.svg new file mode 100644 index 00000000..d40fd6f8 --- /dev/null +++ b/public/images/flag/Unknown.svg @@ -0,0 +1,16 @@ + + + 未知 + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/css/components/views/entityExplorer/entity-explorer.scss b/src/assets/css/components/views/entityExplorer/entity-explorer.scss index 076c40f0..f1b243bf 100644 --- a/src/assets/css/components/views/entityExplorer/entity-explorer.scss +++ b/src/assets/css/components/views/entityExplorer/entity-explorer.scss @@ -88,12 +88,17 @@ color: #353636; font-weight: 400; } - .explorer-container { + .explorer-container, .explorer-container-new { display: flex; overflow: visible; /*overflow: hidden;*/ height: calc(100% - 120px); position: relative; } + .explorer-container-new { + height: calc(100% - 62px); + flex-direction: column; + width: calc(100% - 340px); + } .explorer-foot { display: flex; justify-content: center; diff --git a/src/assets/css/components/views/entityExplorer/entity-filter.scss b/src/assets/css/components/views/entityExplorer/entity-filter.scss index 71fbb493..bd4bab16 100644 --- a/src/assets/css/components/views/entityExplorer/entity-filter.scss +++ b/src/assets/css/components/views/entityExplorer/entity-filter.scss @@ -56,11 +56,6 @@ color: #353636; font-weight: 400; - .filter-country-flag { - width: 18px; - height: 12px; - } - .filter__body-item-left-index { width: 16px; height: 16px; @@ -99,3 +94,9 @@ } } } + +.filter-country-flag { + width: 18px; + height: 12px; + margin-right: 6px; +} diff --git a/src/assets/css/components/views/entityExplorer/graphRightListBlock.scss b/src/assets/css/components/views/entityExplorer/graphRightListBlock.scss index ca025687..354b3c64 100644 --- a/src/assets/css/components/views/entityExplorer/graphRightListBlock.scss +++ b/src/assets/css/components/views/entityExplorer/graphRightListBlock.scss @@ -107,8 +107,8 @@ $font-size: 12px; } .graph-list-country-flag { - width: 16px; - height: 14px; + width: 14px; + height: 10px; margin-right: 5px; } diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue index 49678eff..10e96f16 100644 --- a/src/views/entityExplorer/EntityExplorer.vue +++ b/src/views/entityExplorer/EntityExplorer.vue @@ -25,7 +25,7 @@ :time-filter="timeFilter" @filter="filter" > -
+
{ - const obj = { label: item.value, flag: '011-china', topColumn: 'Country', value: item.uniqueEntities } + const obj = { label: item.value, topColumn: 'Country', value: item.uniqueEntities } if (index === 0) { - obj.flag = item.uniqueEntities // 接口字段名称为'China',目前svg名称为'011-china',后续再指定方案调整 + obj.flag = item.value // 接口字段名称为'China',svg名称为'CN',通过countryNameIdMapping进行转换 } if (index === 1) { obj.topColumn = 'City' diff --git a/src/views/entityExplorer/EntityFilter.vue b/src/views/entityExplorer/EntityFilter.vue index 114c72c4..653d1af8 100644 --- a/src/views/entityExplorer/EntityFilter.vue +++ b/src/views/entityExplorer/EntityFilter.vue @@ -15,11 +15,11 @@
- - - - -
{{ i+1 }}
+
+ + +
+
{{ i+1 }}
{{ data.label }} @@ -42,6 +42,7 @@