无人机管理后台前端(已迁走)
张含笑
2025-09-04 9597d998872b20311a75bec1a970efd60c840c40
feat:调整地图角度
1 files modified
15 ■■■■■ changed files
src/views/resource/components/spotDetails.vue 15 ●●●●● patch | view | raw | blame | history
src/views/resource/components/spotDetails.vue
@@ -59,11 +59,9 @@
            <div class="tabname">图斑列表</div>
            <el-table
              ref="polygonTableEle"
              highlight-current-row
              highlight-current-row
              :row-class-name="tableRowClassName"
              :data="tableData"
              :data="tableData"
              @row-click="handleLocationPolygon"
            >
              <el-table-column type="index" align="center" width="30" label="序号">
@@ -325,6 +323,11 @@
      const boundingSphere = Cesium.BoundingSphere.fromPoints(positions);
      homeViewer.value?.camera.flyToBoundingSphere(boundingSphere, {
        duration: 0,
         offset: new Cesium.HeadingPitchRange(
                  Cesium.Math.toRadians(-45),
                  Cesium.Math.toRadians(-90),
                ),
      });
    }
    viewInstance.value?.removeLeftClickEvent('spotHighlighting');
@@ -714,10 +717,10 @@
  }
:deep(.el-table__body) {
  tr {
    height: 46px;  // 设置行高
    height: 46px;
  }
  td {
    padding: 8px 0;  // 调整单元格内边距
    padding: 8px 0;
  }
}
  .operationspan {