feat(图片背景组件): 设置取消滚动条

This commit is contained in:
hzj 2025-12-18 17:48:15 +08:00
parent 1e4c2a7249
commit a2594b5e8f

View File

@ -24,6 +24,7 @@
<!-- 内容 -->
<div
class="scrollY"
style="
position: absolute;
inset: 0;
@ -44,6 +45,7 @@ import { ref, onMounted, computed } from 'vue'
const props = defineProps({
imgUrl: {
type: String,
default: '',
required: true,
},
@ -116,4 +118,8 @@ onMounted(() => {
.placeholder {
transition: opacity 0.3s ease;
}
.scrollY::-webkit-scrollbar {
display: none;
}
</style>