javascript - vue 2.0 transition transition effect is abnormal
世界只因有你
世界只因有你 2017-05-19 10:33:34
0
1
588

When doing a switching transition on vue2.0, I found that the switching display was normal, but there was a delay when the switching disappeared and there was no transition effect

<transition name='fade'>
        <p v-show="isShow" class="detail" >
            
        </p>
        </transition>
.detail
            position fixed
            z-index 100
            top 0
            left 0
            width 100%
            height 100%
            overflow auto
            background rgba(7,17,27,.8)
            &.fade-enter-active,&.fade-leave-active
                transition opacity 3s
            &.fade-enter,&fade-leave-active
                opacity 0
世界只因有你
世界只因有你

reply all(1)
大家讲道理

If you can use animate.css, use it. Don’t reinvent the wheel yourself. Directly <transition enter-active-class="animated fadeIn" leave-active-clss="animated fadeOut"></transition>

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template