.waterfall{
margin:0 20rpx;
column-count: 2;
.waterfall-item {
margin-bottom: 15rpx;
//break-inside: avoid;
}
.waterfall-img {
width: 100%;
}
}
<view class="waterfall">
<view class="waterfall-item" v-for="(item, index) in likeList" :key="index">
<image :src="getImageUrl(item.image_vertical)" mode="widthFix" class="waterfall-img"></image>
</view>
</view>