diff --git a/src/App.scss b/src/App.scss index 6b2bc8e..20159db 100755 --- a/src/App.scss +++ b/src/App.scss @@ -201,6 +201,17 @@ $heightBtn: 100%; } } +.text-price { + margin-bottom: 6px; + font-size: 1.10rem; + font-weight: 400; + text-shadow: .25 .25rem .5rem $grayshadow; + letter-spacing: .00937em; + &.big { + font-size: 1.5rem; + } +} + .text-subtitle2, h3 { margin-bottom: 4px; font-size: 1.15rem; @@ -237,6 +248,10 @@ $heightBtn: 100%; font-size: 0.75rem; } + .text-subtitle4 { + font-size: 0.7rem; + } + .cltexth3 { font-size: 1.25rem; } @@ -252,7 +267,7 @@ $heightBtn: 100%; .my-card { width: 100%; - max-width: 350px; + max-width: 300px; min-width: 300px; padding: 1rem 1rem; @@ -793,6 +808,10 @@ $heightBtn: 100%; font-size: 1rem; } +.text-h8{ + font-size: 0.85rem; +} + .bordo_stondato, .bordo_stondato_blu{ margin: 4px; border-radius: 3rem; @@ -885,3 +904,21 @@ $heightBtn: 100%; font-size: 0.8rem !important; } } + +#mycontainer { + min-height:100%; + position:relative; +} +.myheader { + padding:5px; +} +#mybody { + padding:5px; +} +.myfooter{ + +} + +.iconplusminus{ + font-size: 6px; +} diff --git a/src/db/lang/ws_it.js b/src/db/lang/ws_it.js index d61e852..942c71f 100755 --- a/src/db/lang/ws_it.js +++ b/src/db/lang/ws_it.js @@ -4,10 +4,18 @@ const msg_website_it = { siteshortname: 'CNM', botname: 'CNM BOT', }, + products: { + quantity: 'Quantità', + quantityAvailable: 'Disponibili', + weight: 'Peso', + stars: 'Voto', + }, pages: { home: 'Home', profile: 'Profilo', projects: 'Progetti', + producer: 'Produttore', + products: 'Prodotti', payment: 'Pagamenti', regok: 'Registrazione Confermata', presentazione: 'Presentazione', @@ -57,7 +65,9 @@ const msg_website_it = { req: 'Passi', people: 'Inv.', peoplelegend: 'Numero d\'Invitati' - } + }, + ecommerce: 'E-Commerce', + }, msg: { myAppDescription: '', diff --git a/src/db/static_data.ts b/src/db/static_data.ts index e934020..2c99115 100755 --- a/src/db/static_data.ts +++ b/src/db/static_data.ts @@ -121,25 +121,63 @@ const routes_projects: IListRoutes[] = [ const routes_ecommerce: IListRoutes[] = [ { - active: functionality.ENABLE_ECOMMERCE, - order: 10, - path: '/' + RouteNames.ecommerce, - materialIcon: 'shop', - name: RouteNames.ecommerce, - level_parent: 0.0, + active: true, + order: 30, + path: '/checkout', + materialIcon: 'fas fa-shopping-cart', + name: 'pages.checkout', + component: () => import('@/views/ecommerce/checkOut/checkOut.vue'), + inmenu: true, + submenu: true, + level_parent: 0, level_child: 0.5, - component: () => import('@/views/projects/proj-list/proj-list.vue'), - inmenu: functionality.SHOW_MESSAGES, - infooter: functionality.ENABLE_PROJECTS_LOADING, - meta: { - requiresAuth: false, - async asyncData() { - // await Todos.actions.dbLoad({ checkPending: false }) - await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true }) - } - }, - idelem: process.env.PROJECT_ID_MAIN - } + }, +] + +const routes_admin_ecommerce: IListRoutes[] = [ + { + active: true, + order: 30, + path: '/admin/products', + materialIcon: 'fas fa-file-alt', + name: 'pages.products', + component: () => import('@/rootgen/admin/products/products.vue'), + inmenu: true, + submenu: true, + level_parent: 0, + level_child: 0.5, + onlyManager: true, + onlyTraduttrici: true + }, + { + active: true, + order: 30, + path: '/admin/producers', + materialIcon: 'fas fa-file-alt', + name: 'pages.producer', + component: () => import('@/rootgen/admin/producer/producer.vue'), + inmenu: true, + submenu: true, + level_parent: 0, + level_child: 0.5, + onlyManager: true, + onlyTraduttrici: true + }, + { + active: true, + order: 30, + path: '/admin/storehouses', + materialIcon: 'fas fa-file-alt', + name: 'pages.storehouses', + component: () => import('@/rootgen/admin/storehouses/storehouses.vue'), + inmenu: true, + submenu: true, + level_parent: 0, + level_child: 0.5, + onlyManager: true, + onlyTraduttrici: true + }, + ] const routes_newsletter: IListRoutes[] = [ @@ -316,6 +354,22 @@ const routes_manager: IListRoutes[] = [ onlyAdmin: true, onlyManager: true }, + { + active: functionality.ENABLE_ECOMMERCE, + path: '', + order: 65, + faIcon: 'fa fa-list-alt', + materialIcon: 'next_week', + name: 'pages.ecommerce', + routes2: routes_admin_ecommerce, + inmenu: true, + submenu: true, + level_parent: 0.5, + level_child: 0.5, + solotitle: true, + onlyAdmin: true, + onlyManager: true + }, { active: functionality.BOOKING_EVENTS, order: 70, @@ -399,7 +453,7 @@ const baseroutes: IListRoutes[] = [ { active: functionality.ENABLE_ECOMMERCE, path: '', - order: 10002, + order: 1402, faIcon: 'fa fa-list-alt', materialIcon: 'next_week', name: 'pages.ecommerce', @@ -408,7 +462,7 @@ const baseroutes: IListRoutes[] = [ solotitle: true, infooter: true }, - ...routes_projects, + ...routes_ecommerce, { active: true, order: 2000,