From c5a5efbf019558bb601d09b24b359906fd931810 Mon Sep 17 00:00:00 2001 From: p11037 Date: Sat, 9 Dec 2023 21:52:40 +0700 Subject: [PATCH 1/2] wheelchair access --- src/components/DestinationInfoCard.vue | 13 +++++++++++++ src/views/Home.vue | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue index 362e591..d903512 100644 --- a/src/components/DestinationInfoCard.vue +++ b/src/components/DestinationInfoCard.vue @@ -36,6 +36,17 @@ {{nearestStructureData.lon}} , {{nearestStructureData.lat}} + + + {{nearestStructureData.infoWheelchair}} + + @@ -223,6 +234,8 @@ export default { props: { nearestStructureData: Object, onClose: Function, + infoWheelchair: String + }, data() { return { diff --git a/src/views/Home.vue b/src/views/Home.vue index 1511d82..4e62571 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -201,7 +201,7 @@ out;`; nearestStructureData = { ...nearestStructureData, - infoWheelchair: infoWheelchair.value + infoWheelchair: infoWheelchair } //infoWheelchair can null,yes,no popupData.value = nearestStructureData; // Show popup From cb211c9b777e2a5c7959173790b485f0a652ae19 Mon Sep 17 00:00:00 2001 From: SRP-mango Date: Sat, 9 Dec 2023 23:03:53 +0700 Subject: [PATCH 2/2] feature: display infoWheelchair in dest card --- src/components/DestinationInfoCard.vue | 141 ++++++++++++++++++++----- 1 file changed, 112 insertions(+), 29 deletions(-) diff --git a/src/components/DestinationInfoCard.vue b/src/components/DestinationInfoCard.vue index d903512..fe577cc 100644 --- a/src/components/DestinationInfoCard.vue +++ b/src/components/DestinationInfoCard.vue @@ -16,19 +16,17 @@ - {{detial[0].title}} - {{detial[0].subtitle}} + {{ wheelchairAccessText }} + เรียนรู้เพิ่มเติม