catalogo y producto page
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<Carousel
|
||||
ref="productDetails"
|
||||
class="carousel"
|
||||
:items-to-show="4"
|
||||
:items-to-show="itemsToShow"
|
||||
:gap="1"
|
||||
:pagination-enabled="false"
|
||||
:wrap-around="false"
|
||||
@@ -78,6 +78,10 @@ export default {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
},
|
||||
itemsToShow: {
|
||||
type: Number,
|
||||
default: 4,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -117,7 +121,7 @@ export default {
|
||||
name: item.company_name,
|
||||
image:
|
||||
item.logo || this.defaultImage,
|
||||
url: `/c/${item.id}`,
|
||||
url: `/productoras/${item.id}`,
|
||||
}
|
||||
}
|
||||
if (this.type === 'category') {
|
||||
|
||||
Reference in New Issue
Block a user