Skip to content

Commit

Permalink
导航菜单动画优化
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Oct 1, 2024
1 parent 8c8d612 commit de89046
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/layouts/components/Menu/sub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ const transitionClass = computed(() => {
}
: {
enterActiveClass: 'ease-in-out duration-300',
enterFromClass: 'opacity-0',
enterToClass: 'opacity-100',
enterFromClass: 'opacity-0 translate-y-4 scale-95 blur-4',
enterToClass: 'opacity-100 translate-y-0 scale-100 blur-0',
leaveActiveClass: 'ease-in-out duration-300',
leaveFromClass: 'opacity-100',
leaveToClass: 'opacity-0',
leaveFromClass: 'opacity-100 translate-y-0 scale-100 blur-0',
leaveToClass: 'opacity-0 translate-y-4 scale-95 blur-4',
}
})
Expand Down

0 comments on commit de89046

Please sign in to comment.