当前位置: 首页 > 工具软件 > vue-slideout > 使用案例 >

vue-router-transiton

史劲
2023-12-01
<template>
        <transition name="slide-left" mode="out-in">
            <router-view></router-view>
        </transition>
    </template>
    <style>
    .slide-left-enter-active, .slide-left-leave-active {
        transition: transform .5s;
        transform-origin: left;
    }
    .slide-left-enter, .slide-left-leave-active {
        transform: scale(0,1);
    }
    </style>

 

转载于:https://www.cnblogs.com/huanhuan55/p/10100806.html

 类似资料: