Col
Props
| Prop Name | Type | Required | Default | Description |
|---|---|---|---|---|
| span | number | 栅格占位格数 | ||
| offset | number | 栅格向右偏移格数,偏移占位 | ||
| pull | number | 栅格向左偏移格数,偏移不占位 | ||
| push | number | 栅格向右偏移格数,偏移不占位 | ||
| order | number | flex布局下的order |
演示
演示
span - 占位
offset - 偏移
pull & push - 偏移
order - 排序
Row
Props
| Prop Name | Type | Required | Default | Description |
|---|---|---|---|---|
| type | enum | 是否为flex类型,flex类型时定位属性才能生效 | ||
| align | enum | 垂直定位 | ||
| justify | enum | 水平定位 | ||
| gutter | union | 16 | 栅格间距,单个值为横行间隔,数组为[横向间距, 纵向间距] |