- Nuovi Passi da completare: Leggere le Linee Guida e accettare le condizioni
- Aggiunti i Video e confermare di averli visti - In "La tua Lavagna" sono stati aggiunti come requisiti: (Accetto le Linee Guida e Vedo il Video di AYNI) - Aggiunto bottone "Invita Persone": apre la pagina dove c'è il messaggio da inviare alle persone. - La nuova pagina di registrazione https://test.gifteconomy.app/signup/paoloar77, comprende ora il testo delle Linee Guida + i Video, ed in fondo i campi per registrarsi.
This commit is contained in:
17
src/components/CVideoPromo/CVideoPromo.scss
Normal file
17
src/components/CVideoPromo/CVideoPromo.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.lista {
|
||||
text-align: left;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
|
||||
.step{
|
||||
font-size: 1.15rem;
|
||||
font-weight: bold;
|
||||
color: blue;
|
||||
line-height: 1.75rem;
|
||||
letter-spacing: .01em;
|
||||
}
|
||||
|
||||
.grass{
|
||||
font-weight: bold;
|
||||
}
|
||||
46
src/components/CVideoPromo/CVideoPromo.ts
Normal file
46
src/components/CVideoPromo/CVideoPromo.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
import { Component, Prop } from 'vue-property-decorator'
|
||||
|
||||
import { CMyPage } from '../CMyPage/index'
|
||||
|
||||
import { tools } from '../../store/Modules/tools'
|
||||
import { Screen } from 'quasar'
|
||||
import { CCopyBtn, CImgText, CTitleBanner } from '@components'
|
||||
import MixinBase from '../../mixins/mixin-base'
|
||||
import { static_data } from '../../db/static_data'
|
||||
import { UserStore } from '@modules'
|
||||
import { CMyFieldDb } from '../CMyFieldDb'
|
||||
import { shared_consts } from '../../common/shared_vuejs'
|
||||
import { CVideo } from '../CVideo'
|
||||
|
||||
@Component({
|
||||
mixins: [MixinBase],
|
||||
components: { CMyPage, CTitleBanner, CImgText, CMyFieldDb, CVideo }
|
||||
})
|
||||
export default class CVideoPromo extends MixinBase {
|
||||
@Prop({required: false, default: false}) public showconditions: boolean
|
||||
public $t: any
|
||||
public $q
|
||||
public msg: string = ''
|
||||
|
||||
get static_data() {
|
||||
return static_data
|
||||
}
|
||||
|
||||
get accetta_saw_video() {
|
||||
return tools.isBitActive(UserStore.state.my.profile.saw_and_accepted, shared_consts.Accepted.CHECK_SEE_VIDEO_PRINCIPI)
|
||||
}
|
||||
|
||||
set accetta_saw_video(value) {
|
||||
if (value)
|
||||
UserStore.state.my.profile.saw_and_accepted = tools.SetBit(UserStore.state.my.profile.saw_and_accepted, shared_consts.Accepted.CHECK_SEE_VIDEO_PRINCIPI)
|
||||
else
|
||||
UserStore.state.my.profile.saw_and_accepted = tools.UnSetBit(UserStore.state.my.profile.saw_and_accepted, shared_consts.Accepted.CHECK_SEE_VIDEO_PRINCIPI)
|
||||
|
||||
const mydata = {
|
||||
'profile.saw_and_accepted': UserStore.state.my.profile.saw_and_accepted
|
||||
}
|
||||
|
||||
tools.saveFieldToServer(this, 'users', UserStore.state.my._id, mydata)
|
||||
}
|
||||
|
||||
}
|
||||
61
src/components/CVideoPromo/CVideoPromo.vue
Normal file
61
src/components/CVideoPromo/CVideoPromo.vue
Normal file
@@ -0,0 +1,61 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<CTitleBanner title="Video AYNI"></CTitleBanner>
|
||||
<CImgText src="">
|
||||
|
||||
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_1')" bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad" canopen="true" :visible="true">
|
||||
|
||||
<CVideo myvideokey="dbscY8jWDMM">
|
||||
|
||||
</CVideo>
|
||||
</CTitleBanner>
|
||||
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_2')" bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad" canopen="true" :visible="false">
|
||||
|
||||
<CVideo myvideokey="3JDRkN9z_rM">
|
||||
|
||||
</CVideo>
|
||||
</CTitleBanner>
|
||||
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_3')" bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad" canopen="true" :visible="false">
|
||||
|
||||
<CVideo myvideokey="ameNIjUWC6A">
|
||||
|
||||
</CVideo>
|
||||
</CTitleBanner>
|
||||
|
||||
<CTitleBanner class="q-pa-xs" :title="$t('steps.video_intro_4')" bgcolor="bg-primary"
|
||||
clcolor="text-white"
|
||||
myclass="myshad" canopen="true" :visible="false">
|
||||
|
||||
<CVideo myvideokey="oueTgIH3xYg">
|
||||
|
||||
</CVideo>
|
||||
</CTitleBanner>
|
||||
|
||||
<div v-if="showconditions">
|
||||
<q-checkbox
|
||||
class="bg-grey-4"
|
||||
v-model="accetta_saw_video"
|
||||
color="primary"
|
||||
:label="$t('steps.saw_video_intro')">
|
||||
|
||||
</q-checkbox>
|
||||
</div>
|
||||
|
||||
|
||||
</CImgText>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CVideoPromo.ts">
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './CVideoPromo';
|
||||
</style>
|
||||
1
src/components/CVideoPromo/index.ts
Normal file
1
src/components/CVideoPromo/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {default as CVideoPromo} from './CVideoPromo.vue'
|
||||
Reference in New Issue
Block a user