@@ -63,7 +59,6 @@
-
@@ -156,6 +151,8 @@ export default defineComponent({
},
async mounted () {
+ await this.user.loadData()
+ await this.$app.loadConfig()
await this.fetchData()
},
@@ -192,3 +189,10 @@ export default defineComponent({
}
})
+
+
+ en-US:
+ visitor: Visitor
+ es-ES:
+ visitor: Visitante
+
diff --git a/src/pages/Home.vue b/src/pages/Cms/Home.vue
similarity index 75%
rename from src/pages/Home.vue
rename to src/pages/Cms/Home.vue
index 92f12284..8fecd8ea 100644
--- a/src/pages/Home.vue
+++ b/src/pages/Cms/Home.vue
@@ -6,7 +6,7 @@
v-for="myNew in news"
:key="myNew.id">
-
+
{{ myNew.title }}
@@ -22,7 +22,7 @@
fab
icon="add_shopping_cart"
color="accent"
- :to="{name: 'catalog'}"
+ to="/catalog"
:title="$t('startOrder')"
/>
@@ -33,27 +33,18 @@
.new-card {
width: 100%;
- @media screen and (min-width: 1000px) and (max-width: 1399px) {
+ @media screen and (min-width: 800px) and (max-width: 1400px) {
width: 50%;
}
- @media screen and (min-width: 1400px) and (max-width: 1699px) {
+ @media screen and (min-width: 1401px) and (max-width: 1920px) {
width: 33.33%;
}
- @media screen and (min-width: 1700px) {
+ @media screen and (min-width: 19021) {
width: 25%;
}
}
.new-body {
font-family: 'Open Sans';
-
- a {
- text-decoration: none;
- color: #6a1;
-
- &:hover {
- text-decoration: underline;
- }
- }
}
diff --git a/src/pages/Ecomerce/Orders.vue b/src/pages/Ecomerce/Orders.vue
new file mode 100644
index 00000000..1a103f77
--- /dev/null
+++ b/src/pages/Ecomerce/Orders.vue
@@ -0,0 +1,64 @@
+
+
+
+ {{$t('noOrdersFound')}}
+
+
+
+
+
+ {{order.landed}}
+ #{{order.id}}
+ {{order.address.nickname}}
+ {{order.address.city}}
+
+
+ {{order.taxableBase}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ en-US:
+ startOrder: Start order
+ noOrdersFound: No orders found
+ es-ES:
+ startOrder: Empezar pedido
+ noOrdersFound: No se encontrado pedidos
+
diff --git a/src/pages/ErrorNotFound.vue b/src/pages/ErrorNotFound.vue
index c1c178b3..f84a4868 100644
--- a/src/pages/ErrorNotFound.vue
+++ b/src/pages/ErrorNotFound.vue
@@ -1,5 +1,5 @@
-
+
404
@@ -12,7 +12,7 @@
-
+
{{$t('haveForgottenPassword')}}
@@ -67,7 +67,9 @@