王通 1 year ago
parent
commit
35d7796de8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/supermap-2.5d.vue
  2. 1 1
      src/views/datacenter.vue

+ 1 - 1
src/components/supermap-2.5d.vue

@@ -1,7 +1,6 @@
 <template>
   <div id="supermap3D" style="width: 100%; height: 100%;background: none;overflow-y: auto;">
     <div id="cesiumContainer" style="width: 100%; height: 100%;background: none;">
-      </div>
       <!--地图top 显示 开始-->
       <transition name='fade'>
         <div class="map-tit" v-show="mapshow">
@@ -15,6 +14,7 @@
             查看
           </el-button>
         </div>
+        <div id="super2"></div>
       </transition>
       <!--地图top 显示 结束-->
     </div>

+ 1 - 1
src/views/datacenter.vue

@@ -273,7 +273,7 @@ export default {
         ],
         grid: {
           top: "5%",
-          left: "2%",
+          left: "12%",
           // right: "4%",
           bottom: "-15%",
           width: "75%",