cambios vistos en la reunion anterior
This commit is contained in:
parent
ee46be68fb
commit
f2e3d3a559
|
@ -59,10 +59,12 @@ export default defineComponent({
|
|||
message: `No tenemos fechas de entrega posibles para este código postal`,
|
||||
});
|
||||
setFieldError("postalCode", M.fiveLength);
|
||||
postalCodeValid.value.dataOptions = [];
|
||||
postalCodeValid.value.isValid = false;
|
||||
} else {
|
||||
postalCodeValid.value.dataOptions = dates;
|
||||
postalCodeValid.value.isValid = true;
|
||||
}
|
||||
|
||||
postalCodeValid.value.dataOptions = dates;
|
||||
postalCodeValid.value.isValid = true;
|
||||
isPostalCodeLoading.value = false;
|
||||
} catch (error) {
|
||||
quasarNotify({
|
||||
|
|
|
@ -95,7 +95,7 @@ export default defineComponent({
|
|||
<template>
|
||||
<div ref="target" class="vertical-carousel-container" style="min-height: 100dvh">
|
||||
<q-carousel navigation-position="right" style="min-height: 100dvh" v-model="slide" navigation autoplay infinite
|
||||
animated v-if="!!banners.length" class="custom-carousel">
|
||||
animated v-if="!!banners.length" class="custom-carousel" :autoplay="30000">
|
||||
<q-carousel-slide v-for="(item, i) in banners" :key="`banner-${i}`" :name="`banner-${i}`" :img-src="item.url">
|
||||
<div class="vertical-carousel-content">
|
||||
<header class="carousel-content-header">
|
||||
|
|
|
@ -370,7 +370,7 @@ export default defineComponent({
|
|||
<div class="checkout-terms">
|
||||
<q-checkbox v-model="terms" v-bind="termsAttrs" class="terms">
|
||||
<p :style="!!errors.terms && 'color: red;'">
|
||||
He leído y estoy de acuerdo con los términosy condiciones de
|
||||
He leído y estoy de acuerdo con los términos y condiciones de
|
||||
la tienda Floranet
|
||||
</p>
|
||||
</q-checkbox>
|
||||
|
|
|
@ -7,10 +7,10 @@ import * as R from "../regex";
|
|||
const checkoutObjVal = {
|
||||
name: z
|
||||
.string({ required_error: M.requiredMessage })
|
||||
.regex(R.justOneWord, M.nameMessage),
|
||||
.regex(R.justLetters, M.nameMessage),
|
||||
surname: z
|
||||
.string({ required_error: M.requiredMessage })
|
||||
.regex(R.justOneWord, M.nameMessage),
|
||||
.regex(R.justLetters, M.nameMessage),
|
||||
address: z.string({ required_error: M.requiredMessage }),
|
||||
postalCode: GP.postalCode,
|
||||
city: z
|
||||
|
|
Loading…
Reference in New Issue