小程序、web均可使用,我当前用的是小程序
html
<view class="job_tab_container flex_between">
<view class="job_tab_item">
</view>
<view class="job_tab_item">
</view>
<view class="job_tab_item">
</view>
</view>
css
.job_tab .job_tab_container{
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.job_tab .job_tab_container .job_tab_item{
width: calc((100% - 14rpx)/2);
height: 106rpx;
background: #FFFFFF;
border-radius: 8rpx;
margin-bottom: 14rpx;
}