Carrello Spesa

This commit is contained in:
Paolo Arena
2020-12-25 03:53:36 +01:00
parent 1ee08b57ab
commit f094af396b
3 changed files with 123 additions and 22 deletions

View File

@@ -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 { .text-subtitle2, h3 {
margin-bottom: 4px; margin-bottom: 4px;
font-size: 1.15rem; font-size: 1.15rem;
@@ -237,6 +248,10 @@ $heightBtn: 100%;
font-size: 0.75rem; font-size: 0.75rem;
} }
.text-subtitle4 {
font-size: 0.7rem;
}
.cltexth3 { .cltexth3 {
font-size: 1.25rem; font-size: 1.25rem;
} }
@@ -252,7 +267,7 @@ $heightBtn: 100%;
.my-card { .my-card {
width: 100%; width: 100%;
max-width: 350px; max-width: 300px;
min-width: 300px; min-width: 300px;
padding: 1rem 1rem; padding: 1rem 1rem;
@@ -793,6 +808,10 @@ $heightBtn: 100%;
font-size: 1rem; font-size: 1rem;
} }
.text-h8{
font-size: 0.85rem;
}
.bordo_stondato, .bordo_stondato_blu{ .bordo_stondato, .bordo_stondato_blu{
margin: 4px; margin: 4px;
border-radius: 3rem; border-radius: 3rem;
@@ -885,3 +904,21 @@ $heightBtn: 100%;
font-size: 0.8rem !important; font-size: 0.8rem !important;
} }
} }
#mycontainer {
min-height:100%;
position:relative;
}
.myheader {
padding:5px;
}
#mybody {
padding:5px;
}
.myfooter{
}
.iconplusminus{
font-size: 6px;
}

View File

@@ -4,10 +4,18 @@ const msg_website_it = {
siteshortname: 'CNM', siteshortname: 'CNM',
botname: 'CNM BOT', botname: 'CNM BOT',
}, },
products: {
quantity: 'Quantità',
quantityAvailable: 'Disponibili',
weight: 'Peso',
stars: 'Voto',
},
pages: { pages: {
home: 'Home', home: 'Home',
profile: 'Profilo', profile: 'Profilo',
projects: 'Progetti', projects: 'Progetti',
producer: 'Produttore',
products: 'Prodotti',
payment: 'Pagamenti', payment: 'Pagamenti',
regok: 'Registrazione Confermata', regok: 'Registrazione Confermata',
presentazione: 'Presentazione', presentazione: 'Presentazione',
@@ -57,7 +65,9 @@ const msg_website_it = {
req: 'Passi', req: 'Passi',
people: 'Inv.', people: 'Inv.',
peoplelegend: 'Numero d\'Invitati' peoplelegend: 'Numero d\'Invitati'
} },
ecommerce: 'E-Commerce',
}, },
msg: { msg: {
myAppDescription: '', myAppDescription: '',

View File

@@ -121,25 +121,63 @@ const routes_projects: IListRoutes[] = [
const routes_ecommerce: IListRoutes[] = [ const routes_ecommerce: IListRoutes[] = [
{ {
active: functionality.ENABLE_ECOMMERCE, active: true,
order: 10, order: 30,
path: '/' + RouteNames.ecommerce, path: '/checkout',
materialIcon: 'shop', materialIcon: 'fas fa-shopping-cart',
name: RouteNames.ecommerce, name: 'pages.checkout',
level_parent: 0.0, component: () => import('@/views/ecommerce/checkOut/checkOut.vue'),
inmenu: true,
submenu: true,
level_parent: 0,
level_child: 0.5, level_child: 0.5,
component: () => import('@/views/projects/proj-list/proj-list.vue'), },
inmenu: functionality.SHOW_MESSAGES, ]
infooter: functionality.ENABLE_PROJECTS_LOADING,
meta: { const routes_admin_ecommerce: IListRoutes[] = [
requiresAuth: false, {
async asyncData() { active: true,
// await Todos.actions.dbLoad({ checkPending: false }) order: 30,
await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true }) path: '/admin/products',
} materialIcon: 'fas fa-file-alt',
}, name: 'pages.products',
idelem: process.env.PROJECT_ID_MAIN 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[] = [ const routes_newsletter: IListRoutes[] = [
@@ -316,6 +354,22 @@ const routes_manager: IListRoutes[] = [
onlyAdmin: true, onlyAdmin: true,
onlyManager: 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, active: functionality.BOOKING_EVENTS,
order: 70, order: 70,
@@ -399,7 +453,7 @@ const baseroutes: IListRoutes[] = [
{ {
active: functionality.ENABLE_ECOMMERCE, active: functionality.ENABLE_ECOMMERCE,
path: '', path: '',
order: 10002, order: 1402,
faIcon: 'fa fa-list-alt', faIcon: 'fa fa-list-alt',
materialIcon: 'next_week', materialIcon: 'next_week',
name: 'pages.ecommerce', name: 'pages.ecommerce',
@@ -408,7 +462,7 @@ const baseroutes: IListRoutes[] = [
solotitle: true, solotitle: true,
infooter: true infooter: true
}, },
...routes_projects, ...routes_ecommerce,
{ {
active: true, active: true,
order: 2000, order: 2000,