feat: adiciona carrossel
This commit is contained in:
parent
b52ac38836
commit
e42f8649ab
@ -7,11 +7,13 @@
|
||||
// "flex-layout.row#description",
|
||||
// "flex-layout.row#specifications-title",
|
||||
// "product-specification-group#table",
|
||||
"shelf.relatedProducts",
|
||||
// "shelf.relatedProducts",
|
||||
"list-context.product-list#carousel-list",
|
||||
"product-questions-and-answers",
|
||||
"newsletter"
|
||||
]
|
||||
},
|
||||
|
||||
"html#breadcrumb": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
@ -158,7 +160,7 @@
|
||||
"props": {
|
||||
"blockClass": "tab-render",
|
||||
"tabId": "product1",
|
||||
"label": "Drescrição",
|
||||
"label": "Descrição",
|
||||
"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": {
|
||||
"props": {
|
||||
"marginBottom": 3
|
||||
|
Loading…
x
Reference in New Issue
Block a user