|
|
|
@ -1,5 +1,8 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="flightoperation-container">
|
|
|
|
|
<div>
|
|
|
|
|
<div style="width: 100%; height: calc(100vh - 80px)">
|
|
|
|
|
<Map></Map>
|
|
|
|
|
</div>
|
|
|
|
|
<SelectComponent />
|
|
|
|
|
<AirportInformation @changeLive="changeAirportLive" />
|
|
|
|
|
<UAVInformation />
|
|
|
|
@ -9,10 +12,13 @@
|
|
|
|
|
<div
|
|
|
|
|
class="LivePreview"
|
|
|
|
|
v-if="livePreviewVisible"
|
|
|
|
|
:style="{ bottom: airportLiveVisible ? '300px' : '10px' }"
|
|
|
|
|
:style="{ bottom: airportLiveVisible ? '300px' : '20px' }"
|
|
|
|
|
>
|
|
|
|
|
<LivePreview />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="flightoperation-container">
|
|
|
|
|
|
|
|
|
|
</div> -->
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
@ -23,6 +29,7 @@
|
|
|
|
|
UAVInformation,
|
|
|
|
|
AirportLive,
|
|
|
|
|
LivePreview,
|
|
|
|
|
Map,
|
|
|
|
|
} from './index';
|
|
|
|
|
|
|
|
|
|
const airportLiveVisible = ref(false);
|
|
|
|
@ -32,6 +39,11 @@
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.flightoperation-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
.flightoperation-top {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
@ -71,11 +83,11 @@
|
|
|
|
|
.AirportLive {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
.LivePreview {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
bottom: 10px;
|
|
|
|
|
bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|