Nuovo Sistema di registrazione:
tramite il BOT, viene memorizzato l'username telegram e si usa quello come username per la APP, e l'ID telegram viene passato direttamente, senza chiedere la verifica. - ospitalità (inizio).
This commit is contained in:
18
src/views/user/mypagehosp/mypagehosp.scss
Executable file
18
src/views/user/mypagehosp/mypagehosp.scss
Executable file
@@ -0,0 +1,18 @@
|
||||
.profile {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
max-width: 450px;
|
||||
}
|
||||
|
||||
.myrow{
|
||||
display: flex;
|
||||
@media (max-width: 600px) {
|
||||
flex-flow: column;
|
||||
}
|
||||
}
|
||||
|
||||
.qualifica{
|
||||
border: solid 2px #4198ef;
|
||||
border-radius: 1rem;
|
||||
padding: 5px;
|
||||
}
|
||||
31
src/views/user/mypagehosp/mypagehosp.ts
Executable file
31
src/views/user/mypagehosp/mypagehosp.ts
Executable file
@@ -0,0 +1,31 @@
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { CMyCardPopup } from '@/components/CMyCardPopup'
|
||||
import { CMyPage } from '@/components/CMyPage'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'mypagehosp',
|
||||
components: { CMyCardPopup, CMyPage, CCheckIfIsLogged },
|
||||
props: {},
|
||||
setup() {
|
||||
const userStore = useUserStore()
|
||||
const $route = useRoute()
|
||||
const $q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
|
||||
const idHosp = computed(() => $route.params.idHosp ? $route.params.idHosp.toString() : 0)
|
||||
|
||||
return {
|
||||
t,
|
||||
idHosp,
|
||||
toolsext,
|
||||
tools,
|
||||
}
|
||||
}
|
||||
})
|
||||
30
src/views/user/mypagehosp/mypagehosp.vue
Executable file
30
src/views/user/mypagehosp/mypagehosp.vue
Executable file
@@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<CMyPage title="Ospitalità"
|
||||
imgbackground="images/calendario_eventi.jpg"
|
||||
sizes="max-height: 120px" styleadd="bottom: -20px !important;">
|
||||
|
||||
<div v-if="!tools.isLogged()">
|
||||
<CCheckIfIsLogged></CCheckIfIsLogged>
|
||||
</div>
|
||||
|
||||
<CMyCardPopup
|
||||
v-if="!!idHosp"
|
||||
:table="toolsext.TABMYHOSPS"
|
||||
:nopopup="true"
|
||||
:idRec="idHosp">
|
||||
|
||||
</CMyCardPopup>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
</CMyPage>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./mypagehosp.ts">
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './mypagehosp.scss';
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user