mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
25 lines
838 B
Plaintext
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>
|