vue animatecss出现bug。应该是前一个元素还未消失,下一个元素动画已经开始渲染

 <transition enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">

       <start v-if="index === 0"/>

      </transition>

         <transition enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">

       <detail v-if="index === 1"/>

      </transition>

       <transition enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">

       <preview v-if="index === 2"/>

      </transition>

       <transition enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">

       <end v-if="index === 3"/>

      </transition>

https://img1.mukewang.com/5c9f063100019f2d00010001.jpg

慕后森
浏览 1244回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript