style(背景图组件): 优化并删除冗余代码

This commit is contained in:
hzj 2026-01-05 18:10:17 +08:00
parent 1638266d93
commit 5fe8687e4d

View File

@ -26,26 +26,13 @@ const props = defineProps({
//
layerStyle: {
type: Object,
default: () => ({
width: '100vw',
minHeight: '100vh',
position: 'absolute',
top: '0',
left: '0',
zIndex: 0,
pointerEvents: 'none',
}),
default: () => ({}),
},
//
imageStyle: {
type: Object,
default: () => ({
width: '100vw',
objectFit: 'cover',
objectPosition: 'center top',
display: 'block',
}),
default: () => ({}),
},
//