提交 | 用户 | 时间
|
820397
|
1 |
<template> |
H |
2 |
<div class="flex flex-col"> |
|
3 |
<div class="flex items-center justify-between p-x-18px p-y-24px"> |
|
4 |
<div class="flex flex-1 items-center gap-16px"> |
|
5 |
<el-avatar :size="60"> |
|
6 |
<Icon icon="ep:avatar" :size="60" /> |
|
7 |
</el-avatar> |
9259c2
|
8 |
<span class="text-18px font-bold">芋道源码</span> |
820397
|
9 |
</div> |
H |
10 |
<Icon icon="tdesign:qrcode" :size="20" /> |
|
11 |
</div> |
|
12 |
<div |
|
13 |
class="flex items-center justify-between justify-between bg-white p-x-20px p-y-8px text-12px" |
|
14 |
> |
|
15 |
<span class="color-#ff690d">点击绑定手机号</span> |
|
16 |
<span class="rounded-26px bg-#ff6100 p-x-8px p-y-5px color-white">去绑定</span> |
|
17 |
</div> |
|
18 |
</div> |
|
19 |
</template> |
|
20 |
<script setup lang="ts"> |
|
21 |
import { UserCardProperty } from './config' |
|
22 |
|
|
23 |
/** 用户卡片 */ |
|
24 |
defineOptions({ name: 'UserCard' }) |
|
25 |
// 定义属性 |
|
26 |
defineProps<{ property: UserCardProperty }>() |
|
27 |
</script> |
|
28 |
|
|
29 |
<style scoped lang="scss"></style> |