|
@@ -36,6 +36,7 @@
|
|
|
:district="currentDistrict"
|
|
:district="currentDistrict"
|
|
|
:lonlat="currentLocation.currentLonlat.value"
|
|
:lonlat="currentLocation.currentLonlat.value"
|
|
|
@lightVillage="handleLightVillage"
|
|
@lightVillage="handleLightVillage"
|
|
|
|
|
+ @selectVillage="handleSelectVillage"
|
|
|
@createVillage="handleCreateVillage"
|
|
@createVillage="handleCreateVillage"
|
|
|
@getCurrentLonlat="currentLocation.getCurrentExactLocation"
|
|
@getCurrentLonlat="currentLocation.getCurrentExactLocation"
|
|
|
@changeCity="showCityPopup=true"
|
|
@changeCity="showCityPopup=true"
|
|
@@ -122,6 +123,9 @@ function handleJoinFinish() {
|
|
|
backAndCallOnPageBack('goVillage', { id: joinCurrentVillageId.value });
|
|
backAndCallOnPageBack('goVillage', { id: joinCurrentVillageId.value });
|
|
|
joinCurrentVillageId.value = 0;
|
|
joinCurrentVillageId.value = 0;
|
|
|
}
|
|
}
|
|
|
|
|
+function handleSelectVillage(item: VillageMapItem) {
|
|
|
|
|
+ backAndCallOnPageBack('goVillage', { id: item.id });
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
const showCityPopup = ref(false);
|
|
const showCityPopup = ref(false);
|
|
|
const currentCity = ref('');
|
|
const currentCity = ref('');
|