2018-04-16 13:54:37 +00:00
|
|
|
<cn>
|
|
|
|
#### 基本
|
2018-01-12 08:10:41 +00:00
|
|
|
最简单的用法,浮层的大小由内容区域决定。
|
2018-04-16 13:54:37 +00:00
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Basic
|
|
|
|
The most basic example. The size of the floating layer depends on the contents region.
|
|
|
|
</us>
|
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2018-04-16 13:54:37 +00:00
|
|
|
<template>
|
|
|
|
<a-popover title="Title">
|
2018-01-12 08:10:41 +00:00
|
|
|
<template slot="content">
|
2018-01-19 10:01:43 +00:00
|
|
|
<p>Content</p>
|
|
|
|
<p>Content</p>
|
2018-01-12 08:10:41 +00:00
|
|
|
</template>
|
2018-01-23 10:55:39 +00:00
|
|
|
<a-button type="primary">Hover me</a-button>
|
2018-04-16 13:54:37 +00:00
|
|
|
</a-popover>
|
2018-01-12 08:10:41 +00:00
|
|
|
</template>
|
2018-04-16 13:54:37 +00:00
|
|
|
```
|