ant-design-vue/components/card/demo/concise.vue

33 lines
447 B
Vue
Raw Normal View History

2018-01-20 06:33:42 +00:00
<template>
<div>
<md>
## 简洁卡片
</md>
<Card
hoverable
style="width: 240px"
>
<img
alt="example"
src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"
slot="cover"
/>
<Meta
title="Europe Street beat"
description="www.instagram.com"
/>
</Card>
</div>
</template>
<script>
import '../style'
import { Card } from 'antd'
export default {
components: {
Card,
Meta: Card.Meta,
},
}
</script>