feat(parteleira):add prateleira

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-02-05 21:11:23 -03:00
parent 0a9ffb2593
commit 4e3b6b6537
4 changed files with 95 additions and 12 deletions

View File

@ -11,7 +11,7 @@
.html--pdp-section_descriptions{
display: flex;
flex-direction: column;
gap: 32;
gap: 32px;
padding: 0px 40px 0px 40px;
}
.html--pdp-section_descriptions :global(.vtex-flex-layout-0-x-flexRowContent){
@ -36,6 +36,7 @@
list-style: none;
margin: 0;
}
.html--pdp-departamens div ul li button{
outline: none;
border: none;
@ -55,3 +56,17 @@
.html--pdp-productMain :global(.vtex-store-components-3-x-container){
max-width: 100%;
}
@media screen and (max-width: 1024px) {
.html--pdp-departamens div ul{
flex-direction: column;
justify-content: end;
padding: 0;
}
.html--pdp-departamens div ul li :global(button.open){
border-bottom: none;
}
.html--pdp-departamens ul{
border-top: 1px solid rgba(185, 185, 185, 1);
}
}

View File

@ -3,9 +3,51 @@
"children": [
"html#breadcrumb",
"condition-layout.product#availability",
"html#departaments"
"html#departaments",
"flex-layout.row#specifications-title",
"html#carousel"
]
},
"html#carousel":{
"children":["flex-layout.row#shelfpdp"]
},
"flex-layout.row#shelfpdp": {
"props":{
"blockClass":"pdp-carrousel"
},
"children": ["list-context.product-list#pdp"]
},
"list-context.product-list#pdp": {
"blocks": ["product-summary.shelf#Pdp"],
"children": ["slider-layout#demo-products#pdp"],
"props": {
"orderBy": "OrderByTopSaleDESC"
}
},
"slider-layout#demo-products#pdp": {
"props": {
"itemsPerPage": {
"desktop": 4,
"tablet": 3,
"phone": 2
},
"infinite": true,
"fullWidth": true,
"blockClass": "pdp"
}
},
"product-summary.shelf#Pdp": {
"children": [
"stack-layout#prodsum",
"product-summary-name",
"product-summary-space",
"product-list-price#summary",
"product-installments#summary",
"flex-layout.row#selling-price-savings"
]
},
"html#breadcrumb": {
"props": {
"tag": "section",
@ -34,16 +76,18 @@
"flex-layout.row#specifications-title": {
"children": ["rich-text#specifications"]
},
"rich-text#specifications": {
"props": {
"text": "##### Product Specifications"
"text": "##### Você também pode gostar:",
"blockClass": "pdp-specifications"
}
},
"flex-layout.row#description": {
"props": {
"width": "66%"
},
"children": ["product-images#description","product-description"]
"children": ["product-images#description", "product-description"]
},
"condition-layout.product#availability": {
"props": {
@ -103,7 +147,7 @@
"testId": "description",
"blockClass": "pdp-section_descriptions"
},
"children": ["html#Sections","html#description"]
"children": ["html#Sections", "html#description"]
},
"html#description": {
"props": {
@ -111,18 +155,16 @@
"testId": "description",
"blockClass": "pdp-descriptions"
},
"children": [
"flex-layout.row#description"
]
"children": ["flex-layout.row#description"]
},
"flex-layout.col#stack": {
"children": ["stack-layout"],
"props": {
"rowGap": 10,
"width":"50%",
"width": "50%",
"blockClass": "StackLayout",
"htmlId":"teste"
"htmlId": "teste"
}
},
"flex-layout.row#product-image": {
@ -152,7 +194,7 @@
"showPaginationDots": false,
"thumbnailVisibility": "hiden",
"displayMode": "first-image",
"zoomMode":"disabled"
"zoomMode": "disabled"
}
},
"flex-layout.col#right-col": {

View File

@ -6,4 +6,15 @@
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
/* Grid breakpoints */
.container--pdp-specifications {
justify-content: center;
}
.container--pdp-specifications .wrapper--pdp-specifications .heading {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #575757;
}

View File

@ -0,0 +1,15 @@
.container{
&--pdp-specifications{
justify-content: center;
.wrapper--pdp-specifications{
.heading{
font-family: 'Open Sans',sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #575757;
}
}
}
}