From ed18a147e5d3e426bd291be1591a805b07b0ba4c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 16 Jul 2021 15:02:50 +0800
Subject: [PATCH] 地图点保留

---
 src/views/wel/home.vue |   62 +++++++++++++++---------------
 1 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/src/views/wel/home.vue b/src/views/wel/home.vue
index 14cafa2..d829efd 100644
--- a/src/views/wel/home.vue
+++ b/src/views/wel/home.vue
@@ -726,37 +726,37 @@
                                 data: mapData
                             },
                             //地图中闪烁的点
-                            // {
-                            //     //  name: 'Top 5',
-                            //     type: 'effectScatter',
-                            //     coordinateSystem: 'geo',
-                            //     data: convertData(mapData[n].sort(function (a, b) {
-                            //         return b.value - a.value;
-                            //     }).slice(0, 20)),
-                            //     symbolSize: function (val) {
-                            //         return val[2] / 10;
-                            //     },
-                            //     showEffectOn: 'render',
-                            //     rippleEffect: {
-                            //         brushType: 'stroke'
-                            //     },
-                            //     hoverAnimation: true,
-                            //     label: {
-                            //         normal: {
-                            //             formatter: '{b}',
-                            //             position: 'right',
-                            //             show: true
-                            //         }
-                            //     },
-                            //     itemStyle: {
-                            //         normal: {
-                            //             color: colors[colorIndex][n],
-                            //             shadowBlur: 10,
-                            //             shadowColor: colors[colorIndex][n]
-                            //         }
-                            //     },
-                            //     zlevel: 1
-                            // },
+                            {
+                                //  name: 'Top 5',
+                                type: 'effectScatter',
+                                coordinateSystem: 'geo',
+                                data: convertData(mapData[n].sort(function (a, b) {
+                                    return b.value - a.value;
+                                }).slice(0, 20)),
+                                symbolSize: function (val) {
+                                    return val[2] / 10;
+                                },
+                                showEffectOn: 'render',
+                                rippleEffect: {
+                                    brushType: 'stroke'
+                                },
+                                hoverAnimation: true,
+                                label: {
+                                    normal: {
+                                        formatter: '{b}',
+                                        position: 'right',
+                                        show: false
+                                    }
+                                },
+                                itemStyle: {
+                                    normal: {
+                                        color: colors[colorIndex][n],
+                                        shadowBlur: 10,
+                                        shadowColor: colors[colorIndex][n]
+                                    }
+                                },
+                                zlevel: 1
+                            },
                             //柱状图
                             {
                                 zlevel: 1.5,

--
Gitblit v1.9.3