cambio para que se cargue de primeras el carousel
This commit is contained in:
parent
9836fc1b5a
commit
196931b2c1
|
@ -43,6 +43,8 @@ export default defineComponent({
|
||||||
} = usePostalCalendar({ type: "home" });
|
} = usePostalCalendar({ type: "home" });
|
||||||
const { navPos, screenWidth, slide, target } = useVerticalCarouselImgs();
|
const { navPos, screenWidth, slide, target } = useVerticalCarouselImgs();
|
||||||
|
|
||||||
|
console.log(slide);
|
||||||
|
|
||||||
const formStore = useFormStore();
|
const formStore = useFormStore();
|
||||||
const { getItemSession } = useLocalStorage();
|
const { getItemSession } = useLocalStorage();
|
||||||
const localValues = getItemSession("availability");
|
const localValues = getItemSession("availability");
|
||||||
|
@ -100,7 +102,7 @@ export default defineComponent({
|
||||||
<div class="vertical-carousel-content">
|
<div class="vertical-carousel-content">
|
||||||
<header class="carousel-content-header">
|
<header class="carousel-content-header">
|
||||||
<h1 class="carousel-header-title">
|
<h1 class="carousel-header-title">
|
||||||
{{ item.longName }}
|
{{ item.longName }} {{ `banner-${i}` }}
|
||||||
</h1>
|
</h1>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,7 +10,7 @@ export function useVerticalCarouselImgs() {
|
||||||
|
|
||||||
const target = ref(null);
|
const target = ref(null);
|
||||||
const navPos = ref("bottom");
|
const navPos = ref("bottom");
|
||||||
const slide = ref("style");
|
const slide = ref("banner-0");
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
screenWidth.value = window.innerWidth;
|
screenWidth.value = window.innerWidth;
|
||||||
|
|
Loading…
Reference in New Issue