File tree Expand file tree Collapse file tree 5 files changed +7
-1
lines changed Expand file tree Collapse file tree 5 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1010 font-size $var (font-size-xs )
1111 color $var (tip-color )
1212 transform scale (0 )
13+ opacity 0
14+ border-radius $var (tip-border-radius )
1315.cube-tip-angle-wapper
1416 position absolute
1517 z-index : 2
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ if (__mpx_mode__ === 'ios' || __mpx_mode__ === 'android') {
2222 timingFunction : 'ease'
2323 } ) ) ;
2424 if ( newV ) {
25+ animation . opacity ( 1 ) . step ( { duration : 0 } ) ;
2526 animation . scale ( 1.1 ) . step ( { duration : 200 } ) ;
2627 animation . scale ( 1 ) . step ( { duration : 200 } ) ;
2728 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @mpxjs/mpx-cube-ui" ,
3- "version" : " 1.3.12-beta.7 " ,
3+ "version" : " 1.3.12-beta.9 " ,
44 "description" : " mpx components library" ,
55 "author" :
" xiaolei <[email protected] >" ,
66 "publishConfig" : {
Original file line number Diff line number Diff line change 1010 font-size $var (font-size-xs )
1111 color $var (tip-color )
1212 transform scale (0 )
13+ opacity 0
14+ border-radius $var (tip-border-radius )
1315.cube-tip-angle-wapper
1416 position absolute
1517 z-index : 2
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ if (__mpx_mode__ === 'ios' || __mpx_mode__ === 'android') {
2323 timingFunction : 'ease'
2424 } ) )
2525 if ( newV ) {
26+ animation . opacity ( 1 ) . step ( { duration : 0 } )
2627 animation . scale ( 1.1 ) . step ( { duration : 200 } )
2728 animation . scale ( 1 ) . step ( { duration : 200 } )
2829 } else {
You can’t perform that action at this time.
0 commit comments