wip: 头像列表开发中
parent
4146716655
commit
7f6464abc4
@ -0,0 +1,3 @@
|
|||||||
|
import Avatars from './src/Avatars.vue'
|
||||||
|
|
||||||
|
export { Avatars }
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { ComponentSize } from 'element-plus'
|
||||||
|
import { PropType } from 'vue'
|
||||||
|
|
||||||
|
defineProps({
|
||||||
|
size: {
|
||||||
|
type: String as PropType<ComponentSize>,
|
||||||
|
default: ''
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div> 头像 </div>
|
||||||
|
</template>
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
import { ContentWrap } from '@/components/ContentWrap'
|
||||||
|
import { useI18n } from '@/hooks/web/useI18n'
|
||||||
|
import { Avatars } from '@/components/Avatars'
|
||||||
|
|
||||||
|
const { t } = useI18n()
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<ContentWrap :title="t('router.avatars')" :message="t('avatarsDemo.title')">
|
||||||
|
<Avatars />
|
||||||
|
</ContentWrap>
|
||||||
|
</template>
|
||||||
Loading…
Reference in New Issue