Skip to content

Commit

Permalink
fix: 修复在Safari浏览器关闭音乐列表屏幕闪烁问题
Browse files Browse the repository at this point in the history
  • Loading branch information
first19326 committed Nov 2, 2023
1 parent 418d73c commit 1f8afa7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/Music.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</div>
</div>
<!-- 音乐列表弹窗 -->
<Transition name="fade">
<Transition name="fade" mode="out-in">
<div class="music-list" v-show="musicListShow" @click="musicListShow = false">
<Transition name="zoom">
<div class="list" v-show="musicListShow" @click.stop>
Expand Down Expand Up @@ -281,12 +281,6 @@ watch(
}
// 弹窗动画
.fade-enter-active {
animation: fade 0.3s ease-in-out;
}
.fade-leave-active {
animation: fade 0.3s ease-in-out reverse;
}
.zoom-enter-active {
animation: zoom 0.4s ease-in-out;
}
Expand Down

0 comments on commit 1f8afa7

Please sign in to comment.