30 lines
560 B
Vue
30 lines
560 B
Vue
<script setup lang="ts">
|
|
import {
|
|
Avatar,
|
|
AvatarImage,
|
|
AvatarFallback,
|
|
Badge,
|
|
BadgeAnchor,
|
|
} from "@heroui-vue/components";
|
|
</script>
|
|
|
|
<template>
|
|
<BadgeAnchor>
|
|
<Avatar>
|
|
<AvatarImage
|
|
alt="凯特·威尔逊"
|
|
src="https://heroui-assets.nyc3.cdn.digitaloceanspaces.com/avatars/blue.jpg"
|
|
/>
|
|
<AvatarFallback>KW</AvatarFallback>
|
|
</Avatar>
|
|
<Badge
|
|
class="min-w-5 font-semibold tabular-nums"
|
|
color="accent"
|
|
size="sm"
|
|
variant="soft"
|
|
>
|
|
5
|
|
</Badge>
|
|
</BadgeAnchor>
|
|
</template>
|