'latienda.coop' ids/alts changed
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
<form class="form" @submit.prevent="submitCompany">
|
<form class="form" @submit.prevent="submitCompany">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<img
|
<img
|
||||||
class="logo"
|
class="logo"
|
||||||
src="@/assets/img/logo-consumo-cuidado.png"
|
src="@/assets/img/logo-consumo-cuidado.png"
|
||||||
alt="latienda.coop"
|
alt="consumo-cuidado"
|
||||||
/>
|
/>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<div class="nav-buttons">
|
<div class="nav-buttons">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<img
|
<img
|
||||||
class="nav-buttons-info nav-icon"
|
class="nav-buttons-info nav-icon"
|
||||||
src="@/assets/img/latienda-info.svg"
|
src="@/assets/img/latienda-info.svg"
|
||||||
alt="latienda.coop"
|
alt="consumo-cuidado"
|
||||||
/>
|
/>
|
||||||
</NuxtLink> -->
|
</NuxtLink> -->
|
||||||
<NuxtLink to="/" class="nuxt-link">
|
<NuxtLink to="/" class="nuxt-link">
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
<img
|
<img
|
||||||
class="nav-icon"
|
class="nav-icon"
|
||||||
src="@/assets/img/circle-user-round.svg"
|
src="@/assets/img/circle-user-round.svg"
|
||||||
alt="latienda.coop"
|
alt="consumo-cuidado"
|
||||||
/>
|
/>
|
||||||
<div class="nav-text">{{ name }}</div>
|
<div class="nav-text">{{ name }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
<img
|
<img
|
||||||
class="nav-icon"
|
class="nav-icon"
|
||||||
src="@/assets/img/circle-user-round.svg"
|
src="@/assets/img/circle-user-round.svg"
|
||||||
alt="latienda.coop"
|
alt="consumo-cuidado"
|
||||||
/>
|
/>
|
||||||
<div class="nav-text">{{ name }}</div>
|
<div class="nav-text">{{ name }}</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
<img
|
<img
|
||||||
class="nav-icon"
|
class="nav-icon"
|
||||||
src="@/assets/img/circle-user-round.svg"
|
src="@/assets/img/circle-user-round.svg"
|
||||||
alt="latienda.coop"
|
alt="consumo-cuidado"
|
||||||
/>
|
/>
|
||||||
<p class="nav-access">Acceso entidades</p>
|
<p class="nav-access">Acceso entidades</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="active"
|
v-model="active"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
</div>
|
</div>
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
<h2 v-else class="items-title">Otros productos</h2>
|
<h2 v-else class="items-title">Otros productos</h2>
|
||||||
<div class="title-lines"></div>
|
<div class="title-lines"></div>
|
||||||
</div>
|
</div>
|
||||||
<ProductsRelated :related-products="relatedProducts" />
|
<ProductsRelated :related-products="relatedProducts" :products-per-page="productsPerPage" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -133,6 +133,10 @@ export default {
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
productsPerPage: {
|
||||||
|
type: Number,
|
||||||
|
default: 8,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<img
|
<img
|
||||||
class="search-icon"
|
class="search-icon"
|
||||||
src="@/assets/img/latienda-search.svg"
|
src="@/assets/img/latienda-search.svg"
|
||||||
alt="latienda.coop-search"
|
alt="consumo-cuidado-search"
|
||||||
@click="search"
|
@click="search"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<img
|
<img
|
||||||
class="search-icon"
|
class="search-icon"
|
||||||
src="@/assets/img/latienda-search-blue.svg"
|
src="@/assets/img/latienda-search-blue.svg"
|
||||||
alt="latienda.coop-search"
|
alt="consumo-cuidado-search"
|
||||||
@click="search"
|
@click="search"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
<BRow align-h="center">
|
<BRow align-h="center">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
ok-variant="danger"> {{ modalText }}
|
ok-variant="danger"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
<BRow align-h="center">
|
<BRow align-h="center">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
<BContainer class="container">
|
<BContainer class="container">
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<p>
|
<p>
|
||||||
La función <strong>Importar CSV</strong> te permite subir tus
|
La función <strong>Importar CSV</strong> te permite subir tus
|
||||||
productos a Latienda.coop sin tener que hacerlo manualmente.
|
productos a consumo-cuidado sin tener que hacerlo manualmente.
|
||||||
Puedes ponerles nombres a las columnas en tu hoja de cálculo con
|
Puedes ponerles nombres a las columnas en tu hoja de cálculo con
|
||||||
las siguientes etiquetas para que los campos se asocien
|
las siguientes etiquetas para que los campos se asocien
|
||||||
automáticamente en tus productos:
|
automáticamente en tus productos:
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>Categoría: </strong>clasificación principal del
|
<strong>Categoría: </strong>clasificación principal del
|
||||||
producto. el Latienda.coop usamos la taxonomía de Google.
|
producto. el consumo-cuidado usamos la taxonomía de Google.
|
||||||
Puedes ver todas las categorías disponibles
|
Puedes ver todas las categorías disponibles
|
||||||
<a
|
<a
|
||||||
href="https://www.google.com/basepages/producttype/taxonomy-with-ids.es-ES.txt"
|
href="https://www.google.com/basepages/producttype/taxonomy-with-ids.es-ES.txt"
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="activeModal"
|
v-model="activeModal"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
:ok-variant="modalColor"> {{ modalText }}
|
:ok-variant="modalColor"> {{ modalText }}
|
||||||
</BModal>
|
</BModal>
|
||||||
</BContainer>
|
</BContainer>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
id="modal-center"
|
id="modal-center"
|
||||||
v-model="active"
|
v-model="active"
|
||||||
centered
|
centered
|
||||||
title="latienda.coop"
|
title="consumo-cuidado"
|
||||||
ok-variant="success"> Email enviado, revisa tu bandeja de entrada. </BModal>
|
ok-variant="success"> Email enviado, revisa tu bandeja de entrada. </BModal>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<div class="info-proj tienda row col-md-12 justify-content-center">
|
<div class="info-proj tienda row col-md-12 justify-content-center">
|
||||||
<div class="col-md-4 tienda-content" align="center">
|
<div class="col-md-4 tienda-content" align="center">
|
||||||
<p>
|
<p>
|
||||||
<b>latienda.coop</b> es un gran escaparate virtual que COCETA pone a
|
<b>consumo-cuidado</b> es un gran escaparate virtual que COCETA pone a
|
||||||
disposición de todas las cooperativas de trabajo para facilitar la
|
disposición de todas las cooperativas de trabajo para facilitar la
|
||||||
digitalización de su proceso de venta, así cómo para fomentar el
|
digitalización de su proceso de venta, así cómo para fomentar el
|
||||||
consumo de productos y servicios cooperativos.
|
consumo de productos y servicios cooperativos.
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<h1 class="options-title">Fácil gestión</h1>
|
<h1 class="options-title">Fácil gestión</h1>
|
||||||
<p class="options-text">
|
<p class="options-text">
|
||||||
Cualquier cooperativa de trabajo de España puede incluir sus productos
|
Cualquier cooperativa de trabajo de España puede incluir sus productos
|
||||||
o servicios en latienda.coop. Podrá gestionarlos desde el panel de
|
o servicios en consumo-cuidado. Podrá gestionarlos desde el panel de
|
||||||
control o configurando la sicnronización con los productos de su
|
control o configurando la sicnronización con los productos de su
|
||||||
propia tienda online en <b>Woocommerce</b>.
|
propia tienda online en <b>Woocommerce</b>.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ export default {
|
|||||||
//TODO: implement head() method
|
//TODO: implement head() method
|
||||||
// head() {
|
// head() {
|
||||||
// return {
|
// return {
|
||||||
// title: `latienda.coop | ${this.coop?.company_name}`,
|
// title: `consumo-cuidado | ${this.coop?.company_name}`,
|
||||||
// meta: [
|
// meta: [
|
||||||
// {
|
// {
|
||||||
// hid: 'description',
|
// hid: 'description',
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<img
|
<img
|
||||||
class="search-icon"
|
class="search-icon"
|
||||||
src="@/assets/img/latienda-search.svg"
|
src="@/assets/img/latienda-search.svg"
|
||||||
alt="latienda.coop-search"
|
alt="consumo-cuidado-search"
|
||||||
@click="search"
|
@click="search"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="">
|
<div class="c-container">
|
||||||
<ProductCardDetails
|
<ProductCardDetails
|
||||||
:product="product"
|
:product="product"
|
||||||
:related="related"
|
:related="related"
|
||||||
:related-products="relatedProducts"
|
:related-products="relatedProducts"
|
||||||
:company="company"
|
:company="company"
|
||||||
|
:products-per-page="4"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -55,7 +56,7 @@ export default {
|
|||||||
//TODO: meta data
|
//TODO: meta data
|
||||||
// mounted() {
|
// mounted() {
|
||||||
// useHead({
|
// useHead({
|
||||||
// title: `latienda.coop | ${this.product.id}`,
|
// title: `consumo-cuidado | ${this.product.id}`,
|
||||||
// meta: [
|
// meta: [
|
||||||
// {
|
// {
|
||||||
// hid: 'description',
|
// hid: 'description',
|
||||||
@@ -75,7 +76,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.container {
|
.c-container {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
margin-bottom: 80px;
|
margin-bottom: 80px;
|
||||||
@include mobile {
|
@include mobile {
|
||||||
|
|||||||
@@ -1,47 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="container">
|
|
||||||
<div class="welcome">
|
|
||||||
<div class="text-container">
|
|
||||||
<h1>Bienvenido/a {{ userName }}</h1>
|
|
||||||
<br />
|
|
||||||
<p>
|
|
||||||
Su formulario se ha recibido correctamente debe confirmar su correo
|
|
||||||
electronico para activar su cuenta.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
computed: {
|
|
||||||
userName() {
|
|
||||||
return this.$route.params.name
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.welcome {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
height: 600px;
|
|
||||||
font-family: $font-primary;
|
|
||||||
color: $color-navy;
|
|
||||||
font-weight: $regular;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
.text-container {
|
|
||||||
max-width: 500px;
|
|
||||||
p,
|
|
||||||
h1 {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div class="container">
|
|
||||||
<FormHeader title="Registro de Usuario" />
|
|
||||||
<form class="form" @submit.prevent="userRegister">
|
|
||||||
<FormInput
|
|
||||||
v-model="register.email"
|
|
||||||
class="input"
|
|
||||||
required
|
|
||||||
type="text"
|
|
||||||
label-text="Email"
|
|
||||||
@input="register.email = $event"
|
|
||||||
/>
|
|
||||||
<FormInput
|
|
||||||
v-model="register.full_name"
|
|
||||||
class="input"
|
|
||||||
required
|
|
||||||
type="text"
|
|
||||||
label-text="Nombre completo"
|
|
||||||
@input="register.full_name = $event"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<FormInput
|
|
||||||
|
|
||||||
class="input"
|
|
||||||
required
|
|
||||||
type="password"
|
|
||||||
label-text="Contraseña"
|
|
||||||
@input="register.password = $event"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<small v-if="error" class="text-danger" >{{ error }}</small>
|
|
||||||
|
|
||||||
<SubmitButton text="registrar" image-url="" />
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<p class="help" align="center">
|
|
||||||
*Si quieres que tu cooperativa forme parte de este proyecto registrate en
|
|
||||||
el siguiente
|
|
||||||
<NuxtLink to="/registro/cooperativa"><b>formulario</b></NuxtLink
|
|
||||||
>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
setup() {
|
|
||||||
definePageMeta({
|
|
||||||
layout: 'main',
|
|
||||||
})
|
|
||||||
},
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
error: null,
|
|
||||||
register: {
|
|
||||||
email: '',
|
|
||||||
full_name: '',
|
|
||||||
password: '',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
async userRegister() {
|
|
||||||
this.error = null
|
|
||||||
const config = useRuntimeConfig()
|
|
||||||
try {
|
|
||||||
const response = await $fetch('/users/', {
|
|
||||||
baseURL: config.public.baseURL,
|
|
||||||
method: 'POST',
|
|
||||||
body: JSON.stringify(this.register),
|
|
||||||
})
|
|
||||||
if (response) {
|
|
||||||
this.$router.push(`/registro/bienvenidausuario/${this.register.full_name}`)
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
if (err?.response?.status === 404) {
|
|
||||||
this.error = 'Usuario no encontrado'
|
|
||||||
} else {
|
|
||||||
this.error = 'Ha habido un error'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.container {
|
|
||||||
margin-top: 5rem;
|
|
||||||
margin-bottom: 5rem;
|
|
||||||
|
|
||||||
@include mobile {
|
|
||||||
margin-top: 7rem;
|
|
||||||
margin-bottom: 3rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.form {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 80px;
|
|
||||||
|
|
||||||
@include mobile {
|
|
||||||
margin-bottom: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-container {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
// input[type='checkbox'] {
|
|
||||||
// margin-left: 10px;
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
.help {
|
|
||||||
color: $color-navy;
|
|
||||||
margin-bottom: 80px;
|
|
||||||
font-size: $m;
|
|
||||||
@include mobile {
|
|
||||||
font-size: $s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@@ -9,7 +9,7 @@ export default defineNuxtPlugin(() => {
|
|||||||
if (config.public.googleAnalyticsId) {
|
if (config.public.googleAnalyticsId) {
|
||||||
configure({
|
configure({
|
||||||
tagId: config.public.googleAnalyticsId,
|
tagId: config.public.googleAnalyticsId,
|
||||||
appName: 'latienda.coop',
|
appName: 'consumo-cuidado',
|
||||||
pageTracker: {
|
pageTracker: {
|
||||||
router,
|
router,
|
||||||
useScreenview: true,
|
useScreenview: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user