Browse Source

优化进度动画

Michael Wang 3 năm trước cách đây
mục cha
commit
90b64971f3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/features/mark/MarkHeader.vue

+ 2 - 2
src/features/mark/MarkHeader.vue

@@ -520,11 +520,11 @@ let todoCount = $computed(() =>
 
 .count-animation-enter-active,
 .count-animation-leave-active {
-  transition: all 1s ease;
+  transition: all 1.2s ease-in-out;
 }
 .count-animation-enter-from,
 .count-animation-leave-to {
   opacity: 0;
-  transform: translateY(30px);
+  transform: translateY(18px);
 }
 </style>