diff --git a/src/views/indexSun.vue b/src/views/indexSun.vue index 700f85f..2ef6598 100644 --- a/src/views/indexSun.vue +++ b/src/views/indexSun.vue @@ -427,6 +427,7 @@ const params = { healthRoomId: res.id, }; + indexModalTitle.value = '健康小屋详情'; modalApi.value = roomDetailApi; apiParams.value = params; nextTick(() => { diff --git a/src/views/indexSun/centerMap.vue b/src/views/indexSun/centerMap.vue index eef759b..b9312b0 100644 --- a/src/views/indexSun/centerMap.vue +++ b/src/views/indexSun/centerMap.vue @@ -9,10 +9,10 @@
- + - + 清空 @@ -176,6 +176,7 @@ const { lat, lng } = poi.location; formState.value.start = poi.name; Map.createSMarker([lng, lat]); + Map.map.setZoom(15); } }); } @@ -186,6 +187,7 @@ const { lat, lng } = poi.location; formState.value.end = poi.name; Map.createEMarker([lng, lat]); + Map.map.setZoom(15); } }); } @@ -365,7 +367,7 @@ function resetMap() { Map.clearSOrE(); closeDrivingElement(); - changeTab(list.value[currentIndex.value], currentIndex.value); + changeTab(list.value[currentIndex.value === 4 ? 0 : currentIndex.value], currentIndex.value); emits('showRestB'); } @@ -414,6 +416,7 @@ .route-navigation { --fontColor: #607ddb; + background: #002e64; margin: 12px 0; width: 100%; height: 46px; @@ -715,6 +718,10 @@ z-index: 101; font-size: 20px; cursor: pointer; - padding: 0px 6px; + padding: 0 6px; + } + + :deep(.amap-sug-result) { + background: #002e64 !important; }