feat: fix user boughts

This commit is contained in:
Rogee
2025-04-30 21:44:18 +08:00
parent 9c88b14202
commit 53b3556ee9
6 changed files with 11 additions and 8 deletions

View File

@@ -47,9 +47,10 @@ const menuGroups = [
<div class="bg-white p-4 shadow-lg border-b border-gray-300">
<div class="flex items-center gap-4 p-4 border-gray-100">
<div class="w-16 h-16 rounded-full bg-gray-200 overflow-hidden"
:style="{ backgroundImage: `url(${userInfo.avatar})` }">
<div class="w-16 h-16 border rounded-full border-gray-200 bg-gray-200 overflow-hidden">
<img :src="userInfo.avatar" :alt="userInfo.username" class="w-full h-full object-cover" />
</div>
<div>
<h3 class="text-xl font-medium">{{ userInfo.username }}</h3>
<span class="text-gray-500">ID: {{ userInfo.id }}</span>