html:
<transition name="haines"> <router-view/> </transition>
css:
.haines-enter-active,.haines-leave-active{ transition :opacity .5s } .haines-enter,.haines-leave-to{ opacity : 0 }
2024-04-09 18:35:11
html:
<transition name="haines"> <router-view/> </transition>
css:
.haines-enter-active,.haines-leave-active{ transition :opacity .5s } .haines-enter,.haines-leave-to{ opacity : 0 }