'latienda.coop' ids/alts changed
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
id="modal-center"
|
||||
v-model="activeModal"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
:ok-variant="modalColor"> {{ modalText }}
|
||||
</BModal>
|
||||
<div class="row">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
id="modal-center"
|
||||
v-model="activeModal"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
:ok-variant="modalColor"> {{ modalText }}
|
||||
</BModal>
|
||||
<div class="row">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
id="modal-center"
|
||||
v-model="activeModal"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
:ok-variant="modalColor"> {{ modalText }}
|
||||
</BModal>
|
||||
<BRow align-h="center">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
id="modal-center"
|
||||
v-model="activeModal"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
ok-variant="danger"> {{ modalText }}
|
||||
</BModal>
|
||||
<BRow align-h="center">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
id="modal-center"
|
||||
v-model="activeModal"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
:ok-variant="modalColor"> {{ modalText }}
|
||||
</BModal>
|
||||
<BContainer class="container">
|
||||
@@ -30,7 +30,7 @@
|
||||
<div class="description">
|
||||
<p>
|
||||
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
|
||||
las siguientes etiquetas para que los campos se asocien
|
||||
automáticamente en tus productos:
|
||||
@@ -79,7 +79,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<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
|
||||
<a
|
||||
href="https://www.google.com/basepages/producttype/taxonomy-with-ids.es-ES.txt"
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
id="modal-center"
|
||||
v-model="activeModal"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
:ok-variant="modalColor"> {{ modalText }}
|
||||
</BModal>
|
||||
</BContainer>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
id="modal-center"
|
||||
v-model="active"
|
||||
centered
|
||||
title="latienda.coop"
|
||||
title="consumo-cuidado"
|
||||
ok-variant="success"> Email enviado, revisa tu bandeja de entrada. </BModal>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<div class="info-proj tienda row col-md-12 justify-content-center">
|
||||
<div class="col-md-4 tienda-content" align="center">
|
||||
<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
|
||||
digitalización de su proceso de venta, así cómo para fomentar el
|
||||
consumo de productos y servicios cooperativos.
|
||||
@@ -70,7 +70,7 @@
|
||||
<h1 class="options-title">Fácil gestión</h1>
|
||||
<p class="options-text">
|
||||
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
|
||||
propia tienda online en <b>Woocommerce</b>.
|
||||
</p>
|
||||
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
//TODO: implement head() method
|
||||
// head() {
|
||||
// return {
|
||||
// title: `latienda.coop | ${this.coop?.company_name}`,
|
||||
// title: `consumo-cuidado | ${this.coop?.company_name}`,
|
||||
// meta: [
|
||||
// {
|
||||
// hid: 'description',
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<img
|
||||
class="search-icon"
|
||||
src="@/assets/img/latienda-search.svg"
|
||||
alt="latienda.coop-search"
|
||||
alt="consumo-cuidado-search"
|
||||
@click="search"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
<template>
|
||||
<div class="">
|
||||
<div class="c-container">
|
||||
<ProductCardDetails
|
||||
:product="product"
|
||||
:related="related"
|
||||
:related-products="relatedProducts"
|
||||
:company="company"
|
||||
:products-per-page="4"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -55,7 +56,7 @@ export default {
|
||||
//TODO: meta data
|
||||
// mounted() {
|
||||
// useHead({
|
||||
// title: `latienda.coop | ${this.product.id}`,
|
||||
// title: `consumo-cuidado | ${this.product.id}`,
|
||||
// meta: [
|
||||
// {
|
||||
// hid: 'description',
|
||||
@@ -75,7 +76,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
.c-container {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 80px;
|
||||
@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>
|
||||
Reference in New Issue
Block a user