地图增加到可视化中

This commit is contained in:
DESKTOP-VMMLSOQ\wangzg 2024-02-23 08:32:30 +08:00
parent 75285db645
commit 5b5ad82daa
2 changed files with 18 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="mars3dContainer" ref="mapRef" id="mars3dContainer"></div>
<div class="map-container" ref="mapRef" id="mars3dContainer"></div>
</template>
<script>

View File

@ -27,8 +27,9 @@
</div>
<!-- 中间内容-->
<div class="center-content point-none">
<div class="center-content">
<Map />
<img class="center-bg" :src="centerBg" />
</div>
<!-- 右侧内容-->
<div class="right-content point">
@ -69,12 +70,14 @@
</template>
<script>
const centerBg = require('@/assets/peakCoalImages/center/center-content-bg.png')
export default {
name: "PeakCoalView",
components: {},
data() {
return {
autoStyle: {}
autoStyle: {},
centerBg
}
},
mounted() {
@ -221,8 +224,17 @@ body, html, #__nuxt, #__layout {
transform: translateX(-50%);
width: 4383px;
height: 2628px;
.bg("~/assets/peakCoalImages/center/center-content-bg.png");
pointer-events: none;
.center-bg {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 2;
pointer-events: none;
}
}
}