This commit is contained in:
parent
cb5b80fc6b
commit
f495f97352
@ -58,7 +58,7 @@ body {
|
|||||||
//swiper
|
//swiper
|
||||||
.swiper {
|
.swiper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 54px);
|
height: calc(100dvh - 54px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper-slide {
|
.swiper-slide {
|
||||||
@ -75,7 +75,7 @@ body {
|
|||||||
.swiper-slide img {
|
.swiper-slide img {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 54px);
|
height: calc(100dvh - 54px);
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -13,4 +13,14 @@ export default defineNuxtConfig({
|
|||||||
strategy: 'prefix_except_default',
|
strategy: 'prefix_except_default',
|
||||||
detectBrowserLanguage: false,
|
detectBrowserLanguage: false,
|
||||||
},
|
},
|
||||||
|
app: {
|
||||||
|
head: {
|
||||||
|
meta: [
|
||||||
|
{
|
||||||
|
name: 'viewport',
|
||||||
|
content: 'width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover, user-scalable=no',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
v-model:open="open"
|
v-model:open="open"
|
||||||
:class="{ animated: !isSwiping }"
|
:class="{ animated: !isSwiping }"
|
||||||
:style="{ top }"
|
:style="{ top }"
|
||||||
|
:snap-points="[0.5, 1]"
|
||||||
>
|
>
|
||||||
<ProductImages />
|
<ProductImages />
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user