Updated
This commit is contained in:
@@ -83,6 +83,20 @@ const onSlideChange = (swiper: SwiperClass) => {
|
|||||||
centeredSlides: true,
|
centeredSlides: true,
|
||||||
slidesPerView: 3.65,
|
slidesPerView: 3.65,
|
||||||
},
|
},
|
||||||
|
2000: {
|
||||||
|
coverflowEffect: {
|
||||||
|
stretch: -100,
|
||||||
|
},
|
||||||
|
centeredSlides: true,
|
||||||
|
slidesPerView: 4,
|
||||||
|
},
|
||||||
|
3000: {
|
||||||
|
coverflowEffect: {
|
||||||
|
stretch: -100,
|
||||||
|
},
|
||||||
|
centeredSlides: true,
|
||||||
|
slidesPerView: 6,
|
||||||
|
},
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<SwiperSlide
|
<SwiperSlide
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ watch(
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="container select-none mb-40 lg:mb-40 max-lg:mt-20 lg:-mt-32">
|
<div class="container select-none mb-40 lg:mb-40 max-lg:mt-20 lg:-mt-32 3xl:mb-85">
|
||||||
<div>
|
<div>
|
||||||
<div class="flex flex-col items-center gap-3 mb-10 lg:mb-16">
|
<div class="flex flex-col items-center gap-3 mb-10 lg:mb-16">
|
||||||
<span class="typo-p-sm md:typo-p-md text-slate-500"> مقایسه محصولات </span>
|
<span class="typo-p-sm md:typo-p-md text-slate-500"> مقایسه محصولات </span>
|
||||||
@@ -80,7 +80,7 @@ watch(
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
ref="previewContainerEl"
|
ref="previewContainerEl"
|
||||||
class="rounded-200 overflow-hidden h-[70svh] relative"
|
class="rounded-200 overflow-hidden h-[70svh] max-h-200 relative"
|
||||||
>
|
>
|
||||||
<Transition name="fade">
|
<Transition name="fade">
|
||||||
<NuxtImg
|
<NuxtImg
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ const childImageVariants = {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<section class="relative z-[999] h-[115svh] min-h-[1000px] pb-20 bg-black overflow-y-hidden flex-center">
|
<section class="relative z-[999] h-[115svh] min-h-[1000px] max-h-350 pb-20 bg-black overflow-y-hidden flex-center">
|
||||||
<AnimatePresence mode="popLayout">
|
<AnimatePresence mode="popLayout">
|
||||||
<template
|
<template
|
||||||
v-for="(slide, index) in homeData!.show_case_slider"
|
v-for="(slide, index) in homeData!.show_case_slider"
|
||||||
|
|||||||
Reference in New Issue
Block a user