Browse Source

style: 调整地图样式初始值

yusheng 3 months ago
parent
commit
e46c047967
1 changed files with 18 additions and 18 deletions
  1. 18 18
      src/views/home/index.vue

+ 18 - 18
src/views/home/index.vue

@@ -468,7 +468,7 @@
         stationMaxHeight: 0,
         alarmList: [],
         alarmMaxHeight: 0,
-        mapHeight: 0,
+        mapHeight: 400,
         barOption: {},
         productLineList: []
       };
@@ -1020,29 +1020,29 @@
       flex-direction: column;
       .map_box {
         min-height: 650px;
-        position: relative;
+        // position: relative;
         flex: 1;
         overflow: hidden;
         // display: flex;
         // align-items: center;
         // justify-content: center;
         // background: #ccc;
-        .back_bottom {
-          position: absolute;
-          top: 30px;
-          left: 30px;
-          z-index: 999;
-          width: 90px;
-          height: 30px;
-          text-align: center;
-          line-height: 30px;
-          color: #fff;
-          font-size: 13px;
-          font-weight: 700;
-          border-radius: 10px;
-          background: #0db233;
-          cursor: pointer;
-        }
+        // .back_bottom {
+        //   position: absolute;
+        //   top: 30px;
+        //   left: 30px;
+        //   z-index: 999;
+        //   width: 90px;
+        //   height: 30px;
+        //   text-align: center;
+        //   line-height: 30px;
+        //   color: #fff;
+        //   font-size: 13px;
+        //   font-weight: 700;
+        //   border-radius: 10px;
+        //   background: #0db233;
+        //   cursor: pointer;
+        // }
       }
       .lessee_box {
         width: 100%;