wangrong
2026-08-30 761e5c5fa871959f60e15c971c8d83f2b53d0af5
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
<script lang="ts" setup>
import { propTypes } from '@/utils/propTypes'
defineProps({
  label: propTypes.string.def('')
})
</script>
 
<template>
  <div class="base-info-item">
    <p class="label">{{ label }}</p>
    <p class="value ellipsis">
      <slot></slot>
    </p>
  </div>
</template>
 
<style lang="less">
.base-info-item {
  margin-top: 16px;
  font-family: var(--de-custom_font, 'PingFang');
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  width: 100%;
  .label {
    color: #646a73;
  }
  .value {
    margin-top: 4px;
    color: #1f2329;
    white-space: pre-wrap;
  }
}
</style>