feat: 添加用户头像

This commit is contained in:
ChenZhaoYu
2023-02-13 14:13:20 +08:00
parent d7464642a7
commit 727562f495
8 changed files with 170 additions and 39 deletions

View File

@@ -0,0 +1,23 @@
<script setup lang='ts'>
</script>
<template>
<div class="flex items-center">
<div class="w-10 h-10 overflow-hidden rounded-full">
<img class="object-cover" src="@/assets/avatar.jpg" alt="avatar">
</div>
<div class="ml-2">
<h2 class="text-sm font-bold">
Redon
</h2>
<p class="text-xs text-gray-500">
#0827
</p>
</div>
</div>
</template>
<style>
</style>