Ver Fonte

更新 地图遮罩颜色

wzh há 4 anos atrás
pai
commit
3547c676d8
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/views/transportationSafetyCenter.vue

+ 3 - 3
src/views/transportationSafetyCenter.vue

@@ -68,7 +68,7 @@ export default {
     }
 
     onMounted(() => {
-      // initMap();
+      initMap();
       getNumbers(store.state.currentTabText == "运输安全管理中心");
     });
     return {
@@ -100,9 +100,9 @@ export default {
   left: 0;
   right: 0;
   bottom: 0;
-  background: url(/background.png);
-  background-size: contain;
   z-index: 8;
   pointer-events: none;
+  background-image: radial-gradient(ellipse, #213e5f, #0f1d2e);
+  opacity: 0.35;
 }
 </style>