<template> <!-- 海绵建设评估 --> <div id="ZHHM_JSPG"> <div :class="['LeftBox', 'animate__animated', showPanel ? 'animate__fadeOutLeft' : 'animate__fadeInLeft']"> <div class="ComBox"> <!-- 降雨日历统计 --> <div class="Box_header">降雨日历统计</div> <!-- 内涝积水分析 --> <div class="Box_header">内涝积水分析</div> </div> </div> <div :class="['RightBox', 'animate__animated', showPanel ? 'animate__fadeOutRight' : 'animate__fadeInRight']"> <div class="ComBox"> <!-- 典型项目分析 --> <div class="Box_header">典型项目分析</div> <!-- 关键管网分析 --> <div class="Box_header">关键管网分析</div> </div> </div> <!-- 中部资金绩效 --> <div class="centerSuggest"></div> </div> </template> <script setup name="ZHHM_JSPG"> import { ref, reactive, toRefs, onMounted, defineProps, defineEmits } from 'vue'; import monitorCalender from './monitorCalender.vue'; import chartLogging from './chartLogging'; //内涝积水点 import projectDX from './projectDX'; //典型项目分析 import pipeFX from './pipeFX'; //管网分析 const showPanel = ref(true); //面板展开收起 // 面板内容展开收起控制 const props = defineProps({ showPanel: { type: Boolean, }, }); watch( () => props.showPanel, () => { showPanel.value = props.showPanel; }, { immediate: true } ); // 日历点击获取相应日期 const getChangeDate = date => { console.log(date); }; onMounted(() => {}); </script> <style lang="scss" scoped> #ZHHM_JSPG { width: 100%; height: 100%; .centerSuggest { position: absolute; left: 480px; top: 110px; z-index: 90; background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 69, 108, 0.8) 100%); border-radius: 6px; border: 1px solid #15d2fd; padding: 15px; width: calc(100vw - 1000px); box-shadow: inset 0 0 10px 10px #47eef38a; } .LeftBox { width: 450px; height: calc(100% - 98px); position: absolute; left: 10px; top: 70px; background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 69, 108, 0.8) 100%); border-radius: 6px; border: 1px solid #47eef3; box-sizing: border-box; padding: 10px; box-shadow: inset 0 0 5px 5px #47eef38a; } .RightBox { width: 450px; height: calc(100% - 98px); position: absolute; right: 10px; top: 70px; background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 69, 108, 0.8) 100%); border-radius: 6px; border: 1px solid #47eef3; box-sizing: border-box; padding: 10px; box-shadow: inset 0 0 5px 5px #47eef38a; } .ComBox { width: 100%; box-sizing: border-box; .Box_header { width: 100%; height: 43px; background: url('@/assets/images/Sponge_screen/Box_HeaderBackground.png') no-repeat center; background-size: cover; font-family: PangMenZhengDao; font-weight: 400; font-size: 23px; color: #ebfeff; line-height: 43px; box-sizing: border-box; padding-left: 35px; } } } </style>