he wei
2025-06-06 895129470d7ee48183fc15b9ee18ef0880503e5d
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
<template>
  <div class="hdw-light-text-wrapper">
    <div class="hdw-light-text">{{ text }}</div>
    <div class="hdw-light-content">
      <hdw-light :type="type"></hdw-light>
    </div>
  </div>
</template>
 
<script>
import HdwLight from "@/components/HdwLight";
export default {
  name: "HdwLightText",
  components: {
    HdwLight,
  },
  props: {
    text: {
      type: String,
      default: "无",
    },
    type: {
      type: [Number, String],
      default: 0,
    },
  },
};
</script>
 
<style scoped>
.hdw-light-text-wrapper {
  display: inline-block;
  text-align: center;
}
.hdw-light-text {
  font-size: 14px;
  padding-top: 8px;
  padding-bottom: 4px;
}
.hdw-light-content {
  padding-bottom: 8px;
}
</style>