From 07468b76bb558102b57b6025ad9add0e5f95526f Mon Sep 17 00:00:00 2001 From: qiang Date: Tue, 28 Sep 2021 17:49:35 +0800 Subject: [PATCH] feat(h5): chooseLocation add google maps --- src/core/helpers/i18n/en.json | 4 +- src/core/helpers/i18n/es.json | 4 +- src/core/helpers/i18n/fr.json | 4 +- src/core/helpers/i18n/zh-Hans.json | 4 +- src/core/helpers/i18n/zh-Hant.json | 4 +- .../system-routes/choose-location/index.vue | 190 ++++++++++++------ .../h5/view/components/map/index.vue | 6 +- 7 files changed, 145 insertions(+), 71 deletions(-) diff --git a/src/core/helpers/i18n/en.json b/src/core/helpers/i18n/en.json index f7b44c6be..56af72647 100644 --- a/src/core/helpers/i18n/en.json +++ b/src/core/helpers/i18n/en.json @@ -28,5 +28,7 @@ "uni.video.danmu": "Danmu", "uni.video.volume": "Volume", "uni.button.feedback.title": "feedback", - "uni.button.feedback.send": "send" + "uni.button.feedback.send": "send", + "uni.chooseLocation.search": "Find Place", + "uni.chooseLocation.cancel": "Cancel" } diff --git a/src/core/helpers/i18n/es.json b/src/core/helpers/i18n/es.json index 094dabe02..897fa8694 100644 --- a/src/core/helpers/i18n/es.json +++ b/src/core/helpers/i18n/es.json @@ -28,5 +28,7 @@ "uni.video.danmu": "Danmu", "uni.video.volume": "Volumen", "uni.button.feedback.title": "realimentación", - "uni.button.feedback.send": "enviar" + "uni.button.feedback.send": "enviar", + "uni.chooseLocation.search": "Encontrar", + "uni.chooseLocation.cancel": "Cancelar" } diff --git a/src/core/helpers/i18n/fr.json b/src/core/helpers/i18n/fr.json index 441a98857..b538eb673 100644 --- a/src/core/helpers/i18n/fr.json +++ b/src/core/helpers/i18n/fr.json @@ -28,5 +28,7 @@ "uni.video.danmu": "Danmu", "uni.video.volume": "Le Volume", "uni.button.feedback.title": "retour d'information", - "uni.button.feedback.send": "envoyer" + "uni.button.feedback.send": "envoyer", + "uni.chooseLocation.search": "Trouve", + "uni.chooseLocation.cancel": "Annuler" } diff --git a/src/core/helpers/i18n/zh-Hans.json b/src/core/helpers/i18n/zh-Hans.json index 4261ceb77..a04b5c5e7 100644 --- a/src/core/helpers/i18n/zh-Hans.json +++ b/src/core/helpers/i18n/zh-Hans.json @@ -28,5 +28,7 @@ "uni.video.danmu": "弹幕", "uni.video.volume": "音量", "uni.button.feedback.title": "问题反馈", - "uni.button.feedback.send": "发送" + "uni.button.feedback.send": "发送", + "uni.chooseLocation.search": "搜索地点", + "uni.chooseLocation.cancel": "取消" } diff --git a/src/core/helpers/i18n/zh-Hant.json b/src/core/helpers/i18n/zh-Hant.json index 3dc9141b6..0f091f306 100644 --- a/src/core/helpers/i18n/zh-Hant.json +++ b/src/core/helpers/i18n/zh-Hant.json @@ -28,5 +28,7 @@ "uni.video.danmu": "彈幕", "uni.video.volume": "音量", "uni.button.feedback.title": "問題反饋", - "uni.button.feedback.send": "發送" + "uni.button.feedback.send": "發送", + "uni.chooseLocation.search": "搜索地點", + "uni.chooseLocation.cancel": "取消" } diff --git a/src/platforms/h5/components/system-routes/choose-location/index.vue b/src/platforms/h5/components/system-routes/choose-location/index.vue index fc4d60420..42d3840cd 100644 --- a/src/platforms/h5/components/system-routes/choose-location/index.vue +++ b/src/platforms/h5/components/system-routes/choose-location/index.vue @@ -1,17 +1,21 @@