diff --git a/SuperMap iEarth/src/package/layerSeries/map-query/mapQuery.vue b/SuperMap iEarth/src/package/layerSeries/map-query/mapQuery.vue
index feea8cba..c0dfd8ac 100644
--- a/SuperMap iEarth/src/package/layerSeries/map-query/mapQuery.vue
+++ b/SuperMap iEarth/src/package/layerSeries/map-query/mapQuery.vue
@@ -34,17 +34,12 @@
color="#3499E5"
text-color="#fff"
:loading="state.isloading_table"
+ :focusable="false"
@click="startQuery"
style="margin-right: 0.1rem"
>{{ $t("attributeList") }}
- {{ $t("clear") }}
+ {{ $t("clear") }}
@@ -103,6 +98,7 @@
{{ $t("filter") }}{{ $t("sure") }}
- {{ $t("cancle") }}
+ {{
+ $t("cancle")
+ }}
@@ -362,19 +355,16 @@
{{ $t("sure") }}
- {{ $t("clear") }}
+ {{
+ $t("clear")
+ }}
@@ -621,16 +611,14 @@ onBeforeUnmount(() => {
// 设置气泡位置
function setBablePosition() {
if (state.scenePosition) {
- var canvasHeight = viewer.scene.canvas.height;
- var windowPosition = new SuperMap3D.Cartesian2();
- SuperMap3D.SceneTransforms.wgs84ToWindowCoordinates(
+ let WindowCoordinates = SuperMap3D.SceneTransforms.wgs84ToWindowCoordinates(
viewer.scene,
- state.scenePosition,
- windowPosition
+ state.scenePosition
);
- bableQuery.value.style.bottom = canvasHeight - windowPosition.y - 10 + "px";
- bableQuery.value.style.left = windowPosition.x + "px";
- bableQuery.value.style.visibility = "visible";
+ bableQuery.value.style.top =
+ WindowCoordinates.y - bableQuery.value.offsetHeight + 450 + "px";
+ bableQuery.value.style.left =
+ WindowCoordinates.x - bableQuery.value.offsetWidth / 2 + 150 + "px";
}
}
@@ -789,6 +777,7 @@ function clickQuery() {
let features = serviceResult.result?.features?.features;
if (features.length == 0) {
message.success($t("noData"));
+ state.shadowRadioShow = false;
return;
}
state.shadowRadioShow = true;