fix: 标题栏组件图片高度自适应
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' : '',
|
||||
|
|
Loading…
Reference in New Issue