transition过渡动画

过渡动画必须写在<transition></transition>标签内,配合其他标签使用。

例子:

<transition name="fade" mode="in-out">
<router-view></router-view>
</transition>

其中<transition name="xx" >
.xx-enter:开始进入
.xx-enter-active:逐渐进入的过程
.xx-leave:开始离开
.xx-leave-active:逐渐离开的过程

引用:https://segmentfault.com/q/1010000007738500
上一篇:jQuery测验题


下一篇:dedecms 多级栏目时,调用上级栏目名称和链接