This commit is contained in:
zhangjing1
2026-02-06 10:59:09 +08:00
parent 250df2a705
commit f1354e5e64
2 changed files with 4 additions and 2 deletions

View File

@@ -154,7 +154,9 @@ export default function WgtGoods(props) {
</Text>
)}
{base.titleText?.type === 'image' && base.titleText?.image && (
<SpImage src={base.titleText.image} className='wgt-goods-head-title-image' />
<View className='wgt-goods-head-title-image'>
<SpImage src={base.titleText.image} mode='heightFix' />
</View>
)}
</View>
{base.moreBtn?.show && (

View File

@@ -25,7 +25,7 @@
}
.wgt-goods-head-title-image {
max-height: 40px;
height: 40px;
width: auto;
}
}