From f358ead9f1debef9915d53cfa77f8773c1a6ec1f Mon Sep 17 00:00:00 2001
From: chenjinsong <523037378@qq.com>
Date: Fri, 6 Sep 2024 14:16:00 +0800
Subject: [PATCH] =?UTF-8?q?test:=20=E6=B5=8B=E8=AF=95=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/location/Index.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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) {