Fix:3638 【商城小程序】热搜榜单商品图尺寸统一为正方形,不根据原图长度自适应
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user