<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="ccjxImg"><img src="@/assets/images/Sponge_screen/ccjxJS.png" alt="" /></div> </div> </div> <div :class="['RightBox', 'animate__animated', showPanel ? 'animate__fadeOutRight' : 'animate__fadeInRight']"> <div class="ComBox"> <!-- 管理绩效 --> <div class="Box_header">管理绩效</div> <div class="gljxImg"><img src="@/assets/images/Sponge_screen/gljxJS.png" alt="" /></div> <!-- 满意度 --> <div class="Box_header">满意度</div> <div class="mydImg"><img src="@/assets/images/Sponge_screen/mydJS.png" alt="" /></div> </div> </div> <!-- 中部资金绩效 --> <div class="centerSuggest"> <div class="ComBox"><div class="Box_header" style="width: 430px">资金绩效</div></div> <div class="zjjxImg"><img src="@/assets/images/Sponge_screen/zjjxJS.png" alt="" /></div> </div> </div> </template> <script setup name="ZHHM_JSPG"> import { ref, reactive, toRefs, onMounted, defineProps, defineEmits } from 'vue'; 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(() => { newfiberMapbox.map.easeTo({ center: [109.488, 36.596], zoom: 13, }); }); </script> <style lang="scss" scoped> #ZHHM_JSPG { width: 100%; height: 100%; .ccjxImg { width: 441px; height: calc(100vh - 160px); overflow: hidden; overflow-y: auto; padding: 20px 0px; } .gljxImg { width: 435px; height: calc(100vh - 350px); overflow: hidden; overflow-y: auto; padding: 10px 0px; margin-bottom: 10px; img { width: 430px; height: 705px; } } .mydImg { width: 432px; overflow: hidden; overflow-y: auto; padding: 10px 0px; img { width: 432px; height: 116px; } } .zjjxImg { margin-top: 10px; img { width: 864px; height: 70px; } } .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>