Creazione tabella Product
This commit is contained in:
@@ -19,10 +19,11 @@ const functionality: IFunctionality = {
|
|||||||
SHOW_NEWSLETTER: false,
|
SHOW_NEWSLETTER: false,
|
||||||
SHOW_ONLY_POLICY: true,
|
SHOW_ONLY_POLICY: true,
|
||||||
ENABLE_TODOS_LOADING: false,
|
ENABLE_TODOS_LOADING: false,
|
||||||
ENABLE_PROJECTS_LOADING: true,
|
ENABLE_PROJECTS_LOADING: false,
|
||||||
SHOW_IF_IS_SERVER_CONNECTION: true,
|
SHOW_IF_IS_SERVER_CONNECTION: true,
|
||||||
SHOW_MESSAGES: false,
|
SHOW_MESSAGES: false,
|
||||||
BOOKING_EVENTS: false
|
BOOKING_EVENTS: true,
|
||||||
|
ENABLE_ECOMMERCE: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
const routes_admin: IListRoutes[] = [
|
const routes_admin: IListRoutes[] = [
|
||||||
@@ -118,6 +119,29 @@ 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,
|
||||||
|
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_newsletter: IListRoutes[] = [
|
const routes_newsletter: IListRoutes[] = [
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
@@ -360,7 +384,7 @@ const baseroutes: IListRoutes[] = [
|
|||||||
infooter: false
|
infooter: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: functionality.ENABLE_PROJECTS_LOADING,
|
||||||
path: '',
|
path: '',
|
||||||
order: 10001,
|
order: 10001,
|
||||||
faIcon: 'fa fa-list-alt',
|
faIcon: 'fa fa-list-alt',
|
||||||
@@ -372,6 +396,19 @@ const baseroutes: IListRoutes[] = [
|
|||||||
infooter: true
|
infooter: true
|
||||||
},
|
},
|
||||||
...routes_projects,
|
...routes_projects,
|
||||||
|
{
|
||||||
|
active: functionality.ENABLE_ECOMMERCE,
|
||||||
|
path: '',
|
||||||
|
order: 10002,
|
||||||
|
faIcon: 'fa fa-list-alt',
|
||||||
|
materialIcon: 'next_week',
|
||||||
|
name: 'pages.ecommerce',
|
||||||
|
routes2: routes_ecommerce,
|
||||||
|
inmenu: true,
|
||||||
|
solotitle: true,
|
||||||
|
infooter: true
|
||||||
|
},
|
||||||
|
...routes_projects,
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 2000,
|
order: 2000,
|
||||||
|
|||||||
@@ -1,16 +1,14 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { Component } from 'vue-property-decorator'
|
import { Component } from 'vue-property-decorator'
|
||||||
import { GlobalStore, UserStore, NotevoleStore } from '@store'
|
import { GlobalStore, UserStore } from '@store'
|
||||||
|
|
||||||
import { Logo } from '../../components/logo'
|
import { Logo } from '../../components/logo'
|
||||||
|
|
||||||
import { Footer } from '../../components/Footer'
|
import { Footer } from '../../components/Footer'
|
||||||
import { CMyPage } from '../../components/CMyPage/index'
|
import { CMyPage } from '../../components/CMyPage/index'
|
||||||
|
|
||||||
import VueScrollReveal from 'vue-scroll-reveal'
|
|
||||||
import { tools } from '@src/store/Modules/tools'
|
import { tools } from '@src/store/Modules/tools'
|
||||||
import { func_tools, toolsext } from '@src/store/Modules/toolsext'
|
import { func_tools, toolsext } from '@src/store/Modules/toolsext'
|
||||||
import { Screen } from 'quasar'
|
|
||||||
import MixinMetaTags from '@src/mixins/mixin-metatags'
|
import MixinMetaTags from '@src/mixins/mixin-metatags'
|
||||||
import {
|
import {
|
||||||
CCardCarousel,
|
CCardCarousel,
|
||||||
@@ -19,28 +17,28 @@ import {
|
|||||||
CStatus,
|
CStatus,
|
||||||
CStatusReg,
|
CStatusReg,
|
||||||
CNextZoom,
|
CNextZoom,
|
||||||
CVerifyTelegram, CVerifyEmail
|
CVerifyTelegram, CVerifyEmail, CECommerce
|
||||||
} from '@components'
|
} from '@components'
|
||||||
import MixinBase from '@src/mixins/mixin-base'
|
import MixinBase from '@src/mixins/mixin-base'
|
||||||
import { static_data } from '@src/db/static_data'
|
import { static_data } from '@src/db/static_data'
|
||||||
import { INotData } from '@src/model'
|
import { INotData } from '@src/model'
|
||||||
|
|
||||||
// Vue.use(VueScrollReveal, {
|
|
||||||
// class: 'v-scroll-reveal', // A CSS class applied to elements with the v-scroll-reveal directive; useful for animation overrides.
|
|
||||||
// duration: 1200,
|
|
||||||
// scale: 0.95,
|
|
||||||
// distance: '10px',
|
|
||||||
// rotate: {
|
|
||||||
// x: 0,
|
|
||||||
// y: 0,
|
|
||||||
// z: 0
|
|
||||||
// }
|
|
||||||
// // mobile: true
|
|
||||||
// })
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
mixins: [MixinBase],
|
mixins: [MixinBase],
|
||||||
components: { Logo, Footer, CMyPage, CCardCarousel, CTitleBanner, CImgText, CStatus, CStatusReg, CNextZoom, CVerifyTelegram, CVerifyEmail }
|
components: {
|
||||||
|
Logo,
|
||||||
|
Footer,
|
||||||
|
CMyPage,
|
||||||
|
CCardCarousel,
|
||||||
|
CTitleBanner,
|
||||||
|
CImgText,
|
||||||
|
CStatus,
|
||||||
|
CStatusReg,
|
||||||
|
CNextZoom,
|
||||||
|
CVerifyTelegram,
|
||||||
|
CVerifyEmail,
|
||||||
|
CECommerce
|
||||||
|
}
|
||||||
})
|
})
|
||||||
export default class Home extends MixinBase {
|
export default class Home extends MixinBase {
|
||||||
public text: string = ''
|
public text: string = ''
|
||||||
@@ -71,66 +69,12 @@ export default class Home extends MixinBase {
|
|||||||
value: 0,
|
value: 0,
|
||||||
title: {
|
title: {
|
||||||
it: '<strong>Passo 1 - Contributore Finanziario</strong><br><br>' +
|
it: '<strong>Passo 1 - Contributore Finanziario</strong><br><br>' +
|
||||||
'A) Capisco come funziona e lo condivido ad altre 2 persone che vogliono partecipare.<br>' +
|
'A) Capisco come funziona e lo condivido ad altre 2 persone che vogliono partecipare.<br>' +
|
||||||
'B) Entro nella chat e dono i <strong>33€</strong> al gestore della Billettera.',
|
'B) Entro nella chat e dono i <strong>33€</strong> al gestore della Billettera.',
|
||||||
es: '',
|
es: '',
|
||||||
enUs: ''
|
enUs: ''
|
||||||
},
|
},
|
||||||
myicon: 'fas fa-donate',
|
myicon: 'fas fa-donate',
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '2',
|
|
||||||
value: 1,
|
|
||||||
title: {
|
|
||||||
it: '<strong>Passo 2 - Contributore solidale</strong><br><br>' +
|
|
||||||
'Invio il link per registrarsi alle mie 2 persone, che cosí verseranno i 33€.',
|
|
||||||
es: '',
|
|
||||||
enUs: ''
|
|
||||||
},
|
|
||||||
myicon: 'fas fa-user-friends',
|
|
||||||
myicon2: 'fas fa-coins'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '3',
|
|
||||||
value: 2,
|
|
||||||
title: {
|
|
||||||
it: '<strong>Passo 3 - Tesoriere/segretario</strong><br><br>' +
|
|
||||||
'Collaboro, aggiorno la lista dei doni, fornisco informazioni, ma anche conosco, condivido esperienze, passioni e sogni.',
|
|
||||||
es: '',
|
|
||||||
enUs: ''
|
|
||||||
},
|
|
||||||
myicon: 'fas fa-piggy-bank',
|
|
||||||
myicon2: 'far fa-laugh',
|
|
||||||
myicon3: 'far fa-comments'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '4',
|
|
||||||
value: 3,
|
|
||||||
title: {
|
|
||||||
it: '<strong>Passo 4 - Apertura tua Billettera</strong><br>' +
|
|
||||||
'Creo il mio gruppo Telegram nel quale entrano i miei 2 ospiti, i 2 ospiti dei miei 2 ospiti, che porteranno altre 8 persone (4x2).<br>' +
|
|
||||||
'<br>Ricevuti i 33€ da queste 8 persone (264€), mi tengo i mei <strong>iniziali 33€</strong> e <strong>dono 231 €</strong> alla Billettera "Mas Antigua".',
|
|
||||||
es: '',
|
|
||||||
enUs: ''
|
|
||||||
},
|
|
||||||
myicon: 'fab fa-whatsapp',
|
|
||||||
myicon2: 'fas fa-wallet'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '5',
|
|
||||||
value: 4,
|
|
||||||
title: {
|
|
||||||
it: '<strong>Passo 5</strong><br>' +
|
|
||||||
'Aspetto, da parte delle 8 nuove Billettere, le donazioni di 231€, per un totale di <strong>1848€</strong>.<br>' +
|
|
||||||
'<br>Ringrazio l\'<strong>Universo</strong> per il <strong>dono</strong> ricevuto e fornisco <strong>aiuto</strong> a chi ne ha bisogno.<br>' +
|
|
||||||
'Se desidero, posso <strong>ricominciare</strong>!',
|
|
||||||
es: '',
|
|
||||||
enUs: ''
|
|
||||||
},
|
|
||||||
myicon: 'far fa-clock',
|
|
||||||
myicon2: 'fas fa-euro-sign',
|
|
||||||
myicon3: 'fas fa-praying-hands',
|
|
||||||
myimg: '/' + tools.getimglogo(),
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -144,26 +88,6 @@ export default class Home extends MixinBase {
|
|||||||
color: 'white', icon: 'fas fa-hands-helping',
|
color: 'white', icon: 'fas fa-hands-helping',
|
||||||
textcolor: 'black'
|
textcolor: 'black'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: {
|
|
||||||
it: 'È un lavoro di squadra, dove ognuno fa la sua parte.',
|
|
||||||
es: '',
|
|
||||||
enUs: ''
|
|
||||||
},
|
|
||||||
color: 'white',
|
|
||||||
icon: 'fas fa-users',
|
|
||||||
textcolor: 'black'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: {
|
|
||||||
it: 'E\' un\'opportunità di risentire vecchi amici, ed avere un intento comune, per risentirci e di riconnetterci.<br>',
|
|
||||||
es: '',
|
|
||||||
enUs: ''
|
|
||||||
},
|
|
||||||
color: 'white',
|
|
||||||
icon: 'fas fa-hand-holding-heart',
|
|
||||||
textcolor: 'black'
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|||||||
@@ -57,8 +57,8 @@
|
|||||||
@input="changetab"
|
@input="changetab"
|
||||||
>
|
>
|
||||||
<q-tab name="guida" icon="fas fa-check" :label="$t('pages.home')"></q-tab>
|
<q-tab name="guida" icon="fas fa-check" :label="$t('pages.home')"></q-tab>
|
||||||
<q-tab name="zoom" icon="fas fa-video" :label="$t('pages.nextzoom')"></q-tab>
|
<!--<q-tab name="zoom" icon="fas fa-video" :label="$t('pages.nextzoom')"></q-tab>-->
|
||||||
<q-tab name="statistiche" icon="fas fa-chart-line" :label="$t('pages.status')"></q-tab>
|
<!--<q-tab name="statistiche" icon="fas fa-chart-line" :label="$t('pages.status')"></q-tab>-->
|
||||||
|
|
||||||
</q-tabs>
|
</q-tabs>
|
||||||
|
|
||||||
@@ -83,6 +83,10 @@
|
|||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
</q-tab-panels>
|
</q-tab-panels>
|
||||||
|
|
||||||
|
<CECommerce>
|
||||||
|
|
||||||
|
</CECommerce>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</CMyPage>
|
</CMyPage>
|
||||||
@@ -93,5 +97,5 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import './home.scss';
|
@import './home.scss';
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
</CVideoPromo>
|
</CVideoPromo>
|
||||||
|
|
||||||
<q-page v-if="!!invited" padding class="signup" >
|
<q-page v-if="!!invited" padding class="signup" >
|
||||||
<CSignUpNotevole :showadultcheck="true" :showcell="true" :showaportador="true" :shownationality="true">
|
<CSignUp>
|
||||||
|
|
||||||
</CSignUpNotevole>
|
</CSignUp>
|
||||||
</q-page>
|
</q-page>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,5 +7,6 @@ export const RouteNames = {
|
|||||||
myprojects: 'myprojects',
|
myprojects: 'myprojects',
|
||||||
favouriteprojects: 'favproj',
|
favouriteprojects: 'favproj',
|
||||||
listprojects: 'listproj',
|
listprojects: 'listproj',
|
||||||
livelli: 'livelli'
|
livelli: 'livelli',
|
||||||
|
ecommerce: 'ecommerce'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user