zhbyyy 1 år sedan
förälder
incheckning
ff60afa5d1
1 ändrade filer med 12 tillägg och 2 borttagningar
  1. 12 2
      investmentNew/js/index.js

+ 12 - 2
investmentNew/js/index.js

@@ -2609,14 +2609,18 @@ let app = new Vue({
                   name: k,
                   geoIndex: 0
                 })
-              }
-              for (var k in geoCoordMap) {
                 that.shanxiMap.dispatchAction({
                   // type: 'geoUnSelect',
                   type: 'downplay',
                   name: k,
                   seriesName: params.seriesName
                 })
+                that.shanxiMap.dispatchAction({
+                  // type: 'geoUnSelect',
+                  type: 'downplay',
+                  name: k,
+                  seriesName: 'series\u00001'
+                })
               }
               that.shanxiMap.dispatchAction({
                 // type: 'geoSelect',
@@ -2630,6 +2634,12 @@ let app = new Vue({
                 name: params.name,
                 seriesName: params.seriesName
               })
+              that.shanxiMap.dispatchAction({
+                // type: 'geoSelect',
+                type: 'highlight',
+                name: params.name,
+                seriesName: 'series\u00001'
+              })
               return `<div class="bgTooltip" style="background: url('../img/shanxi/${params.name}.png') no-repeat center center;background-size: 100% 100%;font-size:36px">
               <div class="flex items-center">
                 <img src="./img/yellowArrow.png" style="width: 12px;height: 22px;margin-right:10px" alt=""><span class="fb">${params.name}</span>