中间红笔圈出来的地方怎么做?求代码,最好一步一步教
发布于 6 年前 作者 na13 410 次浏览 来自 官方Issues

3 回复

只能说css自己看吧

<view style="display: -webkit-flex;justify-content: space-between;flex-direction: row;flex-wrap: wrap;width:650rpx; margin: 20rpx 50rpx">
    <view style="text-align: center;width:300rpx; height: 200rpx; line-height:200rpx;background:blue; color: white">XXXXXXXXX</view>
    <view style="text-align: center;width:300rpx; height: 200rpx; line-height:200rpx;background:blue; color: white">AAAAAAAAAAA</view>
    <view style="text-align: center;width:300rpx; height: 200rpx; line-height:200rpx;background:blue; color: white; margin-top: 20rpx">VVVVV</view>
    <view style="text-align: center;width:300rpx; height: 200rpx; line-height:200rpx;background:blue; color: white; margin-top: 20rpx">CCCCCCCCC</view>
</view>
回到顶部