From 0bb750af34e7da12a1e130d001eb09c60294d76a Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Wed, 30 Nov 2022 19:38:35 +0800 Subject: [PATCH] 111 --- .../components/ReservoirThumbnail.vue | 64 ++++--------------- 1 file changed, 12 insertions(+), 52 deletions(-) diff --git a/front/src/views/assertReport/components/ReservoirThumbnail.vue b/front/src/views/assertReport/components/ReservoirThumbnail.vue index bdb885fc..92990550 100644 --- a/front/src/views/assertReport/components/ReservoirThumbnail.vue +++ b/front/src/views/assertReport/components/ReservoirThumbnail.vue @@ -29,7 +29,7 @@ districtData: [ { name: '市南区', - value: [120.395966, 36.000892], + value: [120.435966, 35.980892], }, { name: '市北区', @@ -133,25 +133,25 @@ itemStyle: { borderColor: '#25e8ff', borderWidth: 2, - /* areaColor: "#004d8e", //rgba设置透明度0 - shadowColor: "#10daff", - shadowBlur: 10, - shadowOffsetX: 10, - opacity: 0.53, */ + areaColor: { image: img, repeat: 'repeat', }, + }, emphasis: { - disabled: false, + //disabled: false, + //areaColor: '#3066ba', focus: 'none', itemStyle: { - color: null, + // color: '#3066ba',//鼠标滑过区域颜色 + color: '#1ef6f5',//鼠标滑过区域颜色 }, label: { show: true, - //color: "#fff", + color: "#ff934a", + fontWeight:'bold' }, }, }, @@ -210,47 +210,7 @@ }, ], series: [ - // { - // tooltip: { - // show: false, - // }, - // type: "effectScatter", - // coordinateSystem: "geo", - // rippleEffect: { - // scale: 3, - // brushType: "stroke", - // }, - // showEffectOn: "render", - // itemStyle: { - // normal: { - // shadowColor: "#ffffff", - // shadowBlur: 10, - // shadowOffsetX: 0, - // shadowOffsetY: 0, - // color: "#df1818", - // }, - // }, - // label: { - // normal: { - // color: "#fff", - // }, - // }, - // symbol: "circle", - // symbolSize: [10, 5], - // data:data, //地标闪烁小圆点 - // zlevel: 1, - // }, - // { - // type: "scatter", - // coordinateSystem: "geo", - // symbol: function (value, params) { - // return 'image://static/assets/warning-reservoir.png'; - // }, - // symbolSize: [25, 35], - // symbolOffset: [0, -20], - // z: 9999, - // data:data, //企业图片 - // }, + { type: 'scatter', coordinateSystem: 'geo', @@ -336,8 +296,8 @@ background-size: 100% 100%; .city-map-content-echarts { width: 10rem; - height: 7.9rem; - top: 10px; + height: 7.8rem; + top: 20px; left: 500px; bottom: 2rem; position: absolute;