| | |
| | | <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="序号"> |
| | |
| | | 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'); |
| | |
| | | } |
| | | :deep(.el-table__body) { |
| | | tr { |
| | | height: 46px; // 设置行高 |
| | | height: 46px; |
| | | } |
| | | td { |
| | | padding: 8px 0; // 调整单元格内边距 |
| | | padding: 8px 0; |
| | | } |
| | | } |
| | | .operationspan { |