diff --git a/sheep/components/s-title-block/s-title-block.vue b/sheep/components/s-title-block/s-title-block.vue index 3fc1aad..f1fb01f 100644 --- a/sheep/components/s-title-block/s-title-block.vue +++ b/sheep/components/s-title-block/s-title-block.vue @@ -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' : '',