From ced6e7f43857d4a3a7ccf6a55afe9bf21924ac2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaume=20Sol=C3=ADs?= Date: Fri, 19 Apr 2024 09:43:23 +0200 Subject: [PATCH] =?UTF-8?q?notificaci=C3=B3n=20de=20que=20no=20tenemos=20f?= =?UTF-8?q?echas=20disponibles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/@inputs/PostalCode.vue | 8 ++++++++ .../quasar-components/carousel/VerticalCarouselImgs.vue | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/@inputs/PostalCode.vue b/src/components/@inputs/PostalCode.vue index 1fb690e..ee1b98c 100644 --- a/src/components/@inputs/PostalCode.vue +++ b/src/components/@inputs/PostalCode.vue @@ -53,6 +53,14 @@ export default defineComponent({ return formattedDate; }); + if(!dates) { + quasarNotify({ + type: "erro", + message: `No tenemos fechas de entrega posibles para este código postal`, + }); + setFieldError("postalCode", M.fiveLength); + } + postalCodeValid.value.dataOptions = dates; postalCodeValid.value.isValid = true; isPostalCodeLoading.value = false; diff --git a/src/components/quasar-components/carousel/VerticalCarouselImgs.vue b/src/components/quasar-components/carousel/VerticalCarouselImgs.vue index 933f849..3d6b9e3 100644 --- a/src/components/quasar-components/carousel/VerticalCarouselImgs.vue +++ b/src/components/quasar-components/carousel/VerticalCarouselImgs.vue @@ -120,7 +120,7 @@ export default defineComponent({ ver disponibilidad - Para este código postal no existen fechas de entrega posibles + @@ -221,6 +221,11 @@ export default defineComponent({ font-weight: 500; line-height: 30px; color: currentColor; + + @media only screen and (max-width: $med-xmd) { + padding-left: 20px; + padding-right: 20px; + } } & .carousel-header-paragraph {