css 瀑布流


.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>

css 瀑布流

上一篇:理解 MVCC


下一篇:PhpAdmin安装报错, php syntax error, unexpected T_STRING on line 8