Fix:3638 【商城小程序】热搜榜单商品图尺寸统一为正方形,不根据原图长度自适应

This commit is contained in:
linxi
2025-04-21 11:45:39 +08:00
parent c285c32a4e
commit 590c33d4d3
+3 -1
View File
@@ -107,7 +107,7 @@
<view class="img">
<image
:src="good.productImage"
mode="widthFix"
mode="widthFix|heightFix"
class="pic"
/>
</view>
@@ -435,6 +435,8 @@ export default {
justify-content: space-around;
margin: 0 0 12rpx 0;
.img {
width: 100rpx;
height: 100rpx;
.pic {
display: block;
width: 100rpx;