我使用vue2写的,将shopcart-list动画为
transition: all 0.5s
&.fold-enter-active, &.fold-leave-active
transform: translate3D(0, -100%, 0)
&.fold-enter, &.fold-leave-active
transform: translate3D(0, 0, 0)
为什么动画划上去又自己划下来了???????
掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp
了解课程