.slide-enter-active,.slide-leave-active transition: all 0.3s .slide-enter,.slide-leave-to transform: translate3d(100%, 0, 0)
<transition name="slide"> <div class="singer-detail"> </div> </transition>
进来后与出去前皆为100%宽