月球大数据地理空间分析展示平台-【前端】-月球2期前端
WX
2023-06-09 eff42e5897b5f0935aa5b93c1bd9acb8bb39b8f0
src/views/Index.vue
@@ -2,11 +2,11 @@
  <div class="body_box">
    <div
      id="cesiumContainer"
      style="width: 100%; height: 100%; position: absolute;"
      style="width: 100%; height: 100%; position: absolute"
    ></div>
    <menus></menus>
    <bottom-btn></bottom-btn>
    <top-btn></top-btn>
  </div>
</template>
@@ -19,11 +19,14 @@
  defineProps,
  defineEmits,
} from "vue";
import menus from "@/components/menus.vue";
//左侧菜单
import menus from "@/views/menus.vue";
//底部菜单
import bottomBtn from "@/components/bottomBtn.vue";
import topBtn from "@/components/topBtn.vue";
import InitMap from "@/assets/js/Map/index.js";
// import * as SmartEarth from "../../public/CIMSDK/index.js";
// import * as SmartEarth from "../assets/js/CIMSDK/index.js";
let map;
var viewer;
const init = () => {
@@ -32,6 +35,7 @@
};
onMounted(() => {
  // console.log(SmartEarth);
  InitMap.init3DMap();
  init();
});