sito Terra Della Visione...3
Pagina Operatori
This commit is contained in:
@@ -80,6 +80,7 @@ export default defineComponent({
|
||||
columns,
|
||||
filter,
|
||||
provaval,
|
||||
globalStore,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
12
src/views/login/signup_noteleg/signup_noteleg.scss
Executable file
12
src/views/login/signup_noteleg/signup_noteleg.scss
Executable file
@@ -0,0 +1,12 @@
|
||||
.signup {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
max-width: 450px;
|
||||
}
|
||||
|
||||
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
36
src/views/login/signup_noteleg/signup_noteleg.ts
Executable file
36
src/views/login/signup_noteleg/signup_noteleg.ts
Executable file
@@ -0,0 +1,36 @@
|
||||
import { computed, defineComponent, ref, watch } from 'vue'
|
||||
import { CSignUp } from '../../../components/CSignUp'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'SignUp',
|
||||
components: { CSignUp },
|
||||
props: {},
|
||||
setup() {
|
||||
const $route = useRoute()
|
||||
|
||||
const adult = ref(false)
|
||||
const invited = computed(() => $route.params.invited)
|
||||
|
||||
// @ts-ignore
|
||||
watch(() => invited, (newval, oldval) => {
|
||||
console.log('$route.params.invited')
|
||||
adult.value = !!$route.params.invited
|
||||
})
|
||||
|
||||
function created() {
|
||||
if (!tools.getCookie(tools.APORTADOR_SOLIDARIO, '')) {
|
||||
// @ts-ignore
|
||||
tools.setCookie(tools.APORTADOR_SOLIDARIO, $route.params.invited ? $route.params.invited : '')
|
||||
}
|
||||
}
|
||||
|
||||
created()
|
||||
|
||||
return {}
|
||||
},
|
||||
})
|
||||
14
src/views/login/signup_noteleg/signup_noteleg.vue
Executable file
14
src/views/login/signup_noteleg/signup_noteleg.vue
Executable file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<q-page padding class="signup">
|
||||
<CSignUp :showcell="false" :showaportador="false" :show_namesurname="true" :need_Telegram="false">
|
||||
|
||||
</CSignUp>
|
||||
</q-page>
|
||||
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./signup_noteleg.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './signup_noteleg.scss';
|
||||
</style>
|
||||
Reference in New Issue
Block a user