From 71aea89792bebe7d2a5ead1a8e4100011723bda0 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 5 Jan 2025 21:19:49 +0800 Subject: [PATCH] perf(plugin-md-power): optimize artplayer `z-index` (#411) --- .../src/client/components/ArtPlayer.vue | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/plugins/plugin-md-power/src/client/components/ArtPlayer.vue b/plugins/plugin-md-power/src/client/components/ArtPlayer.vue index 4ddb57932..95bd5c6e6 100644 --- a/plugins/plugin-md-power/src/client/components/ArtPlayer.vue +++ b/plugins/plugin-md-power/src/client/components/ArtPlayer.vue @@ -157,4 +157,44 @@ onUnmounted(() => { transition: box-shadow var(--vp-t-color); } } + +.vp-artplayer .art-video-player .art-subtitle { + z-index: 12; +} + +.vp-artplayer .art-video-player .art-danmuku { + z-index: 13; +} + +.vp-artplayer .art-video-player .art-layers { + z-index: 14; +} + +.vp-artplayer .art-video-player .art-mask { + z-index: 15; +} + +.vp-artplayer .art-video-player .art-bottom { + z-index: 16; +} + +.vp-artplayer .art-video-player .art-loading { + z-index: 17; +} + +.vp-artplayer .art-video-player .art-notice { + z-index: 18; +} + +.vp-artplayer .art-video-player .art-settings { + z-index: 19; +} + +.vp-artplayer .art-video-player .art-info { + z-index: 20; +} + +.vp-artplayer .art-video-player .art-contextmenu { + z-index: 21; +}