feat(pdp): Adiciona product images

This commit is contained in:
Cainã Milech 2023-01-23 23:01:20 -03:00
parent fb8ea93a04
commit 16f747874c
3 changed files with 65 additions and 11 deletions

View File

@ -95,6 +95,10 @@
}, },
"product-images": { "product-images": {
"props": { "props": {
"showNavigationArrows": false,
"showPaginationDots": false,
"thumbnailAspectRatio": "1:1",
"thumbnailMaxHeight": 90,
"thumbnailsOrientation": "horizontal", "thumbnailsOrientation": "horizontal",
"aspectRatio": { "aspectRatio": {
"desktop": "auto", "desktop": "auto",
@ -106,7 +110,8 @@
"flex-layout.col#right-col": { "flex-layout.col#right-col": {
"props": { "props": {
"preventVerticalStretch": true, "preventVerticalStretch": true,
"rowGap": 0 "rowGap": 0,
"width": "46%"
}, },
"children": [ "children": [
"flex-layout.row#product-name", "flex-layout.row#product-name",

View File

@ -10,16 +10,41 @@
.container { .container {
margin-left: 40px; margin-left: 40px;
margin-right: 40px; margin-right: 40px;
padding: 0;
} }
.newsletter { .newsletter {
background: red; background: red;
} }
/*:global(.vtex-store-components-3-x-productImage) { .productImageTag--main {
width: 664px; max-height: max-content !important;
height: 664px; }
}*/
.carouselGaleryThumbs {
margin-top: 16px;
}
.thumbImg {
height: 90px;
max-width: 90px;
}
.carouselThumbBorder {
width: 90px;
height: 90px;
}
.figure {
width: 90px;
height: 90px;
}
.productImagesThumb {
max-width: 90px;
margin-right: 16px;
}
/*:global(.vtex-store-components-3-x-productImageTag) { /*:global(.vtex-store-components-3-x-productImageTag) {
width: 664px; width: 664px;
height: 664px; height: 664px;
@ -139,7 +164,7 @@
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: color-gray6; color: #929292;
} }
.shippingContainer :global(.vtex-input-prefix__group) { .shippingContainer :global(.vtex-input-prefix__group) {
height: 49px; height: 49px;

View File

@ -1,6 +1,7 @@
.container { .container {
margin-left: 40px; margin-left: 40px;
margin-right: 40px; margin-right: 40px;
padding: 0;
} }
.newsletter { .newsletter {
@ -8,10 +9,33 @@
} }
//IMAGENS //IMAGENS
/*:global(.vtex-store-components-3-x-productImage) { .productImageTag--main {
width: 664px; max-height: max-content !important;
height: 664px; }
}*/
.carouselGaleryThumbs {
margin-top: 16px;
}
.thumbImg {
height: 90px;
max-width: 90px;
}
.carouselThumbBorder {
width: 90px;
height: 90px;
}
.figure {
width: 90px;
height: 90px;
}
.productImagesThumb {
max-width: 90px;
margin-right: 16px;
}
/*:global(.vtex-store-components-3-x-productImageTag) { /*:global(.vtex-store-components-3-x-productImageTag) {
width: 664px; width: 664px;
@ -149,7 +173,7 @@
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: color-gray6; color: $color-gray6;
} }
} }