fix Registrazione data

fix linkref
fix controllo login
This commit is contained in:
Paolo Arena
2020-01-20 01:48:34 +01:00
parent 218ccc0d58
commit 3442b5b45a
12 changed files with 448 additions and 297 deletions

View File

@@ -1,6 +1,6 @@
import Vue from 'vue'
import { Component } from 'vue-property-decorator'
import { GlobalStore, UserStore } from '@store'
import { GlobalStore, UserStore, NotevoleStore } from '@store'
import { Logo } from '../../components/logo'
@@ -12,8 +12,10 @@ import { tools } from '@src/store/Modules/tools'
import { func_tools, toolsext } from '@src/store/Modules/toolsext'
import { Screen } from 'quasar'
import MixinMetaTags from '@src/mixins/mixin-metatags'
import { CCardCarousel, CImgText, CTitleBanner, CStatus } from '@components'
import { CCardCarousel, CImgText, CTitleBanner, CStatus, CStatusReg } from '@components'
import MixinBase from '@src/mixins/mixin-base'
import { static_data } from '@src/db/static_data'
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.
@@ -30,7 +32,7 @@ import MixinBase from '@src/mixins/mixin-base'
@Component({
mixins: [MixinBase],
components: { Logo, Footer, CMyPage, CCardCarousel, CTitleBanner, CImgText, CStatus }
components: { Logo, Footer, CMyPage, CCardCarousel, CTitleBanner, CImgText, CStatus, CStatusReg }
})
export default class Home extends MixinBase {
public text: string = ''
@@ -54,13 +56,15 @@ export default class Home extends MixinBase {
public arrvideo_yt = []
public arrvideo_mp4 = []
public arrsteps = [
{
label: '1',
value: 0,
title: {
it: '<strong>Passo 1 - Contributore Finanziario</strong><br><br>' +
'A) Capisco come funziona. Condivido il gioco 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.',
es: '',
enUs: ''
@@ -112,7 +116,7 @@ export default class Home extends MixinBase {
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> il gioco!',
'Se desidero, posso <strong>ricominciare</strong>!',
es: '',
enUs: ''
},
@@ -165,14 +169,18 @@ export default class Home extends MixinBase {
return tools.metafunc(this)
}
get isVerified() {
return UserStore.state.my.verified_email
get notevolerec() {
return UserStore.state
}
get tools() {
return tools
}
get visuStatus() {
return !this.isVerificato || !this.TelegVerificato || UserStore.state.my.profile.paymenttypes.length === 0
}
public mounted() {
let primo = true
@@ -225,6 +233,10 @@ export default class Home extends MixinBase {
return UserStore.state.isLogged
}
get static_data() {
return static_data
}
public mystilecard() {
return {
visibility: this.cardvisible,
@@ -319,4 +331,12 @@ export default class Home extends MixinBase {
return UserStore.getters.isVerificato
}
get TelegVerificato() {
return UserStore.state.my.profile.teleg_id > 0
}
public openrighttoolbar() {
GlobalStore.state.RightDrawerOpen = true
}
}