feat(web): 优化视频格式与虚拟键盘显示

This commit is contained in:
mofeng-git
2026-03-28 21:34:22 +08:00
parent f4283f45a4
commit a2a8b3802d
7 changed files with 248 additions and 41 deletions

View File

@@ -26,6 +26,7 @@ const props = defineProps<{
attached?: boolean
capsLock?: boolean
pressedKeys?: CanonicalKey[]
consumerEnabled?: boolean
}>()
const emit = defineEmits<{
@@ -718,7 +719,7 @@ onUnmounted(() => {
<!-- Keyboard body -->
<div class="vkb-body">
<!-- Media keys row -->
<div class="vkb-media-row">
<div v-if="props.consumerEnabled !== false" class="vkb-media-row">
<button
v-for="key in mediaKeys"
:key="key"