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

View File

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

View File

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