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
44
45
46
47
48
49
50
51
52
53
54
55
<template>
  <div class="hdw-light-input-wrapper">
    <div class="hdw-light-text">
      <span>{{text}}</span>
    </div>
    <div class="hdw-light-content">
      <hdw-light :type="type"></hdw-light>
    </div>
  </div>
</template>
 
<script>
import HdwLight from "@/components/HdwLight";
export default {
  name: "HdwLightInput",
  components: {HdwLight},
  props: {
    text: {
      type: String,
      default: ""
    },
    type: {
      type: [Number, String],
      default: 0
    }
  }
}
</script>
 
<style scoped>
.hdw-light-input-wrapper {
  display: flex;
  flex-direction: row;
  padding: 2px 8px 0;
  border-radius: 4px;
  background-color: #00253F;
  border: 1px solid #42D4FF;
  margin-top: 8px;
  margin-bottom: 12px;
}
.hdw-light-text{
  flex:1;
  text-align: left;
  margin-right: 8px;
  white-space: nowrap;
}
.hdw-light-text span {
  font-size: 14px;
  color: #00fefe;
  line-height: 32px;
}
.hdw-light-content {
  vertical-align: middle;
}
</style>