fix: 标题栏组件图片高度自适应

This commit is contained in:
kele
2023-01-10 18:04:47 +08:00
parent 3553ee989e
commit 09c72942c9
@@ -60,7 +60,7 @@
// 组件样式
const elStyles = {
background: `url(${sheep.$url.cdn(props.data.src)}) no-repeat top center / 100% 100%`,
background: `url(${sheep.$url.cdn(props.data.src)}) no-repeat top center / 100% auto`,
height: props.styles.height + 'px',
fontStyle: props.data.title.other.includes('italic') ? 'italic' : 'normal',
fontWeight: props.data.title.other.includes('bold') ? 'bold' : '',