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"> <view class="img">
<image <image
:src="good.productImage" :src="good.productImage"
mode="widthFix" mode="widthFix|heightFix"
class="pic" class="pic"
/> />
</view> </view>
@@ -435,6 +435,8 @@ export default {
justify-content: space-around; justify-content: space-around;
margin: 0 0 12rpx 0; margin: 0 0 12rpx 0;
.img { .img {
width: 100rpx;
height: 100rpx;
.pic { .pic {
display: block; display: block;
width: 100rpx; width: 100rpx;