# Column 栏

基础用法
不传入 content-width 时默认占满剩余宽度
显示代码
内容宽度固定
显示代码
Column Attributes
参数 说明 类型 可选值 默认值
prefix-width 前置宽度 String - -
suffix-width 后置宽度 String - -
content-width 内容宽度 String - -
hidden-colon 是否隐藏冒号 Boolean - false
vertical-align 垂直方向对齐,同流式布局的align-items String - center
ColumnItem Attributes
优先级高于 `Column`
参数 说明 类型 可选值 默认值
prefix-width 前置宽度 String - -
suffix-width 后置宽度 String - -
content-width 内容宽度 String - -
hidden-colon 是否隐藏冒号 Boolean - false
vertical-align 垂直方向对齐,同流式布局的align-items String - center
ColumnItem Event
事件 说明 参数
prefix-click 点击了前置对象 -
suffix-click 点击了后置对象 -
ColumnItem Slots
事件 说明
prefix 前置内容
suffix 后置内容