ZhangXianQiang
2024-03-01 6ff83c7075d745834208fb232abeaf51019d78c3
src/views/HomeView.vue
@@ -1,4 +1,4 @@
<script setup lang="ts">
<script setup>
import { ref } from "vue";
import { RouterView } from "vue-router";
import ScaleScreen from "@/components/scale-screen";
@@ -8,9 +8,14 @@
import { storeToRefs } from "pinia";
import MessageContent from "@/components/Plugins/MessageContent";
import {mapState} from '@/stores/map.js';
// import Chartgd from "@/views/daoAnOffice/chartgd.vue";
const settingStore = useSettingStore();
const { isScale } = storeToRefs(settingStore);
const wrapperStyle = {};
</script>
<template>
@@ -27,17 +32,23 @@
    :autoScale="isScale"
  >
    <div class="content_wrap">
      <!-- <chartgd class="gddt" v-show="!mapState"></chartgd> -->
      <Headers />
      <RouterView />
      <MessageContent />
      <div class="d-bottom">
      </div>
    </div>
  </scale-screen>
  <Setting />
</template>
<style lang="scss" scoped>
.gddt{
  position: absolute;
  z-index: 0;
  width: 3840px;
  height: 1080px;
}
.content_wrap {
  width: 100%;
  height: 100%;