Fix:2735 【商城小程序】千县—农民店铺文化图片显示优化

This commit is contained in:
linxi
2024-11-29 09:45:59 +08:00
parent e0588d2ecb
commit 52946a4afe
+5 -5
View File
@@ -301,7 +301,7 @@
:style="{ :style="{
width: picColumnWidth, width: picColumnWidth,
height: picColumnWidth, height: picColumnWidth,
borderRadius: '8rpx' borderRadius: '20rpx'
}" }"
:src="url" :src="url"
/> />
@@ -372,7 +372,7 @@ export default {
uni.getSystemInfo({ uni.getSystemInfo({
success: (e) => { success: (e) => {
// 两列商品宽度 // 两列商品宽度
this.picColumnWidth = (e.screenWidth - uni.upx2px(92)) / 2 + 'px' this.picColumnWidth = (e.screenWidth - uni.upx2px(60)) / 2 + 'px'
} }
}) })
}, },
@@ -534,12 +534,12 @@ export default {
} }
.pics-list { .pics-list {
position: relative; position: relative;
padding: 32rpx 0; padding: 20rpx 0;
flex-wrap: wrap; flex-wrap: wrap;
} }
.pics-list .pics-item { .pics-list .pics-item {
margin-left: 36rpx; margin-left: 20rpx;
margin-top: 20rpx; margin-top: 10rpx;
} }
.info-section, .info-section,
.pics-section, .pics-section,