feat(product-images):aplicando css ao product-image

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-01-30 00:46:16 -03:00
parent c4eeeb99bf
commit 30f7c6e72a
6 changed files with 53 additions and 23 deletions

View File

@ -11,9 +11,9 @@ os Requisitos cobrados serão:
- HACK Layout deve ser desenvolvido na seguinte pagina de produto (PDP): https://agenciamagma.myvtex.com/sandalia-azul-spike-amarracao/p
- FIXME [Blocos que devem ser ajustado e desenvolvidos](BreadCrumb){ {c}
- FIXME [Blocos que devem ser ajustado e desenvolvidos](Todo__Bloco_De_Imagens_Do_Produto){ {c}
- HACK 1. BreadCrumb;
- [x] 1. BreadCrumb;
- HACK 2. todo o bloco de imagens do produto e dados do produto e de compra (ao lado das imagens),
@ -22,6 +22,8 @@ os Requisitos cobrados serão:
- HACK 4. prateleira de produtos,
- HACK 5. Newsletter.
- HACK dados_do_produto_e_de_compra-ao_lado_das_imagens
}

View File

@ -1,15 +1,6 @@
{
"store.product": {
"children": [
"html#breadcrumb",
"condition-layout.product#availability",
"flex-layout.row#description",
"flex-layout.row#specifications-title",
"example-component",
"product-specification-group#table",
"shelf.relatedProducts",
"product-questions-and-answers"
]
"children": ["html#breadcrumb", "condition-layout.product#availability"]
},
"html#breadcrumb": {
"props": {
@ -80,7 +71,8 @@
"children": ["stack-layout"],
"props": {
"width": "60%",
"rowGap": 0
"rowGap": 10,
"blockClass": "StackLayout"
}
},
"flex-layout.row#product-image": {
@ -90,8 +82,10 @@
"props": {
"aspectRatio": {
"desktop": "auto",
"phone": "16:9"
"phone": "1:1"
},
"showNavigationArrows": false,
"showPaginationDots": false,
"displayThumbnailsArrows": false,
"thumbnailsOrientation": "horizontal"
}

View File

@ -9,6 +9,9 @@
/* Grid breakpoints */
.container {
padding: 0 40px 16px;
margin-left: auto;
margin-right: auto;
max-width: 96rem;
}
.container .term, .container .termArrow {
display: none;

View File

@ -39,10 +39,24 @@
border-radius: 50%;
}
.newsletter {
background: black;
.carouselContainer {
padding: 0 40px 0;
}
.carouselContainer .productImageTag {
max-height: 100% !important;
align-self: stretch;
margin-bottom: 16px;
}
.carouselContainer .productImagesThumb {
background: white;
}
.carouselContainer .productImagesThumb .figure {
width: 100%;
}
.carouselGaleryThumbs {
flex-direction: row;
background: pink;
}
.carouselGaleryThumbs .swiper-wrapper {
gap: 16px;
}

View File

@ -1,6 +1,8 @@
.container{
padding: 0 40px 16px;
margin-left: auto;
margin-right: auto;
max-width: 96rem;
.term,.termArrow{
display: none;
}

View File

@ -44,10 +44,25 @@
}
}
.newsletter{
background: black;
.carouselContainer{
padding: 0 40px 0;
.productImageTag{
max-height: 100% !important;
align-self: stretch;
margin-bottom: 16px;
}
.productImagesThumb{
background:white;
.figure{
width: 100%;
}
}
}
.carouselGaleryThumbs{
background: pink;
.swiper-wrapper{
gap: 16px;
}
}
.carouselGaleryThumbs{
flex-direction: row;
}