linqilong 5 сар өмнө
parent
commit
90b9113250

+ 1 - 0
src/components/OpeningAnimation.vue

@@ -45,5 +45,6 @@ onMounted(() => {
   z-index: 1;
   position: fixed;
   object-fit: cover;
+  background: #000;
 }
 </style>

+ 2 - 2
src/utils/mapConfig.ts

@@ -33,8 +33,8 @@ export function init(config: any) {
   scene = new Scene({
     id: 'mapDiv',
     map: new AntvMap({
-      center: [119.6620473872265, 29.415337822470235],
-      zoom: 7.1,
+      center: [120.69349862882711, 30.929366187471757],
+      zoom: 9.806292879449915
     }),
   });
 

+ 3 - 3
src/views/Home.vue

@@ -153,8 +153,8 @@ function initPoints() {
   })
   const option = {
     view: {
-      center: [104.114129, 37.550339],
-      zoom: 5
+      center: [120.69349862882711, 30.929366187471757],
+      zoom: 9.806292879449915
     },
     layers: [
       {
@@ -182,7 +182,7 @@ function initPoints() {
           isConstant: false,
           field: 'jump',
           value: value => {
-            return value ? 'stationPointBlue' : 'stationPointGray'
+            return value ? 'stationPointBlue' : 'stationPointBlue'
           }
         },
         popup: {