# Descriptions 描述列表 V2.2.7

# 属性对比(只显示有差异的)

参数 WinDesign Element-ui
border
默认值: true
默认值: false

# 代码演示

# API

# Descriptions Attributes

参数 说明 类型 可选值 默认值 Version
border 是否带有边框 boolean true
column 一行 Descriptions Item 的数量 number 3
direction 排列的方向 string vertical / horizontal horizontal
size 列表的尺寸 string medium / small / mini
title 标题文本,显示在左上方 string
extra 操作区文本,显示在右上方 string
colon 是否显示冒号 boolean true
labelClassName 自定义标签类名 string
contentClassName 自定义内容类名 string
labelStyle 自定义标签样式 object
contentStyle 自定义内容样式 object
tooltip-effect tooltip theme 属性 String 'dark' | 'light' V2.4.27
tooltip-max-width tooltip max-width 属性 String 400px V2.4.27
show-overflow-tooltip 当内容过长被隐藏时显示 tooltip Boolean false V2.4.27

# Descriptions Slots

Name 说明
title 自定义标题,显示在左上方
extra 自定义操作区,显示在右上方

# Descriptions Item Attributes

参数 说明 类型 可选值 默认值
label 标签文本 string
span 列的数量 number 1
labelClassName 自定义标签类名 string
contentClassName 自定义内容类名 string
labelStyle 自定义标签样式 object
contentStyle 自定义内容样式 object

# Descriptions Item Slots

Name 说明
label 自定义标签文本
上次更新: 9/27/2024, 4:02:53 PM