From 7af74b2a6d50b72a1473e86e531be631067870e0 Mon Sep 17 00:00:00 2001
From: chenjinsong <523037378@qq.com>
Date: Wed, 13 Mar 2024 12:05:24 +0800
Subject: [PATCH] =?UTF-8?q?CN-1563=20feat:=20=E8=B0=83=E6=95=B4=E9=A5=BC?=
=?UTF-8?q?=E5=9B=BE=E9=A2=9C=E8=89=B2=E9=80=8F=E6=98=8E=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/location/Index.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/location/Index.vue b/src/views/location/Index.vue
index 76c4f31a..ce228fbc 100644
--- a/src/views/location/Index.vue
+++ b/src/views/location/Index.vue
@@ -94,7 +94,7 @@
-
+
{{legend.start}}~{{legend.end}}
{{legend.count}}
@@ -544,7 +544,7 @@ export default {
// 按值的大小分为5组,并计算各组数量和颜色
this.pieValueRamp = this.calculateValueRamp(densityData)
const option = _.cloneDeep(pieOption)
- option.color = this.pieColorRamp.map(c => `rgb(${c})`)
+ option.color = this.pieColorRamp.map(c => `rgb(${c},.9)`)
option.series[0].name = this.$t('location.populationDensity')
option.series[0].data = this.pieValueRamp.map((r, i) => ({
name: `${r.start}~${r.end}`,
@@ -1639,7 +1639,7 @@ export default {
// const pieColorRamp = ['186,224,255', '105,177,255', '22,119,255', '0,62,179', '0,29,102']
// const pieColorRamp = ['156,174,29', '241,198,0', '89,202,242', '63,133,186', '37,55,128']
// const pieColorRamp = ['196,214,59', '190,230,255', '135,206,250', '63,133,186', '37,55,128']
- const pieColorRamp = ['196,214,59', '135,206,250', '63,133,186', '42,60,135', '34,7,94']
+ const pieColorRamp = ['196,214,59', '135,206,250', '63,133,186', '45,65,135', '34,7,90']
const pieValueRamp = ref([])
const followedSubscribersList = ref([])
const searchValueListShow = ref([])