File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<span v-el:trigger >
3
3
<slot ></slot >
4
- </ span >
5
- < div v-el:popover v-if = " show "
6
- :class = " ['popover',placement] "
7
- :transition = " effect "
8
- >
9
- < div class =" arrow " ></ div >
10
- < h3 class = " popover- title" v-if = " title" >
11
- <slot name = " title " >{{title}}</ slot >
12
- </ h3 >
13
- < div class = " popover- content" >
14
- <slot name = " content " >{{{content}}}</ slot >
4
+ < div v-el:popover v-if = " show "
5
+ :class = " ['popover',placement] "
6
+ :transition = " effect "
7
+ >
8
+ < div class = " arrow " ></ div >
9
+ < h3 class =" popover-title " v-if = " title " >
10
+ < slot name = " title" >{{ title}}</ slot >
11
+ </ h3 >
12
+ < div class = " popover-content " >
13
+ < slot name = " content" >{{{content}}}</ slot >
14
+ </ div >
15
15
</div >
16
- </div >
16
+ </span >
17
17
</template >
18
18
19
19
<script >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<span v-el:trigger >
3
3
<slot ></slot >
4
+ <div v-el:popover v-if =" show" style =" display :block ;"
5
+ :class =" ['tooltip',placement]"
6
+ :transition =" effect"
7
+ >
8
+ <div class =" tooltip-arrow" ></div >
9
+ <div class =" tooltip-inner" >
10
+ <slot name =" content" >{{{content}}}</slot >
11
+ </div >
12
+ </div >
4
13
</span >
5
- <div v-el:popover v-if =" show" style =" display :block ;"
6
- :class =" ['tooltip',placement]"
7
- :transition =" effect"
8
- >
9
- <div class =" tooltip-arrow" ></div >
10
- <div class =" tooltip-inner" >
11
- <slot name =" content" >{{{content}}}</slot >
12
- </div >
13
- </div >
14
14
</template >
15
15
16
16
<script >
You can’t perform that action at this time.
0 commit comments