2.5 列(Col)
列组件,与 Row 配合使用实现栅格布局
基础用法
<template>
<dof-row>
<dof-col :span="12"><text>左侧</text></dof-col>
<dof-col :span="12"><text>右侧</text></dof-col>
</dof-row>
</template>
1
2
3
4
5
6
Attributes
| Prop | Type | Required | Default | Description |
span | Number | N | 24 | 列占据的栅格数(总共24栅格) |
Slots