ant design vue 列表List
<a-list item-layout="horizontal" :data-source="data"><a-list-item slot="renderItem" slot-scope="item"><a-list-item-meta:description="item.content"><a slot="title" href="">{{ it
·
<a-list item-layout="horizontal" :data-source="data">
<a-list-item slot="renderItem" slot-scope="item">
<a-list-item-meta
:description="item.content"
>
<a slot="title" href="">{{ item.title }}</a>
</a-list-item-meta>
</a-list-item>
</a-list>
const data = [
{
title: '标准层-A类',
content: 'Ant Design, a design language for background applications, is refined by Ant UED Team'
},
{
title: '标准层-B类',
content: 'Ant Design, a design language for background applications, is refined by Ant UED Team'
},
{
title: '标准层-C类',
content: 'Ant Design, a design language for background applications, is refined by Ant UED Team'
},
{
title: '标准层-D类',
content: 'Ant Design, a design language for background applications, is refined by Ant UED Team'
}
]
效果
更多推荐
已为社区贡献4条内容
所有评论(0)