From 2aa1d87680e9351bf027bab73f61290b7f00efe4 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期五, 08 三月 2024 15:55:56 +0800 Subject: [PATCH] fix:修改柱状图提示框样式 --- src/views/HomeView.vue | 28 ++++++++++++++++++---------- 1 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 6a2049e..c7898b8 100644 --- a/src/views/HomeView.vue +++ b/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"; @@ -7,15 +7,18 @@ import { useSettingStore } from "@/stores/index"; import { storeToRefs } from "pinia"; import MessageContent from "@/components/Plugins/MessageContent"; -import Chartgd from "@/views/daoAnOffice/chartgd.vue"; + +import {mapState} from '@/stores/map.js'; + +// import Chartgd from "@/views/daoAnOffice/chartgd.vue"; + +// 涓績鍦板浘 +import Map from './daoAnOffice/center/map.vue'; const settingStore = useSettingStore(); const { isScale } = storeToRefs(settingStore); const wrapperStyle = {}; -const dtFig=ref(0) -const handlechan=()=>{ -} </script> <template> @@ -32,7 +35,8 @@ :autoScale="isScale" > <div class="content_wrap"> - <chartgd @changeDt="handlechan" v-if="dtFig ==0" class="gddt"></chartgd> + <!-- <chartgd class="gddt" v-show="!mapState"></chartgd> --> + <Map v-if="!mapState"></Map> <Headers /> <RouterView /> <MessageContent /> @@ -59,13 +63,17 @@ background-position: center center; } .d-bottom{ - position: relative; + position: absolute; //width: 120px; - bottom: 140px; - height: 80px; + width: 1920px; + height: 41px; + left: 50%; + transform: translateX(-50%); + bottom: 0; background-image: url("@/assets/img/bottombg.png"); - background-size: cover; + background-size: contain; background-position: center center; margin-bottom: 4px; + } </style> -- Gitblit v1.8.0