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,12 @@
<script setup lang='ts'>
import { NScrollbar } from 'naive-ui'
import ListItem from './ListItem.vue'
</script>
<template>
<NScrollbar class="px-4">
<div class="flex flex-col gap-2 text-sm">
<ListItem v-for="(_, index) of 4" :key="index" text="hello world" />
</div>
</NScrollbar>
</template>