9 files modified
3 files added
| | |
| | | * @Author : yuan |
| | | * @Date : 2025-06-14 15:19:16 |
| | | * @LastEditors : yuan |
| | | * @LastEditTime : 2026-01-07 09:28:08 |
| | | * @LastEditTime : 2026-01-07 16:26:20 |
| | | * @FilePath : \applications\drone-command\src\components\basic-container\main.vue |
| | | * @Description : |
| | | * Copyright 2025 OBKoro1, All Rights Reserved. |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .basic-container { |
| | | margin-top: 109px; |
| | | |
| | | height: 0; |
| | | flex: 1; |
| | | |
| | |
| | | display: flex; |
| | | justify-content: space-between; |
| | | height: 100%; |
| | | background: url('@/assets/images/topContainer/top-bg.png') center no-repeat !important; |
| | | background: url('@/assets/images/topContainer/top-bg.png') center / 100% 100% no-repeat !important; |
| | | } |
| | | |
| | | .top-bar__left { |
| | |
| | | }, |
| | | safeHeight: 0, // 获取选择航线高度 |
| | | positionsArr: [], // 获取选择航线点数据 |
| | | |
| | | |
| | | // 地图设置 |
| | | mapSetting: { |
| | | mode: 17, // 0为标准地图, 1为卫星地图 |
| | | roadLine: true, |
| | | visual: '3D', |
| | | isDark: false, |
| | | }, |
| | | }, |
| | | mutations: { |
| | | setSafeHeight (state, data) { |
| | |
| | | type: 'session', |
| | | }); |
| | | }, |
| | | |
| | | SET_MAP_MODE: (state, mode) => { |
| | | state.mapSetting.mode = mode |
| | | } |
| | | }, |
| | | }; |
| | | export default common; |
| | |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 97px; |
| | | height: 109px; |
| | | z-index: 9; |
| | | } |
| | | |
| | | > .leaf-container { |
| | | padding-top: 97px; |
| | | padding-top: 109px; |
| | | width: 160px; |
| | | height: 100%; |
| | | |
| | |
| | | } |
| | | |
| | | .main-avue-view-container { |
| | | margin-top: 97px; |
| | | height: 0; |
| | | flex: 1; |
| | | display: flex; |
| | |
| | | background-color: rgba(0, 0, 0, .4); |
| | | } |
| | | |
| | | .el-menu-item { |
| | | padding-left: 41.4px !important; |
| | | } |
| | | |
| | | .el-sub-menu { |
| | | .el-sub-menu__title { |
| | | padding-left: 41.4px !important; |
| | | } |
| | | |
| | | .el-menu-item { |
| | | padding-left: 54px !important; |
| | | } |
| | | |
| | | &.is-active { |
| | | |
| | | .el-sub-menu__title { |
| | | i, span { |
| | | color: #fff; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-menu-item, .el-sub-menu__title { |
| | | i { |
| | | margin-right: 5px; |
| | |
| | | .avue-top { |
| | | position: relative; |
| | | background-color: #fff; |
| | | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15); |
| | | color: rgba(0, 0, 0, .65); |
| | | font-size: 28px; |
| | | height: $top_height; |
| New file |
| | |
| | | <template> |
| | | <div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
| | |
| | | <template> |
| | | <div> |
| | | <div class="ztzf-cesium map-container" id="cesium"> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { PublicCesium } from '@/utils/cesium/publicCesium' |
| | | let viewInstance = null |
| | | let viewer = null |
| | | onMounted(() => { |
| | | viewInstance = new PublicCesium({ |
| | | dom: 'cesium', |
| | | flatMode: false, |
| | | terrain: false, |
| | | layerMode: 4, |
| | | contour: false, |
| | | }) |
| | | |
| | | viewer = viewInstance.getViewer() |
| | | }) |
| | | |
| | | onBeforeUnmount(() => { |
| | | if (viewInstance) { |
| | | viewInstance.destroy() |
| | | viewInstance = null |
| | | } |
| | | |
| | | viewer = null |
| | | }) |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | .map-container { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |
| New file |
| | |
| | | <template> |
| | | <div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | |
| | | </style> |
| | |
| | | <!-- |
| | | * @Author : yuan |
| | | * @Date : 2026-01-06 16:35:50 |
| | | * @LastEditors : yuan |
| | | * @LastEditTime : 2026-01-07 15:20:14 |
| | | * @FilePath : \applications\drone-command\src\views\dataCockpit\index.vue |
| | | * @Description : |
| | | * Copyright 2026 OBKoro1, All Rights Reserved. |
| | | * 2026-01-06 16:35:50 |
| | | --> |
| | | <template> |
| | | <basic-container> |
| | | 维护记录管理 |
| | | </basic-container> |
| | | <div class="page-container"> |
| | | <MapContainer /> |
| | | <LeftContainer /> |
| | | <RightContainer /> |
| | | <CenterContainer /> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import MapContainer from './components/MapContainer.vue'; |
| | | import LeftContainer from './components/LeftContainer.vue'; |
| | | import RightContainer from './components/RightContainer.vue'; |
| | | import CenterContainer from './components/CenterContainer.vue'; |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | .page-container { |
| | | position: relative; |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | </style> |