From 39913b145347f509a1137a398f9803fca7e4f4b8 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期四, 29 二月 2024 14:00:13 +0800 Subject: [PATCH] fix:修改线段图表 --- src/views/HomeView.vue | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 2b7eb63..6a2049e 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -7,10 +7,15 @@ import { useSettingStore } from "@/stores/index"; import { storeToRefs } from "pinia"; import MessageContent from "@/components/Plugins/MessageContent"; +import Chartgd from "@/views/daoAnOffice/chartgd.vue"; const settingStore = useSettingStore(); const { isScale } = storeToRefs(settingStore); const wrapperStyle = {}; +const dtFig=ref(0) +const handlechan=()=>{ + +} </script> <template> @@ -27,14 +32,23 @@ :autoScale="isScale" > <div class="content_wrap"> + <chartgd @changeDt="handlechan" v-if="dtFig ==0" class="gddt"></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%; @@ -44,4 +58,14 @@ background-size: cover; background-position: center center; } +.d-bottom{ + position: relative; + //width: 120px; + bottom: 140px; + height: 80px; + background-image: url("@/assets/img/bottombg.png"); + background-size: cover; + background-position: center center; + margin-bottom: 4px; +} </style> -- Gitblit v1.8.0