notice.vue
639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<style>
.tooltip_out{
border: 1px solid #ccc;
padding: 20px;
}
body{
padding: 10px;
}
</style>
<template>
<div class="tooltip_out">
<Tooltip content="Top Left 提示文字" placement="top-start">
<Button>上面的左面</Button>
</Tooltip>
</div>
</template>
<script>
import { Tooltip, Button } from 'iview';
export default {
components: { Tooltip, Button },
props: {
},
data () {
return {
}
},
computed: {
},
methods: {
}
}
</script>