Closed yibird closed 5 months ago
./style.css
.keep-alive-render {
width: 100%;
height: 100%;
overflow: hidden;
}
.cache-component {
width: 100%;
height: 100%;
overflow: auto;
}
@keyframes slide-in {
from {
transform: scale(0.8);
}
to {
transform: scale(1);
}
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.cache-component {
animation:
fade-in 0.3s ease-in-out,
slide-in 0.3s ease-in-out;
}
目前是试过各种办法,都没有办法实现过渡和缓存效果: