使用uview框架
<view class=""> <u-row gutter="4" align="top"> <block v-for="item, index in 5" :key="index"> <u-col span="6"> <view style="width: 100%;height: 200rpx;background-color: pink;margin-top: 10rpx;"> card </view> </u-col> </block> </u-row> </view>
实现效果
标签:uniapp,布局,框架,卡片,uview,card From: https://www.cnblogs.com/p201821460026/p/16726645.html