2021-12-21 09:51:43 +08:00

25 lines
838 B
Plaintext

<demo-block title="基础用法" padding>
<van-row>
<van-col span="8" custom-class="dark">span: 8</van-col>
<van-col span="8" custom-class="light">span: 8</van-col>
<van-col span="8" custom-class="dark">span: 8</van-col>
</van-row>
<van-row>
<van-col span="4" custom-class="dark">span: 4</van-col>
<van-col span="10" offset="4" custom-class="light">offset: 4, span: 10</van-col>
</van-row>
<van-row>
<van-col offset="12" span="12" custom-class="dark">offset: 12, span: 12</van-col>
</van-row>
</demo-block>
<demo-block title="在列元素之间增加间距" padding>
<van-row gutter="20">
<van-col span="8" custom-class="dark">span: 8</van-col>
<van-col span="8" custom-class="light">span: 8</van-col>
<van-col span="8" custom-class="dark">span: 8</van-col>
</van-row>
</demo-block>