feat:站点状态显示

This commit is contained in:
jxxghp
2024-04-17 14:38:40 +08:00
parent 5bd9283177
commit 468607c8e8
5 changed files with 87 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
<script lang="ts" setup>
interface Props {
color?: string
message?: string
}
const props = defineProps<Props>()
</script>
<template>
<div class="absolute top-2 right-2 flex items-center justify-between p-2 shadow">
<VBadge :color="props.color" bordered>
<template #badge>
<VIcon icon="mdi-pulse"></VIcon>
</template>
</VBadge>
</div>
</template>