无人机管理后台前端(已迁走)
张含笑
2025-08-19 c1fd36331f8e940e31c3fd72c2a0b4ba4c382466
feat:添加字段
1 files modified
20 ■■■■■ changed files
src/views/dataCenter/components/dataCenterMap.vue 20 ●●●●● patch | view | raw | blame | history
src/views/dataCenter/components/dataCenterMap.vue
@@ -1,5 +1,10 @@
<template>
  <el-dialog modal-class="mapDialog" title="定位" v-model="isShow" width="80%">
  <el-dialog modal-class="mapDialog"  v-model="isShow" width="80%">
     <template #header="{ titleId, titleClass }">
          <div class="my-header">
            <h4 :id="titleId" :class="titleClass">定位</h4>
          </div>
        </template>
    <div class="mapBox">
      <div v-if="isShow" id="dataCenterMap" class="ztzf-cesium"></div>
    </div>
@@ -318,4 +323,17 @@
    height: 100%;
  }
}
.my-header :deep(.el-dialog__title) {
  margin: 0 !important;
  height: 19px;
}
.my-header {
  display: flex;
  align-items: center;
  .el-button {
    margin-left: 20px;
  }
}
</style>