Mini Program uses css3 column to realize waterfall flow, and the pictures are arranged irregularly.

the last picture should be in the left list and appear in the right list.
parent element style of picture list

<view class="video-list">
    <block  wx:for="{{urls}}" wx:key="this">
            <view class="img-wrap"> 
                <image src="{{item}}" mode="widthFix"></image>
            </view> 
    </block>
</view>
.video-list{
    -moz-column-count:2; /* Firefox */
    -webkit-column-count:2; /* Safari and Chrome */
    column-count:2;
    column-gap:15px;
    -moz-column-fill:auto;
    -webkit-column-fill:auto;
    column-fill:auto;
    overflow:hidden;
    margin-bottom:120rpx;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bec195-31ab4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bec195-31ab4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?