diff --git a/index.html b/index.html index 0abba9c..efdb2ca 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,10 @@ - +
- - {{ item.time }} - {{ item.description }} - + + + + {{ item.time }} + + {{ + item.description + }} + {{ + item.description + }} + {{ item.description }} + 耗时{{ item.diffSeconds }}
@@ -152,9 +314,12 @@ onUnmounted(() => { } .fail_text { font-weight: 500; - color: #ffffff; - background: linear-gradient(0deg, #de4747 0%, #f12626 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; + //color: #ffffff; + //background: linear-gradient(0deg, #de4747 0%, #f12626 100%); + //-webkit-background-clip: text; + //-webkit-text-fill-color: transparent; +} +.errorBox { + box-shadow: inset 0 0 5px 5px rgba(255, 0, 0, 0.5); } diff --git a/src/views/carbin/components/flying.vue b/src/views/carbin/components/flying.vue index f473644..1519cdc 100644 --- a/src/views/carbin/components/flying.vue +++ b/src/views/carbin/components/flying.vue @@ -27,6 +27,9 @@ let viewMode = ref(1) //1-1/4方式 2-对半方式 let littleViewMode = ref(2) //1-舱外视频 2-舱内视频 3-无人机视频 let littleViewModeName = ref('舱内画面') +import img_default from '@/assets/icons/state1.png' +import img_touch from '@/assets/icons/state2.png' + //飞机高度 let planeAlt = 0 //已修改过小窗的视频类型 @@ -37,7 +40,7 @@ let planeStateList = reactive({ key: 'vspeed', name: '爬升速度', icon: 'icon-shangshengxiajiang', - value: '-', + value: '0', touch: false, content: '爬升
速度', unit: '/s', @@ -46,7 +49,7 @@ let planeStateList = reactive({ id: 2, name: '平飞速度', icon: 'icon-jiantouzuoyou', - value: '-', + value: '0', touch: false, content: '平飞
速度', unit: '/s', @@ -55,7 +58,7 @@ let planeStateList = reactive({ id: 3, name: '距离机场', icon: 'icon-H', - value: '-', + value: '0', touch: false, content: '距离
机场', unit: 'm', @@ -64,7 +67,7 @@ let planeStateList = reactive({ id: 4, name: '海拔高度', icon: 'icon-tiedijuli', - value: '-', + value: '0', touch: false, content: '海拔
高度', unit: 'm', @@ -73,7 +76,7 @@ let planeStateList = reactive({ id: 5, name: '无人机俯仰角', icon: 'icon-flight-takeoff-line', - value: '-', + value: '0', touch: false, content: '无人机
俯仰角', unit: '°', @@ -82,7 +85,7 @@ let planeStateList = reactive({ id: 6, name: '无人机偏航角', icon: 'icon-feihangqipianhangjiao', - value: '-', + value: '0', content: '无人机
偏航角', touch: false, unit: '°', @@ -91,7 +94,7 @@ let planeStateList = reactive({ id: 7, name: '云台俯仰角', icon: 'icon-pianhangjiao-1', - value: '-', + value: '0', content: '云台
俯仰角', touch: false, unit: '°', @@ -100,7 +103,7 @@ let planeStateList = reactive({ id: 8, name: '云台偏航角', icon: 'icon-pianhangjiao-1', - value: '-', + value: '0', content: '云台
偏航角', touch: false, unit: '°', @@ -208,7 +211,8 @@ airPortSocketStore.$subscribe((mutate, state) => { -
+
+
- +
- 电池电量 + 电池电量
{{ precent }}%/{{ lastTime }}min
@@ -120,17 +123,19 @@ onMounted(() => {}) diff --git a/src/views/carbin/toolComp/screen.vue b/src/views/carbin/toolComp/screen.vue index d825a29..2479639 100644 --- a/src/views/carbin/toolComp/screen.vue +++ b/src/views/carbin/toolComp/screen.vue @@ -39,11 +39,15 @@ const iframeLoaded = () => { } const setVideo = () => { + // let tempLive = 'http://127.0.0.1:7001/live/movie.flv' if (showType.value == 'video_out') { + // LiveOptions.videoUrl = tempLive LiveOptions.videoUrl = row.external_monitor_url } else if (showType.value == 'video_in') { + // LiveOptions.videoUrl = tempLive LiveOptions.videoUrl = row.internal_monitor_url } else if (showType.value == 'video_plane') { + // LiveOptions.videoUrl = tempLive LiveOptions.videoUrl = row.camera_url } // console.log(row) @@ -66,7 +70,7 @@ watch(