riku
2024-07-11 505798927f75c84693cc51becf16aa525503fc92
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<template>
  <el-row style="align-items: end; gap: 8px">
    <div class="tag">
      <div>
        <span class="num-big">10</span>
        <span class="num-small red">
          24%
          <el-icon>
            <CaretTop />
          </el-icon>
        </span>
      </div>
      <div class="statistic-footer red">
        <span>高风险</span>
      </div>
    </div>
    <div class="tag">
      <div>
        <span style="font-size: 20px">12</span>
        <span class="num-small yellow">
          24%
          <el-icon>
            <CaretTop />
          </el-icon>
        </span>
      </div>
      <div class="statistic-footer yellow">
        <span>中风险</span>
      </div>
    </div>
    <div class="tag">
      <div>
        <span style="font-size: 20px">5</span>
        <span class="num-small green">
          48%
          <el-icon>
            <CaretTop />
          </el-icon>
        </span>
      </div>
      <div class="statistic-footer green">
        <span>低风险</span>
      </div>
    </div>
  </el-row>
</template>
<script></script>
<style scoped>
.tag {
  display: flex;
  flex-direction: column;
}
 
.num-big {
  font-size: 36px;
}
 
.num-small {
  font-size: 12px;
}
 
.statistic-footer {
  /* background-color: #ffd100; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--el-text-color-regular);
  /* margin-top: 16px; */
}
 
.green {
  color: #67c23a;
}
 
.red {
  color: #f56c6c;
}
 
.yellow {
  color: #e6a23c;
}
</style>