feat: adiciona carrossel
This commit is contained in:
parent
b52ac38836
commit
e42f8649ab
@ -7,11 +7,13 @@
|
|||||||
// "flex-layout.row#description",
|
// "flex-layout.row#description",
|
||||||
// "flex-layout.row#specifications-title",
|
// "flex-layout.row#specifications-title",
|
||||||
// "product-specification-group#table",
|
// "product-specification-group#table",
|
||||||
"shelf.relatedProducts",
|
// "shelf.relatedProducts",
|
||||||
|
"list-context.product-list#carousel-list",
|
||||||
"product-questions-and-answers",
|
"product-questions-and-answers",
|
||||||
"newsletter"
|
"newsletter"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"html#breadcrumb": {
|
"html#breadcrumb": {
|
||||||
"props": {
|
"props": {
|
||||||
"tag": "section",
|
"tag": "section",
|
||||||
@ -158,7 +160,7 @@
|
|||||||
"props": {
|
"props": {
|
||||||
"blockClass": "tab-render",
|
"blockClass": "tab-render",
|
||||||
"tabId": "product1",
|
"tabId": "product1",
|
||||||
"label": "Drescrição",
|
"label": "Descrição",
|
||||||
"defaultActiveTab": true
|
"defaultActiveTab": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -277,6 +279,34 @@
|
|||||||
// ]
|
// ]
|
||||||
// },
|
// },
|
||||||
|
|
||||||
|
// CARROSSEL DE PRODUTOS
|
||||||
|
"list-context.product-list#carousel-list": {
|
||||||
|
"blocks": ["product-summary.shelf#carousel-shelf"],
|
||||||
|
"children": ["slider-layout#carousel"]
|
||||||
|
},
|
||||||
|
|
||||||
|
"product-summary.shelf#carousel-shelf": {
|
||||||
|
"children": [
|
||||||
|
"product-summary-image",
|
||||||
|
"product-summary-name",
|
||||||
|
"product-summary-price"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"slider-layout#carousel": {
|
||||||
|
"props": {
|
||||||
|
"itemsPerPage": {
|
||||||
|
"desktop": 4,
|
||||||
|
"tablet": 1,
|
||||||
|
"phone": 1
|
||||||
|
},
|
||||||
|
"infinite": true,
|
||||||
|
"showNavigationArrows": "desktopOnly",
|
||||||
|
"blockClass": "carousel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
"flex-layout.row#product-name": {
|
"flex-layout.row#product-name": {
|
||||||
"props": {
|
"props": {
|
||||||
"marginBottom": 3
|
"marginBottom": 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user