wupengfei
6 天以前 3c7cbba6d64ca8bf7b1307023072b505414f7d5d
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<template>
  <div class="business-card-detail-item">
    <img :src="icon" class="business-card-detail-item-icon" />
    <div class="business-card-detail-item-value">{{ value }}</div>
  </div>
</template>
 
<script setup lang="ts">
defineOptions({
  name: 'BusinessCardDetailItem',
});
 
type Props = {
  icon?: string;
  value?: string;
};
 
const props = withDefaults(defineProps<Props>(), {});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.business-card-detail-item {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
 
  .business-card-detail-item-icon {
    width: 32px;
    height: 32px;
    margin-right: 14px;
  }
 
  .business-card-detail-item-value {
    font-weight: 400;
    font-size: 24px;
    color: #4e5969;
    line-height: 36px;
  }
}
</style>