阶段性代码提交

This commit is contained in:
WORK\64751 2025-08-23 16:31:39 +08:00
parent 3dd94338c0
commit e16b2c2ef0
1 changed files with 17 additions and 5 deletions

View File

@ -27,7 +27,7 @@ const planeControl = defineAsyncComponent(() => import('@/views/carbin/toolComp/
import { queryAirportApi, queryAirLineApi, getAirWayPointsToJson } from '@/apis/common'
let leftPlaneWidth = ref('25%')
let rightPlaneWidth = ref('100%')
let rightPlaneWidth = ref('75%')
let rightPlaneHeight = ref('100%')
let rightPlaneBottom = ref('0')
//
@ -101,7 +101,7 @@ const modifPlaneWidthFn = (num) => {
const switchViewFn = (viewPrecent) => {
if (viewPrecent == 1) {
leftPlaneWidth.value = '25%'
rightPlaneWidth.value = '100%'
rightPlaneWidth.value = '75%'
} else if (viewPrecent == 2) {
leftPlaneWidth.value = '50%'
rightPlaneWidth.value = '50%'
@ -192,7 +192,7 @@ const queryAirPort = async () => {
LiveOptions_in.videoUrl = currentAirPortInfo.value.internal_monitor_url
LiveOptions_plane.videoUrl = currentAirPortInfo.value.camera_url
// currentAirPortInfo.value.status = 3
currentAirPortInfo.value.status = 2
//
if (currentAirPortStatus.value != Number(currentAirPortInfo.value.status)) {
@ -232,17 +232,24 @@ const resetTeleportTo = (currentAirPortStatus) => {
//
rightPlaneHeight.value = 'calc(100% - 150px)'
rightPlaneBottom.value = '150px'
setTimeout(() => {
//
map_teleport.value = '#left_flying_map'
//
outVideo_teleport.value = '#plane_small_video_area'
}, 50)
out_showLive.value = true
in_showLive.value = false
showIframeMap.value = true
plane_showLive.value = false
}, 200)
} else if (currentAirPortStatus == 3) {
//
setTimeout(() => {
//
outVideo_teleport.value = '#big_area'
out_showLive.value = true
in_showLive.value = false
showIframeMap.value = false
@ -263,7 +270,7 @@ const socketFn = (workParams) => {
//pinia
airPortSocketStore.currentAirPort = data
//
statelliteCount.value = data.satcount
statelliteCount.value = data.satcount || '-'
}
}
@ -504,6 +511,10 @@ onMounted(() => {
</teleport>
</template>
<style lang="scss">
#big_area {
}
</style>
<style lang="scss" scoped>
:deep(.liveplayer) {
height: 100% !important;
@ -517,6 +528,7 @@ onMounted(() => {
:deep(.vjs-control-bar) {
display: none !important;
}
.rem-header {
background: linear-gradient(0deg, #051a31, #09315d);
}