Fix(千县名品):文化的图片全部靠左显示了

This commit is contained in:
linxi
2024-08-26 16:55:16 +08:00
parent 9803c53c3b
commit 5e4f3aced6
2 changed files with 23 additions and 26 deletions
+4 -4
View File
@@ -240,7 +240,7 @@
<view class="title">
图片
</view>
<view class="pic-list">
<view class="pic-list v12-d-grid-columns-2">
<view
v-for="(item, index) in inn.countyImages"
:key="index"
@@ -1358,12 +1358,12 @@ export default {
}
}
.pic-list {
display: flex;
flex-wrap: wrap;
// display: flex;
// flex-wrap: wrap;
width: 100%;
padding: 30rpx 0 0 0;
.item {
width: calc(50% - 10rpx);
// width: calc(50% - 10rpx);
margin: 0 20rpx 20rpx 0;
.img {
display: block;