2024-09-10 21:31:49 -03:00
|
|
|
<template>
|
2024-09-10 22:07:16 -03:00
|
|
|
<div class="columns ml-3 mr-3">
|
|
|
|
<categorias-container :class="chismosaActiva ? 'hide-below-1024' : ''"></categorias-container>
|
|
|
|
<productos-container :class="chismosaActiva ? 'hide-below-1024' : ''"></productos-container>
|
2024-09-10 21:31:49 -03:00
|
|
|
<chismosa v-show="chismosaActiva"></chismosa>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import Chismosa from './Chismosa.vue';
|
|
|
|
import ProductosContainer from './ProductosContainer.vue';
|
|
|
|
import CategoriasContainer from './CategoriasContainer.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
componets: {
|
|
|
|
Chismosa,
|
|
|
|
ProductosContainer,
|
|
|
|
CategoriasContainer,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
chismosaActiva: false,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
mounted() {
|
2024-09-10 22:07:16 -03:00
|
|
|
Event.$on('toggle-chismosa', (activa) => {
|
|
|
|
this.chismosaActiva = activa;
|
2024-09-10 21:31:49 -03:00
|
|
|
});
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|