ant-design-vue/components/empty/demo/customize.vue

35 lines
582 B
Vue

<docs>
---
order: 3
title:
zh-CN: 自定义
en-US: Customize
---
## zh-CN
自定义图片描述附属内容
## en-US
Customize image, description and extra content.
</docs>
<template>
<a-empty
image="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"
:image-style="{
height: '60px',
}"
>
<template #description>
<span>
Customize
<a href="#api">Description</a>
</span>
</template>
<a-button type="primary">Create Now</a-button>
</a-empty>
</template>