Browse Source

更新 样式

王智慧 3 years ago
parent
commit
3d220333a9
2 changed files with 3 additions and 1 deletions
  1. 1 0
      index.html
  2. 2 1
      src/views/index/Index.vue

+ 1 - 0
index.html

@@ -25,6 +25,7 @@
       #app {
         height: 100%;
         width: 100%;
+        overflow-y: hidden;
       }
     </style>
   </head>

+ 2 - 1
src/views/index/Index.vue

@@ -308,7 +308,6 @@ function initMap() {
   map.value.addControl(toolBar);
   map.value.addControl(hawkEye);
   drawMarkers();
-  drawPie();
 }
 
 function drawMarkers() {
@@ -756,6 +755,7 @@ onMounted(() => {
   padding-left: 24px;
   padding-bottom: 20px;
   height: calc(50vh - 60px);
+  min-height: 376px;
 }
 
 .pie {
@@ -766,6 +766,7 @@ onMounted(() => {
   padding-left: 20px;
   padding-bottom: 50px;
   height: calc(50vh - 156px);
+  min-height: 280px;
 }
 
 .icon {