perf: loading动画增加淡入淡出效果

This commit is contained in:
chenjinsong
2022-09-08 15:40:42 +08:00
parent 66d5e134a8
commit f3b95cdbe6
2 changed files with 18 additions and 6 deletions

View File

@@ -28,3 +28,14 @@ body {
fill: currentColor;
overflow: hidden;
}
/* 淡入淡出动画 */
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.4s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}