huweili-cesium 1.2.72 → 1.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/labelDiv.js +2 -4
- package/package.json +1 -1
package/js/labelDiv.js
CHANGED
|
@@ -160,7 +160,6 @@ export function labelDiv() {
|
|
|
160
160
|
if (speedEl) speedEl.textContent = String(speed);
|
|
161
161
|
if (flyingHandNameEl) flyingHandNameEl.textContent = flyingHandName;
|
|
162
162
|
if (flyingHandPhoneEl) flyingHandPhoneEl.textContent = flyingHandPhone;
|
|
163
|
-
if (frequencyBandEl) frequencyBandEl.textContent = frequencyBand;
|
|
164
163
|
if (distanceEl) distanceEl.textContent = distance;
|
|
165
164
|
if (receiveTimeEl) receiveTimeEl.textContent = receiveTime;
|
|
166
165
|
lastInfoText = nextInfoText;
|
|
@@ -191,7 +190,7 @@ export function labelDiv() {
|
|
|
191
190
|
detailDiv.innerHTML = `
|
|
192
191
|
<div class="drone-detail-header">
|
|
193
192
|
<span class="drone-badge"></span>
|
|
194
|
-
<span class="drone-detail-title"
|
|
193
|
+
<span class="drone-detail-title">${labelItem.uavName}</span>
|
|
195
194
|
<button class="drone-detail-close"></button>
|
|
196
195
|
</div>
|
|
197
196
|
<div class="drone-detail-body" id="drone-info-${labelItem.id}">
|
|
@@ -210,7 +209,7 @@ export function labelDiv() {
|
|
|
210
209
|
<div><span class="pilot-title">高度:</span><span class="alt">-</span>km</div>
|
|
211
210
|
<div><span class="pilot-title">速度:</span><span class="speed">-</span>km/h</div>
|
|
212
211
|
<div><span class="pilot-title">距离:</span><span class="distance">200m</span></div>
|
|
213
|
-
${!isUnknown ? '<div><span class="pilot-title">频段:</span><span class="band">2.4GHz</span></div>' : ''}
|
|
212
|
+
${!isUnknown ? '<div><span class="pilot-title">频段:</span><span class="band">2.4GHz、5.8GHz</span></div>' : ''}
|
|
214
213
|
</div>
|
|
215
214
|
${!isUnknown ? `
|
|
216
215
|
<div class="drone-detail-divider"></div>
|
|
@@ -285,7 +284,6 @@ export function labelDiv() {
|
|
|
285
284
|
speedEl: infoDiv.querySelector('.speed'),
|
|
286
285
|
flyingHandNameEl: infoDiv.querySelector('.pilot-name'),
|
|
287
286
|
flyingHandPhoneEl: infoDiv.querySelector('.pilot-phone'),
|
|
288
|
-
frequencyBandEl: infoDiv.querySelector('.band'),
|
|
289
287
|
distanceEl: infoDiv.querySelector('.distance')
|
|
290
288
|
};
|
|
291
289
|
}
|