| | |
| | | }}</a-col> |
| | | <a-col span="15"> |
| | | <a-select :showArrow="false" v-model:value="aircraSelected" :bordered="false" :options="aircraftList" |
| | | :placeholder="aircraftList.length == 0 || deviceInfo.device?.mode_code == 14 || !deviceInfo.device ? 'N/A' : '请选择'" :disabled="aircraftList.length == 0 ? true : false" |
| | | :placeholder="aircraftList.length == 0 ? 'N/A' : '请选择'" :disabled="aircraftList.length == 0 ? true : false" |
| | | size="small" style="width:100%;background-color: #5d5f61;color: #fff;" @change="selectChange"></a-select> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | </a-tooltip> |
| | | </a-col> |
| | | </a-row> --> |
| | | <!-- <a-row align="middle"> |
| | | <a-row align="middle"> |
| | | <a-col span="6" class="flex-row flex-align-center flex-justify-start"> |
| | | <a-tooltip title="飞行模式"> |
| | | <span> |
| | |
| | | deviceInfo.device?.vertical_speed.toFixed(2) + ' m/s' }}</span> |
| | | </a-tooltip> |
| | | </a-col> |
| | | </a-row> --> |
| | | </a-row> |
| | | </div> |
| | | <!-- 飞行控制 --> |
| | | <!-- <div class="fly-control flex-display"> |
| | |
| | | const showAircraft = ref(false) |
| | | // 飞机视频列表 |
| | | const aircraftList = ref([]) |
| | | const aircraSelected = ref('') |
| | | const aircraSelected = ref(undefined) |
| | | const state = reactive({ |
| | | currentType: '', |
| | | coverIndex: 0 |
| | |
| | | }) |
| | | // const videoId = deviceInfo.dock.basic_osd?.sub_device?.device_sn + '/' + aircraSelected.value + '/' + 'normal-0' |
| | | aircraftList.value = [] |
| | | aircraSelected.value = '' |
| | | aircraSelected.value = undefined |
| | | } |
| | | // 打开机场操作 |
| | | const openFlySetting = () => { |
| | |
| | | aircraftUrl.value = '' |
| | | showAircraft.value = false |
| | | aircraftList.value = [] |
| | | aircraSelected.value = '' |
| | | aircraSelected.value = undefined |
| | | airPortUrl.value = '' |
| | | droneList.value = [] |
| | | if (deviceInfo.dock.basic_osd?.mode_code === 2) { |
| | |
| | | background: #000; |
| | | color: #fff; |
| | | border-radius: 2px; |
| | | opacity: 0.8; |
| | | // opacity: 0.8; |
| | | } |
| | | |
| | | .overflow { |