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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<template>
  <div class="mark-list-container">
    <div class="mark-list">
      <div class="mark-item">
        <span>直连充电</span>
        <div class="mark-color float"></div>
      </div>
      <div class="mark-item">
        <span>放电</span>
        <div class="mark-color discharge"></div>
      </div>
      <div class="mark-item">
        <span>充电</span>
        <div class="mark-color charge"></div>
      </div>
      <div class="mark-item">
        <span>停电放电</span>
        <div class="mark-color power-cut"></div>
      </div>
    </div>
  </div>
</template>
 
<script>
export default {
  name: "mapMarkList",
  data() {
    return {};
  }
}
</script>
 
<style scoped>
.mark-list-container {
  position: absolute;
  bottom: 32px;
  right: 32px;
}
.mark-list {
  display: inline-block;
  background-color: #041C42;
  padding: 16px 32px;
  border-radius: 12px;
}
.mark-item {
  text-align: right;
  margin-top: 4px;
  margin-bottom: 4px;
}
.mark-item span {
  font-size: 16px;
}
.mark-item .mark-color {
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: grey;
  margin-left: 8px;
}
.mark-item .mark-color.float {
  background-color: #0081FE;
}
.mark-item .mark-color.discharge {
  background-color: #FE696A;
}
.mark-item .mark-color.charge {
  background-color: #65F53E;
}
.mark-item .mark-color.power-cut {
  background-color: #7668F9;
}
</style>