whao 2 năm trước cách đây
mục cha
commit
5ebc7116ab
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      src/views/event.vue
  2. 1 1
      src/views/forest.vue
  3. 1 1
      src/views/monitor.vue

+ 1 - 1
src/views/event.vue

@@ -58,7 +58,7 @@
         </div>
       </div>
       <!-- 地图 -->
-      <supermap ref="supermap" style="width: 100%;height: 500px;" :mapDiv="'forestMap'" :mapSite="{doubleClickZoom:false}"
+      <supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" :mapSite="{doubleClickZoom:false}"
                 :codes="['9fa5']" :isSideBySide="false"></supermap>
       <button @click="showEventInfo1" style="position: absolute; right: 50%;top: 85%;z-index: 1000;">弹层事件演示用按钮1</button>
       <button @click="showEventInfo2" style="position: absolute; right: 40%;top: 85%;z-index: 1000;">弹层事件演示用按钮2</button>

+ 1 - 1
src/views/forest.vue

@@ -72,7 +72,7 @@
 				</div>
 			</div>
 			<!-- 地图 -->
-			<supermap ref="supermap" style="width: 100%;height: 500px;" :mapDiv="'forestMap'" :mapSite="{doubleClickZoom:false}"
+			<supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" :mapSite="{doubleClickZoom:false}"
 				:codes="['9fa5']" :isSideBySide="false"></supermap>
 			<button @click="showEventInfo1" style="position: absolute; right: 50%;top: 45%;z-index: 1000;">弹层事件演示用按钮
 			</button>

+ 1 - 1
src/views/monitor.vue

@@ -66,7 +66,7 @@
 				</div>
 			</div>
 			<!-- 地图 -->
-			<supermap style="width: 100%;height: 500px;" :mapDiv="'forestMap'" :mapSite="{doubleClickZoom:false}"
+			<supermap style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" :mapSite="{doubleClickZoom:false}"
 				:codes="['9fa5']" :isSideBySide="false"></supermap>
 			<button @click="showEventInfo1" style="position: absolute; right: 50%;top: 45%;z-index: 1000;">弹层事件演示用按钮
 			</button>