fix person card

This commit is contained in:
jxxghp
2023-07-29 21:17:09 +08:00
parent b3a2585053
commit 944c34ed6f
2 changed files with 35 additions and 4 deletions

View File

@@ -36,9 +36,13 @@ function getPersonImage() {
<div style="padding-bottom: 150%;">
<div class="absolute inset-0 flex h-full w-full flex-col items-center p-2">
<div class="relative mt-2 mb-4 flex h-1/2 w-full justify-center">
<div class="relative w-3/4 overflow-hidden rounded-full">
<VImg :src="getPersonImage()" cover />
</div>
<VAvatar size="120" class="ring-1 ring-gray-700">
<VImg
v-img
:src="getPersonImage()"
cover
/>
</VAvatar>
</div>
<div class="w-full truncate text-center font-bold">
{{ personInfo?.name }}