From 2691d5f9bcf7a5cae7664ebb44daf9adeee156aa Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 12 四月 2024 09:29:34 +0800
Subject: [PATCH] fix:修改富文本粘贴问题
---
src/views/screen/components/screen-map-three/index.vue | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/views/screen/components/screen-map-three/index.vue b/src/views/screen/components/screen-map-three/index.vue
index 9d6eedf..a117a58 100644
--- a/src/views/screen/components/screen-map-three/index.vue
+++ b/src/views/screen/components/screen-map-three/index.vue
@@ -1,16 +1,16 @@
<template>
- <div class="map-container" ref="mapContainer">
-
+ <div class="map-container" >
+ <canvas class="world" ref="worldContainer"></canvas>
</div>
</template>
<script>
-import World from './world/world';
+import Experience from './experience/index';
let world = null;
export default {
name: 'ScreenMapThree',
mounted() {
- world = new World(this.$refs.mapContainer);
+ world = new Experience(this.$refs.worldContainer);
}
}
</script>
@@ -19,5 +19,13 @@
.map-container {
width: 100%;
height: 100%;
+ position: absolute;
+ left: 0;
+ top: 0;
+ z-index: 0;
+ .world {
+ width: 100%;
+ height: 100%;
+ }
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0