瀏覽代碼

no message

DESKTOP-GBVU60Q\dell 2 年之前
父節點
當前提交
0e0876478c
共有 1 個文件被更改,包括 16 次插入3 次删除
  1. 16 3
      src/views/Map3d/components/map.vue

+ 16 - 3
src/views/Map3d/components/map.vue

@@ -1,6 +1,8 @@
 <template>
 	<div id="cesiumContainer2" class="ViewerSplitScreen" style="display: none; border-right: 5rem solid #fff"></div>
-	<div id="cesiumContainer" class="jt-map" ref="cesiumContainer"></div>
+	<div id="cesiumContainer" class="jt-map" ref="cesiumContainer">
+		<div class="back"></div>
+	</div>
 </template>
 
 <script>
@@ -318,6 +320,18 @@
 	.lk-status-bar {
 		font-size: 16rem !important;
 	}
+	
+	.back{
+		background: url('@/assets/images/backImg.png') no-repeat;
+		background-size: 100% 100%;
+		height: 100%;
+		width: 100%;
+		pointer-events: none;
+		position: absolute;
+		z-index: 100;
+		// background-color: rgba(0,0,0,0);
+		// opacity: 0.1;
+	}
 
 	.jt-map {
 		// width: calc(100% - 0rem);
@@ -328,8 +342,7 @@
 		overflow: hidden;
 		background-color: blue;
 		border: 0rem solid red;
-		background: url('@/assets/images/backImg.png') no-repeat;
-		background-size: 100% 100%;
+		
 	}
 
 	//分屏样式