parent
ffbf09cef7
commit
6e1149ac59
@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<el-card shadow="hover">
|
||||
<div class="avatar">
|
||||
<el-avatar :size="100" :src="avatar" />
|
||||
</div>
|
||||
</el-card>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
|
||||
const avatar = ref('https://liuyxcc.github.io/img/avatar.png')
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.el-card {
|
||||
margin: 20px 0;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue