除地图和对接数据外已完成

This commit is contained in:
aixianling
2023-10-23 16:32:13 +08:00
parent 1420676c7c
commit 4ec643dd1a
9 changed files with 323 additions and 28 deletions

View File

@@ -0,0 +1,38 @@
<template>
<section class="fdScrollbar">
<slot/>
</section>
</template>
<script>
export default {
name: "fdScrollbar",
data() {
return {}
},
methods: {},
}
</script>
<style scoped lang="scss">
.fdScrollbar {
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
margin-right: -5px;
position: relative;
&::-webkit-scrollbar {
background: transparent;
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 6px;
border-radius: 6px;
}
&:hover::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #0C3A55;
}
}
</style>