diff --git a/src/views/location/Index.vue b/src/views/location/Index.vue index a3c9ff60..cce0f17f 100644 --- a/src/views/location/Index.vue +++ b/src/views/location/Index.vue @@ -55,7 +55,7 @@
-
+
{{legend.start}}~{{legend.end}}
{{legend.count}}
@@ -352,7 +352,7 @@ :size="700" :with-header="false" destroy-on-close> - +
@@ -485,7 +485,7 @@ export default { layout: {}, paint: { 'fill-color': ['get', 'color'], - 'fill-opacity': ['case', ['boolean', ['feature-state', 'hover'], false], 1, 0.6] + 'fill-opacity': ['case', ['boolean', ['feature-state', 'hover'], false], 0.7, 0.3] } }) // 六边形的鼠标事件 @@ -533,7 +533,7 @@ export default { // 按值的大小分组,并计算各组数量和颜色 this.pieValueRamp = this.calculateValueRamp(densityData) const option = _.cloneDeep(pieOption) - option.color = this.pieColorRamp.map(c => `rgb(${c},.9)`) + option.color = this.pieColorRamp.map(c => `rgb(${c},.7)`) option.series[0].name = this.$t('location.populationDensity') option.series[0].data = this.pieValueRamp.map((r, i) => ({ name: `${r.start}~${r.end}`, @@ -1499,7 +1499,7 @@ export default { } }, //针对我的关注列表的批量取消关注操作 - async handleCancleFollowBatch() { + async handleCancelFollowBatch() { this.closeRightBox() this.curPageNum = 1 this.subscribersList = [] @@ -1731,7 +1731,7 @@ export default { const color = this.currentPolygon.color.split(',') color[0] = color[0].split('[')[1] color[2] = color[2].split(']')[0] - return `rgba(${color.join(',')},.8)` + return `rgba(${color.join(',')},.7)` } else if (this.tooltip.type === this.tooltipType.human) { return 'var(--el-color-business)' } else if (this.tooltip.type === this.tooltipType.baseStation) {