zhengyiming
1 天以前 a0d334f6a2dd329af28bc393e9e0c9a3625fc6ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<template>
  <div class="user-account-card">
    <div class="user-account-card-title">
      <img class="user-account-card-icon" :src="icon" alt="" />
      <span class="user-account-card-text">{{ title }}</span>
    </div>
    <div class="user-account-card-content">{{ content }}</div>
    <div class="user-account-card-remark">{{ remark }}</div>
    <div class="user-account-card-actions">
      <slot name="action" />
    </div>
  </div>
</template>
 
<script setup lang="ts">
defineOptions({
  name: 'UserAccountCard',
});
 
type Props = {
  title?: string;
  content?: string;
  icon?: string;
  remark?: string;
};
 
const props = withDefaults(defineProps<Props>(), {});
</script>