43 lines
1.0 KiB
Vue
43 lines
1.0 KiB
Vue
<script setup lang="ts">
|
||
import { Kbd, KbdAbbr } from "@heroui-vue/components";
|
||
</script>
|
||
|
||
<template>
|
||
<div class="flex flex-col gap-4">
|
||
<div class="flex items-center gap-2">
|
||
<span class="text-sm text-muted">方向键:</span>
|
||
<div class="flex items-center gap-2">
|
||
<Kbd>
|
||
<KbdAbbr key-value="up" />
|
||
</Kbd>
|
||
<Kbd>
|
||
<KbdAbbr key-value="down" />
|
||
</Kbd>
|
||
<Kbd>
|
||
<KbdAbbr key-value="left" />
|
||
</Kbd>
|
||
<Kbd>
|
||
<KbdAbbr key-value="right" />
|
||
</Kbd>
|
||
</div>
|
||
</div>
|
||
<div class="flex items-center gap-2">
|
||
<span class="text-sm text-muted">页面导航:</span>
|
||
<div class="flex items-center gap-2">
|
||
<Kbd>
|
||
<KbdAbbr key-value="pageup" />
|
||
</Kbd>
|
||
<Kbd>
|
||
<KbdAbbr key-value="pagedown" />
|
||
</Kbd>
|
||
<Kbd>
|
||
<KbdAbbr key-value="home" />
|
||
</Kbd>
|
||
<Kbd>
|
||
<KbdAbbr key-value="end" />
|
||
</Kbd>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</template>
|