From 7d8fabb5feddf7d2daffd2452781c515d2eb13cd Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 17 四月 2024 15:34:52 +0800
Subject: [PATCH] Merge branch 'dev-threejs'

---
 src/views/screen/components/screen-map-three/index.vue |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/src/views/screen/components/screen-map-three/index.vue b/src/views/screen/components/screen-map-three/index.vue
new file mode 100644
index 0000000..a117a58
--- /dev/null
+++ b/src/views/screen/components/screen-map-three/index.vue
@@ -0,0 +1,31 @@
+<template>
+  <div class="map-container" >
+    <canvas class="world" ref="worldContainer"></canvas>
+  </div>
+</template>
+
+<script>
+import Experience from './experience/index';
+let world = null;
+export default {
+  name: 'ScreenMapThree',
+  mounted() {
+    world = new Experience(this.$refs.worldContainer);
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.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