dcc
2024-06-13 3616db170333df7d668c97323344335b52c4153c
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
  <div class="sharesHeader">
    <div>
      <p class="fs-14 draw-title-color" style="margin-bottom: 5px">
        {{ t(`message.user.${title1}`) }}
      </p>
      <p class="fs-22">{{ value1 }}</p>
    </div>
    <div>
      <p class="fs-14 draw-title-color" style="margin-bottom: 5px">
        {{ t(`message.user.${title2}`) }}
      </p>
      <p class="fs-22" style="color: #05cda5">{{ value2 }}</p>
    </div>
    <div>
      <p class="fs-14 draw-title-color" style="margin-bottom: 5px">
        {{ t(`message.user.${title3}`) }}
      </p>
      <p class="fs-22">{{ value3 }}</p>
    </div>
  </div>
</template>
 
<script setup>
import { useI18n } from "vue-i18n";
 
const { t } = useI18n();
const props = defineProps({
  title1: {
    type: String,
    default: "shizhi",
  },
  title2: {
    type: String,
    default: "kucunshunyi",
  },
  title3: {
    type: String,
    default: "keyongedu",
  },
  value1: {
    type: [String, Number],
    default: 0,
  },
  value2: {
    type: [String, Number],
    default: 0,
  },
  value3: {
    type: [String, Number],
    default: 0,
  },
});
</script>
 
<style lang="scss" scoped>
.sharesHeader {
  display: flex;
  color: #fff;
  justify-content: space-between;
  border-bottom: 1px solid #232a40;
  padding-bottom: 25px;
}
</style>