智慧园区前端大屏
linwe
2024-11-15 f55ea1cfc0b5f60b01552e8b96f95e8a33c45bb8
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
.div-icon {
  padding: 0 !important;
}
 
.public-map-popup {
  position: absolute;
  bottom: 80px;
  pointer-events: all;
  display: block;
  transform-origin: left bottom;
  transform: translate(-50%, 0px);
  border-radius: 5px;
  z-index: auto;
 
  &::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: calc(50% - 3px);
    display: block;
    width: 3px;
    height: 80px;
    // 0px 0px 6px rgb(255, 179, 0, 0.8)
    background: linear-gradient(to bottom, rgb(255, 179, 0, 0.8), rgb(255, 179, 0, 0.2));
    // border-right: 3px solid #fff;
  }
 
  .marsBlueGradientPnl {
    padding: 4px 8px;
    text-align: center;
    margin: 0;
    color: #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 32px;
    width: 112px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    word-wrap: break-word;
    font-size: 14px;
    background: linear-gradient(rgb(7 10 203 / 75%), rgb(16 238 220));
  }
 
  .map-name {
    width: 112px;
    line-height: 24px;
    text-align: center;
    color: #FFEB3B;
    word-wrap: break-word;
    font-size: 14px;
    font-weight: bold;
  }
 
  .map-icon {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgb(255, 179, 0, 0.9) 100%);
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgb(255, 179, 0, 1);
 
    img {
      width: 20px;
      height: 20px;
    }
  }
}
 
.fxy-box {
  &::after {
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0.8), rgba(255, 0, 0, 0.2));
  }
 
  .map-name {
    color: #ff3b3b;
  }
 
  .map-icon {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(255, 0, 0, 0.9) 100%);
    box-shadow: 0px 0px 10px rgb(255, 0, 0);
  }
}
 
.qyfb-box {
  &::after {
    background: linear-gradient(to bottom, rgba(0, 136, 255, 0.8), rgba(0, 136, 255, 0.2));
  }
 
  .map-name {
    color: rgb(66, 165, 252);
  }
 
  .map-icon {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 20%, rgba(0, 136, 255, 0.9) 100%);
    box-shadow: 0px 0px 10px rgba(0, 136, 255, 1);
  }
}
 
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 4px red, inset 0 0 4px red;
  }
 
  50% {
    box-shadow: 0 0 8px red, inset 0 0 8px red;
  }
 
  100% {
    box-shadow: 0 0 4px red, inset 0 0 4px red;
  }
}
 
.dynamic-map-popup {
  position: absolute;
  right: 100%;
  bottom: 0;
  width: 320px;
  color: #fff;
  background: rgba(255, 0, 0, 0.2);
  font-weight: bold;
  font-style: italic;
 
  &::after {
    content: '';
    position: absolute;
    top: -0.8px;
    /* 调整以匹配所需的发光区域 */
    left: 0px;
    /* 同上 */
    right: 0px;
    bottom: calc(100% - 0.8px);
    background: white;
    box-shadow: 0 0 8px red, inset 0 0 8px red;
    animation: pulse-glow 3s infinite;
  }
 
  &::before {
    content: '';
    position: absolute;
    top: calc(100% - 0.8px);
    /* 调整以匹配所需的发光区域 */
    left: 0px;
    /* 同上 */
    right: 0px;
    bottom: -0.8px;
    background: white;
    box-shadow: 0 0 8px red, inset 0 0 8px red;
    animation: pulse-glow 3s infinite;
  }
 
  .title {
    position: relative;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
 
 
    &::before {
      content: '';
      position: absolute;
      top: calc(100% - 0.8px);
      /* 调整以匹配所需的发光区域 */
      left: 0px;
      /* 同上 */
      right: 40%;
      bottom: -0.8px;
      background: white;
      box-shadow: 0 0 8px red, inset 0 0 8px red;
      animation: pulse-glow 3s infinite;
    }
  }
 
  .content {
    text-indent: 2em;
    line-height: 28px;
  }
}
 
.widget.location-bar {
  position: absolute;
  left: 620px !important;
  bottom: 120px !important;
  font-size: 14px;
  color: #fff;
  background: #0009;
  padding: 2px 5px;
  border-radius: 2px;
  user-select: none;
  display: flex;
}