2023-09-20 21:33:11 +08:00
|
|
|
<template>
|
|
|
|
<el-row class="m-15" type="flex" justify="space-between">
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-weixing" :val="plane.planeState.satCount" unit="颗" state="normal" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-weixing" :val="plane.planeState.voltagBattery" unit="V" state="normal" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-weixing" :val="plane.planeState.loadweight" unit="克" state="normal" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-gaodu" :val="plane.planeState.state" unit="状" state="normal" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="3">
|
2024-07-11 20:29:12 +08:00
|
|
|
<HeartTag :heartBeat="plane.planeState.heartBeat" :heartRandom="plane.planeState.heartRandom"
|
|
|
|
:getPlaneMode="plane.planeState.getPlaneMode" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-mianxingdiaogou" :val="plane.planeState.hookstatus" unit="" state="normal" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-gaodu" :val="plane.planeState.positionAlt" unit="米" state="normal" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
2024-07-11 20:29:12 +08:00
|
|
|
<PublicTag icon="icon-gaodu" :val="plane.planeState.fixType" unit="" state="danger" />
|
2023-09-20 21:33:11 +08:00
|
|
|
</el-col>
|
|
|
|
<el-col :span="2">
|
|
|
|
<PublicTag icon="icon-gaodu" val="50" unit="米" state="danger" />
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import HeartTag from '@/components/Tag/HeartTag'
|
|
|
|
import PublicTag from '@/components/Tag/PublicTag'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'PlaneStatus',
|
|
|
|
data () {
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
},
|
2024-07-10 19:36:33 +08:00
|
|
|
props: {
|
|
|
|
plane: {
|
|
|
|
typeof: 'Object',
|
|
|
|
deep: true
|
|
|
|
}
|
|
|
|
},
|
2023-09-20 21:33:11 +08:00
|
|
|
components: {
|
|
|
|
HeartTag,
|
|
|
|
PublicTag
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
},
|
|
|
|
methods: {},
|
|
|
|
created () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import "@/styles/theme.scss";
|
|
|
|
|
|
|
|
.el-row {
|
|
|
|
z-index: 90;
|
|
|
|
}
|
|
|
|
</style>
|