Registrazione con scelta se Telegram o Email.
(anche da link personale)
This commit is contained in:
@@ -8,6 +8,7 @@ import { Logo } from '@/components/logo'
|
||||
|
||||
import { CTitleBanner } from '../CTitleBanner'
|
||||
import { CCopyBtn } from '../CCopyBtn'
|
||||
import { CRegistration } from '../CRegistration'
|
||||
import { PagePolicy } from '../PagePolicy'
|
||||
import { computed, defineComponent, reactive, ref, watch } from 'vue'
|
||||
import { CSignIn } from '@/components/CSignIn'
|
||||
@@ -31,7 +32,7 @@ import { useGlobalStore } from '@store/globalStore'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CSignUp',
|
||||
components: { Logo, CTitleBanner, PagePolicy, CCopyBtn },
|
||||
components: { Logo, CTitleBanner, PagePolicy, CCopyBtn, CRegistration },
|
||||
props: {
|
||||
showadultcheck: {
|
||||
type: Boolean,
|
||||
@@ -84,6 +85,7 @@ export default defineComponent({
|
||||
const showpolicy = ref(false)
|
||||
const visubuttBOT = ref(false)
|
||||
const isalreadyReg = ref(false)
|
||||
const needTelegram = ref(false)
|
||||
|
||||
const typePassword = ref('password')
|
||||
|
||||
@@ -257,6 +259,8 @@ export default defineComponent({
|
||||
|
||||
async function created() {
|
||||
|
||||
needTelegram.value = props.need_Telegram
|
||||
|
||||
console.log('$route.params', $route.params)
|
||||
|
||||
ap_iniziale.value = !!$route.params.invited ? $route.params.invited.toString() : ''
|
||||
@@ -326,6 +330,13 @@ export default defineComponent({
|
||||
typePassword.value = typePassword.value === 'password' ? 'text' : 'password'
|
||||
}
|
||||
|
||||
function regEventEmail() {
|
||||
// reg
|
||||
visubuttBOT.value = false
|
||||
needTelegram.value = false
|
||||
|
||||
}
|
||||
|
||||
created()
|
||||
|
||||
return {
|
||||
@@ -351,6 +362,8 @@ export default defineComponent({
|
||||
showPassword,
|
||||
typePassword,
|
||||
ap_iniziale,
|
||||
regEventEmail,
|
||||
needTelegram,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user