月球大数据地理空间分析展示平台-【前端】-月球2期前端
WX
2023-09-04 6995a96cc2380db13bb2295de107294258ae4c63
src/views/export/exportMap.vue
@@ -113,7 +113,6 @@
    </div>
  </div>
</template>
<script lang="ts" setup>
import store from "@/store";
import {
@@ -139,7 +138,6 @@
  // window.Viewer.scene.render();
  const myCanvas = window.Viewer.scene.canvas;
  var res = canvas2image.convertToImage(myCanvas, "869", "783", "png");
  debugger;
  url.value = res.src;
};
onMounted((res) => {
@@ -184,7 +182,7 @@
  overflow: auto;
  .contentTitle {
    font-size: 20px;
    font-size: 16px;
    font-family: Source Han Sans CN;
    font-weight: 300;
    color: #ffffff;
@@ -221,6 +219,8 @@
    margin-top: 9px;
    margin-left: 16px;
    margin-right: 9px;
    font-size: 16px;
    font-family: Source Han Sans CN;
  }
}
.menuButton {
@@ -228,6 +228,7 @@
  display: flex;
  justify-content: center;
  align-items: center;
  .el-button {
    height: 37px;
    background: rgba(104, 156, 255, 0.2);
@@ -248,13 +249,13 @@
.menuTitle {
  width: calc(100% - 30px);
  height: 42px;
  background: #0e151f;
  font-size: 24px;
  background: #0e151f;
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: #ffffff;
  padding: 10px;
  padding-left: 28px;
}
::-webkit-scrollbar {