diff --git a/src/packages/components/Charts/Maps/MapBase/config.ts b/src/packages/components/Charts/Maps/MapBase/config.ts index 888fe6b7..d8a92446 100644 --- a/src/packages/components/Charts/Maps/MapBase/config.ts +++ b/src/packages/components/Charts/Maps/MapBase/config.ts @@ -11,7 +11,10 @@ export const option = { dataset: dataJson, mapRegion: { adcode: 'china', - showHainanIsLands: true + enter: false, + showHainanIsLands: false, + backSize: 50, + backColor: '#ffffff' }, tooltip: { show: true, @@ -145,6 +148,26 @@ export const option = { shadowOffsetY: 2, shadowBlur: 10 } + }, + { + type: 'lines', + zlevel: 2, + effect: { + show: true, + period: 4, //箭头指向速度,值越小速度越快 + trailLength: 0.4, //特效尾迹长度[0,1]值越大,尾迹越长重 + symbol: 'arrow', //箭头图标 + symbolSize: 7, //图标大小 + }, + lineStyle: { + normal: { + color:'#4fb6d2', + width: 1, //线条宽度 + opacity: 0.1, //尾迹线条透明度 + curveness: .3 //尾迹线条曲直度 + } + }, + data: [] } ] } diff --git a/src/packages/components/Charts/Maps/MapBase/config.vue b/src/packages/components/Charts/Maps/MapBase/config.vue index b3ef4961..e1436c05 100644 --- a/src/packages/components/Charts/Maps/MapBase/config.vue +++ b/src/packages/components/Charts/Maps/MapBase/config.vue @@ -1,7 +1,7 @@ + + \ No newline at end of file diff --git a/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue b/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue index cca0c4a1..6b23a809 100644 --- a/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue +++ b/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue @@ -18,18 +18,14 @@ >
- - {{ item.title }} - + {{ item.title }}
- - {{ item.title }} - + {{ item.title }}
@@ -206,12 +202,21 @@ $halfCenterHeight: 50px; display: flex; align-items: center; justify-content: space-between; - padding: 2px 15px; + padding: 2px 6px 2px 15px; @include fetch-bg-color('background-color3'); &-text { font-size: 12px; margin-left: 8px; user-select: none; + white-space: nowrap; + flex: 1; + width: 0; + text-align: right; + overflow: hidden; + text-overflow: ellipsis; + display: inline-block; + transition: color .3s var(--n-bezier); + color: #99999a; } } .list-center { @@ -231,6 +236,13 @@ $halfCenterHeight: 50px; .list-bottom-text { font-size: 12px; padding-left: 5px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: inline-block; + transition: color .3s var(--n-bezier); + color: #99999a; + max-width: 90%; } } .list-model { @@ -294,7 +306,8 @@ $halfCenterHeight: 50px; } } .list-bottom { - display: block; + display: flex; + align-items: center; } } /* 缩小展示 */