Grid 宫格

在水平和垂直方向,将布局切分成若干等大的区块。

 

Grids props

参数 类型 描述 默认值
prefixCls string 自定义类名前缀 dn-grids
col string 列数 3
bordered boolean 是否有边框 true
square boolean 每个格子是否固定为正方形 false

 

Grid props

参数 类型 描述 默认值
prefixCls string 自定义类名前缀 dn-grid
hoverClass string 指定按钮按下去的样式类。当 hover-class="none" 时,没有点击态效果 default
thumb string 缩略图 -
label string 描述信息 -
bind:click function 点击事件 -