fix(images): 修正图片展示模式为aspectFit
- 将商品分类页图片组件的mode属性从aspectFill改为aspectFit - 修改首页图片组件的mode属性以保持图片完整显示 - 防止图片裁剪,提升图片展示效果一致性
This commit is contained in:
@@ -271,7 +271,7 @@ const ShopPage: React.FC = () => {
|
||||
<Image
|
||||
className='w-full h-full'
|
||||
src={getCompressedImageUrl(item.image || item.files || '')}
|
||||
mode='aspectFill'
|
||||
mode='aspectFit'
|
||||
lazyLoad
|
||||
/>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user