wip produtoras/id page

This commit is contained in:
María
2025-09-09 16:28:25 +02:00
parent d7c0a76c7b
commit dab9fd1fe6
12 changed files with 203 additions and 265 deletions

View File

@@ -152,7 +152,8 @@ export default {
transition: all 0.2s ease;
&:hover {
background: #f3f4f6;
background: $color-button;
color: white;
}
}
}

View File

@@ -128,7 +128,7 @@ export default {
methods: {
getProductImg(product) {
if (product && product.image) return product.image
return `@/assets/img/latienda-product-default.svg`
return `@/assets/img/consumo-default.png`
},
},
}

View File

@@ -11,7 +11,7 @@
<img
v-else
class="image"
src="@/assets/img/latienda-product-default.svg"
src="@/assets/img/consumo-default.png"
:alt="product.name"
/>
</div>

View File

@@ -161,7 +161,7 @@ export default {
getProductImg(product) {
if (product && product.image)
return product.image
return `@/assets/img/latienda-product-default.svg`
return `@/assets/img/consumo-default.png`
},
tagRoute(tag) {
return `/busqueda?tags=${tag}`

View File

@@ -174,7 +174,7 @@ export default {
},
getImgUrl(image) {
if (image) return image
return `@/assets/img/latienda-product-default.svg`
return `@/assets/img/consumo-default.png`
},
redirectToLogin() {
this.$router.push({

View File

@@ -15,7 +15,7 @@
<img
v-else
class="image-default"
src="@/assets/img/latienda-product-default.svg"
src="@/assets/img/consumo-default.png"
alt=""
/>
<h3>{{ product.name }}</h3>