sito Terra Della Visione...3
Pagina Operatori
This commit is contained in:
@@ -1,61 +1,48 @@
|
||||
<template>
|
||||
<div>
|
||||
<CMyPage
|
||||
imgbackground="images/calendario_eventi.jpg" :title="gettitle()" sizes="max-height: 110px;"
|
||||
styleadd="bottom: -36px !important;">
|
||||
|
||||
<span>{{
|
||||
setmeta({
|
||||
title: gettitle(),
|
||||
description: '',
|
||||
keywords: '',
|
||||
})
|
||||
}}
|
||||
</span>
|
||||
<CEventsCalendar :mysingleevent="myevent" v-if="myevent">
|
||||
|
||||
<CEventsCalendar :mysingleevent="myevent" v-if="myevent">
|
||||
</CEventsCalendar>
|
||||
|
||||
</CEventsCalendar>
|
||||
<q-separator>
|
||||
</q-separator>
|
||||
|
||||
<q-separator>
|
||||
</q-separator>
|
||||
|
||||
<div class="q-pa-md text-center" style="max-width: 380px; margin: auto auto 2px; " v-if="nextevents().length > 0">
|
||||
<q-list bordered>
|
||||
<q-item>
|
||||
<q-item-section>
|
||||
<q-item-label overline>PROSSIME DATE:</q-item-label>
|
||||
<div class="q-pa-md text-center" style="max-width: 380px; margin: auto auto 2px; " v-if="nextevents().length > 0">
|
||||
<q-list bordered>
|
||||
<q-item>
|
||||
<q-item-section>
|
||||
<q-item-label overline>PROSSIME DATE:</q-item-label>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<div
|
||||
v-for="(ev, index) in nextevents()"
|
||||
:key="index">
|
||||
<q-item
|
||||
v-if="isnotmyevent(ev)"
|
||||
clickable v-ripple
|
||||
:to="`/event/${ev.typol}/${ev._id}`"
|
||||
>
|
||||
<q-item-section avatar v-if="tools.getimgev(ev)">
|
||||
<q-avatar>
|
||||
<img :src="tools.getimgev(ev)" :alt="ev.title">
|
||||
</q-avatar>
|
||||
</q-item-section>
|
||||
<q-item-section>{{ ev.title }}</q-item-section>
|
||||
<q-item-section side top>{{ tools.getstrDateTimeEventShort($t, ev) }}</q-item-section>
|
||||
</q-item>
|
||||
<div
|
||||
v-for="(ev, index) in nextevents()"
|
||||
:key="index">
|
||||
<q-item
|
||||
v-if="isnotmyevent(ev)"
|
||||
clickable v-ripple
|
||||
:to="`/event/${ev.typol}/${ev._id}`"
|
||||
>
|
||||
<q-item-section avatar v-if="tools.getimgev(ev)">
|
||||
<q-avatar>
|
||||
<img :src="tools.getimgev(ev)" :alt="ev.title">
|
||||
</q-avatar>
|
||||
</q-item-section>
|
||||
<q-item-section>{{ ev.title }}</q-item-section>
|
||||
<q-item-section side top>{{ tools.getstrDateTimeEventShort($t, ev) }}</q-item-section>
|
||||
</q-item>
|
||||
</div>
|
||||
</q-list>
|
||||
</div>
|
||||
</div>
|
||||
</q-list>
|
||||
</div>
|
||||
|
||||
<div class="q-ma-md text-center">
|
||||
<q-btn
|
||||
rounded outline type="a" to="/calendario-eventi" color="primary" icon="event"
|
||||
:label="$t('pages.calendarioeventi')">
|
||||
</q-btn>
|
||||
<div class="q-ma-md text-center">
|
||||
<q-btn
|
||||
rounded outline type="a" to="/calendario-eventi" color="primary" icon="event"
|
||||
:label="$t('pages.calendarioeventi')">
|
||||
</q-btn>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</CMyPage>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" src="./evento.ts">
|
||||
|
||||
0
src/root/fundraising/fundraising.scss
Executable file
0
src/root/fundraising/fundraising.scss
Executable file
22
src/root/fundraising/fundraising.ts
Executable file
22
src/root/fundraising/fundraising.ts
Executable file
@@ -0,0 +1,22 @@
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useI18n } from '@src/boot/i18n'
|
||||
import {
|
||||
defineComponent, ref, onBeforeUnmount, onMounted,
|
||||
} from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { CFundRaising } from '@/components'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'FundRaising',
|
||||
components: { CFundRaising },
|
||||
|
||||
setup() {
|
||||
const { t } = useI18n();
|
||||
|
||||
return {
|
||||
t,
|
||||
tools,
|
||||
}
|
||||
},
|
||||
})
|
||||
9
src/root/fundraising/fundraising.vue
Executable file
9
src/root/fundraising/fundraising.vue
Executable file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<CFundRaising></CFundRaising>
|
||||
|
||||
</template>
|
||||
<script lang="ts" src="./fundraising.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import './fundraising.scss';
|
||||
</style>
|
||||
@@ -20,6 +20,7 @@ import MixinBase from '@/mixins/mixin-base'
|
||||
import MixinUsers from '@/mixins/mixin-users'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import { CPresentazione } from '@/components'
|
||||
import MixinMetaTags from '@/mixins/mixin-metatags'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'mainview',
|
||||
@@ -29,6 +30,8 @@ export default defineComponent({
|
||||
const userStore = useUserStore()
|
||||
const { getValDb } = MixinBase()
|
||||
|
||||
const { setmeta } = MixinMetaTags()
|
||||
|
||||
const { getRefLink } = MixinUsers()
|
||||
|
||||
return {
|
||||
@@ -38,6 +41,7 @@ export default defineComponent({
|
||||
userStore,
|
||||
shared_consts,
|
||||
globalStore,
|
||||
setmeta,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
<template>
|
||||
<q-page class="">
|
||||
|
||||
<span>{{
|
||||
setmeta({
|
||||
title: $t('ws.sitename'),
|
||||
description: $t('ws.siteshortname'),
|
||||
keywords: $t('ws.keywords'),
|
||||
})
|
||||
}}
|
||||
</span>
|
||||
|
||||
<!--<CChartMap
|
||||
title="Mappa"
|
||||
subtitle="cartina..."
|
||||
|
||||
Reference in New Issue
Block a user