fix:地图图例,数据栏右上角切换清空选择框绑定,病害弹窗功能完善

This commit is contained in:
2024-10-29 14:46:32 +08:00
parent b768ae8d4b
commit fe0d8f9b54
9 changed files with 208 additions and 58 deletions
+20 -2
View File
@@ -7,13 +7,21 @@
* @Description: 滚动条封装样式
-->
<template>
<div class="scroll-box">
<div :class="showBar ? `scroll-box` : `scroll-box-disabled`">
<slot></slot>
</div>
</template>
<script>
export default {};
export default {
name: "FssmScroll",
props: {
showBar: {
type: Boolean,
default: true,
},
},
};
</script>
<style lang="scss" scoped>
@@ -36,4 +44,14 @@ export default {};
background: rgba(220, 231, 248, 0.1);
}
}
.scroll-box-disabled {
width: 100%;
height: 100%;
overflow: auto;
&::-webkit-scrollbar {
display: none;
}
}
</style>