Elements

组件

描述列表 Descriptions

Descriptions:描述列表。term 和 detail 成对排在一个安静的网格中。水平布局相当于两列表格;垂直布局把每一对纵向堆叠,适合窄版心。

#基础用法

descriptions/basic Vue React
Medium
Ink on xuan paper
Dated
Autumn, 1935
Seal
Zhusha, square-cut
Provenance
Acquired from the studio of the second master
descriptions/bordered Vue React
Calligrapher
Lin Wanzhi
Ink
Qinghua cobalt, first grinding
Inscription
方寸为章 — the measure held and centered
Paper
Jingxian xuan, raw edge
Seal
Square-cut, 6 mm

#属性

#Descriptions

属性类型默认值描述
layoutString as PropType<"horizontal" | "vertical">"horizontal"—
borderedBooleanfalse是否显示边框
columnNumber1每行键值对组数

#DescriptionsItem

属性类型默认值描述
spanNumber1该条目横跨的键值对组数

#DescriptionsTerm

纯造型的部件——自身没有属性,沿用部件结构的共享样式。

#DescriptionsDetail

纯造型的部件——自身没有属性,沿用部件结构的共享样式。