File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <div class =" md-tip" :class =" wrapperCls" >
3- <div class =" tip-content" >
3+ <div class =" md- tip-content" >
44 <template >{{content}}</template >
55 <md-icon
66 v-if =" closable"
99 @click.native =" $_onClose"
1010 />
1111 </div >
12- <div class =" tip-bg" ></div >
12+ <div class =" md- tip-bg" ></div >
1313 </div >
1414</template >
1515
@@ -58,50 +58,54 @@ export default {
5858 display inline-block
5959 max-width 400px
6060 z-index tip-zindex
61- .tip-content
62- position relative
63- padding tip-padding
64- color tip-color
65- font-size tip-font-size
66- line-height 1.2
67- z-index 2
68- .tip-bg
61+
62+ .md-tip-content
63+ position relative
64+ padding tip-padding
65+ color tip-color
66+ font-size tip-font-size
67+ line-height 1.2
68+ z-index 2
69+
70+ .md-tip-bg
71+ position absolute
72+ absolute-pos ()
73+ border-radius tip-radius
74+ background-color tip-fill
75+ box-shadow tip-shadow
76+ opacity tip-fill-opacity
77+ & ::after
78+ content ''
6979 position absolute
70- absolute-pos ()
71- border-radius tip-radius
72- background-color tip-fill
73- box-shadow tip-shadow
74- opacity tip-fill-opacity
75- & ::after
76- content ''
77- position absolute
78- bottom - 10px
79- left 50%
80- margin-left - 11px
81- width 0
82- height 0
83- border-style solid
84- border-width 10px 11px 0 11px
85- border-color tip-fill transparent transparent transparent
80+ bottom - 10px
81+ left 50%
82+ margin-left - 11px
83+ width 0
84+ height 0
85+ border-style solid
86+ border-width 10px 11px 0 11px
87+ border-color tip-fill transparent transparent transparent
88+
89+ .md-tip
8690 & .has-close
87- .tip-content
91+ .md- tip-content
8892 padding-right 60px
8993 & .is-bottom
90- .tip-bg ::after
94+ .md- tip-bg ::after
9195 bottom auto
9296 top - 10px
9397 border-width 0 11px 10px 11px
9498 border-color transparent transparent tip-fill transparent
9599 & .is-left
96- .tip-bg ::after
100+ .md- tip-bg ::after
97101 top 50%
98102 right - 6px
99103 left auto
100104 margin-top - 11px
101105 border-width 11px 0 11px 10px
102106 border-color transparent transparent transparent tip-fill
103107 & .is-right
104- .tip-bg ::after
108+ .md- tip-bg ::after
105109 top 50%
106110 left 4px
107111 margin-top - 11px
You can’t perform that action at this time.
0 commit comments