Compare commits
2 Commits
8290f375cc
...
c8a35aecff
| Author | SHA1 | Date |
|---|---|---|
|
|
c8a35aecff | |
|
|
0ac8c0aa10 |
|
|
@ -3,3 +3,4 @@ export { default as AirportInformation } from './src/AirportInformation.vue';
|
||||||
export { default as UAVInformation } from './src/UAVInformation.vue';
|
export { default as UAVInformation } from './src/UAVInformation.vue';
|
||||||
export { default as AirportLive } from './src/AirportLive.vue';
|
export { default as AirportLive } from './src/AirportLive.vue';
|
||||||
export { default as LivePreview } from './src/LivePreview.vue';
|
export { default as LivePreview } from './src/LivePreview.vue';
|
||||||
|
export { default as Map } from '../workplan/components/map.vue';
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flightoperation-container">
|
<div>
|
||||||
|
<div style="width: 100%; height: calc(100vh - 80px)">
|
||||||
|
<Map></Map>
|
||||||
|
</div>
|
||||||
<SelectComponent />
|
<SelectComponent />
|
||||||
<AirportInformation @changeLive="changeAirportLive" />
|
<AirportInformation @changeLive="changeAirportLive" />
|
||||||
<UAVInformation />
|
<UAVInformation />
|
||||||
|
|
@ -9,10 +12,13 @@
|
||||||
<div
|
<div
|
||||||
class="LivePreview"
|
class="LivePreview"
|
||||||
v-if="livePreviewVisible"
|
v-if="livePreviewVisible"
|
||||||
:style="{ bottom: airportLiveVisible ? '300px' : '10px' }"
|
:style="{ bottom: airportLiveVisible ? '300px' : '20px' }"
|
||||||
>
|
>
|
||||||
<LivePreview />
|
<LivePreview />
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div class="flightoperation-container">
|
||||||
|
|
||||||
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
@ -23,6 +29,7 @@
|
||||||
UAVInformation,
|
UAVInformation,
|
||||||
AirportLive,
|
AirportLive,
|
||||||
LivePreview,
|
LivePreview,
|
||||||
|
Map,
|
||||||
} from './index';
|
} from './index';
|
||||||
|
|
||||||
const airportLiveVisible = ref(false);
|
const airportLiveVisible = ref(false);
|
||||||
|
|
@ -32,6 +39,11 @@
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
.flightoperation-container {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
.flightoperation-top {
|
.flightoperation-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
@ -71,11 +83,11 @@
|
||||||
.AirportLive {
|
.AirportLive {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 20px;
|
||||||
}
|
}
|
||||||
.LivePreview {
|
.LivePreview {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 20px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,9 @@
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.airport-information {
|
.airport-information {
|
||||||
|
position: absolute;
|
||||||
|
top: 50px;
|
||||||
|
left: 0;
|
||||||
width: 260px;
|
width: 260px;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
margin: 10px 0 0 10px;
|
margin: 10px 0 0 10px;
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,9 @@
|
||||||
.flightoperation-top {
|
.flightoperation-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
}
|
}
|
||||||
.select-item {
|
.select-item {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
|
|
|
||||||
|
|
@ -108,6 +108,10 @@
|
||||||
</script>
|
</script>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.airport-information {
|
.airport-information {
|
||||||
|
position: absolute;
|
||||||
|
top: 350px;
|
||||||
|
left: 0;
|
||||||
|
z-index: 999;
|
||||||
width: 260px;
|
width: 260px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background: #0d0e15;
|
background: #0d0e15;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue