|
|
|
|
@ -192,14 +192,24 @@ export default { |
|
|
|
|
var lat = points[j].split(',')[1]; |
|
|
|
|
path.push(new BMapGL.Point(lng, lat)); |
|
|
|
|
} |
|
|
|
|
var prism = new BMapGL.Prism(path, 5000, { |
|
|
|
|
topFillColor: '#5679ea', |
|
|
|
|
topFillOpacity: 0.5, |
|
|
|
|
sideFillColor: '#5679ea', |
|
|
|
|
var prism = new BMapGL.Prism(path, 2000, { |
|
|
|
|
|
|
|
|
|
topFillColor: '#000', |
|
|
|
|
topFillOpacity: 0.6, |
|
|
|
|
sideFillColor: '#0e2566', |
|
|
|
|
sideFillOpacity: 0.9 |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
this.baiduMap.addOverlay(prism); |
|
|
|
|
// var prism1 = new BMapGL.Prism(path, 1000, { |
|
|
|
|
|
|
|
|
|
// topFillColor: '#000', |
|
|
|
|
// topFillOpacity: 0, |
|
|
|
|
// sideFillColor: '#fff', |
|
|
|
|
// sideFillOpacity: 0.9 |
|
|
|
|
|
|
|
|
|
// }); |
|
|
|
|
// this.baiduMap.addOverlay(prism1); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
@ -229,13 +239,13 @@ export default { |
|
|
|
|
<div class="mapslabel-b"> |
|
|
|
|
<div> |
|
|
|
|
<div>用电量</div> |
|
|
|
|
<div class="mapslabel-b-font">${r.electricity}</div> |
|
|
|
|
<span style="margin-top:0.08rem;display: inline-block;float: left;">kw·h</span> |
|
|
|
|
<div class="mapslabel-b-font" style="color:#11F150;">${r.electricity}</div> |
|
|
|
|
<span style="margin-top:0.06rem;display: inline-block;float: left;color:#11F150; font-family: Acumin-Pro-Condensed-Black-2;">kw·h</span> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<div>碳排放量</div> |
|
|
|
|
<div class="mapslabel-b-font">${r.carbon}</div> |
|
|
|
|
<span style="margin-top:0.08rem;display: inline-block;float: left;">t</span> |
|
|
|
|
<div class="mapslabel-b-font" style="color:#FBB02D;">${r.carbon}</div> |
|
|
|
|
<span style="margin-top:0.06rem;display: inline-block;float: left;color:#FBB02D;font-family: Acumin-Pro-Condensed-Black-2;">t</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
@ -518,7 +528,7 @@ export default { |
|
|
|
|
line-height: 0.32rem; |
|
|
|
|
margin-bottom: 0.14rem; |
|
|
|
|
font-size: 0.18rem; |
|
|
|
|
font-family: Microsoft YaHei; |
|
|
|
|
font-family: Acumin-Pro-Condensed-Black-2; |
|
|
|
|
font-weight: bold; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.41); |
|
|
|
|
@ -546,7 +556,7 @@ export default { |
|
|
|
|
|
|
|
|
|
.mapslabel-b .mapslabel-b-font { |
|
|
|
|
font-size: 0.24rem; |
|
|
|
|
font-family: Acumin Variable Concept; |
|
|
|
|
font-family: Acumin-Pro-Condensed-Black-2; |
|
|
|
|
margin-top: 0.04rem; |
|
|
|
|
float: left; |
|
|
|
|
} |
|
|
|
|
@ -701,7 +711,8 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.mapsbtn{ |
|
|
|
|
|
|
|
|
|
.mapsbtn { |
|
|
|
|
position: absolute; |
|
|
|
|
top: 10px; |
|
|
|
|
right: 20px; |
|
|
|
|
|