This commit is contained in:
les 2020-01-15 23:56:28 +01:00
parent b91b54fc46
commit ad133dc7e9
2 changed files with 11 additions and 11 deletions

View file

@ -18,13 +18,8 @@ import { mapState } from 'vuex'
import Event from '../../components/Event' import Event from '../../components/Event'
export default { export default {
layout: 'event_iframe', layout: 'iframe',
components: { Event }, components: { Event },
data () {
return {
loading: true
}
},
async asyncData ({ $axios, params, error, store }) { async asyncData ({ $axios, params, error, store }) {
try { try {
const [id, start_datetime] = params.event_id.split('_') const [id, start_datetime] = params.event_id.split('_')
@ -35,6 +30,11 @@ export default {
error({ statusCode: 404, message: 'Event not found' }) error({ statusCode: 404, message: 'Event not found' })
} }
}, },
data () {
return {
loading: true
}
},
computed: { computed: {
...mapState(['settings']), ...mapState(['settings']),
date () { date () {
@ -61,6 +61,8 @@ export default {
*/ */
</script> </script>
<style lang='less'> <style lang='less'>
.embed_event{
a { a {
transition: margin .1s; transition: margin .1s;
} }
@ -107,7 +109,7 @@ a:hover {
// transition: all .2s; // transition: all .2s;
margin: 0px; margin: 0px;
} }
}
// .embed_event:hover { // .embed_event:hover {
// transform: scale(1.03); // transform: scale(1.03);
// } // }

View file

@ -53,8 +53,6 @@
small {{event.boost.length}}<br/> small {{event.boost.length}}<br/>
strong(v-if='settings.enable_resources') {{$tc('common.resources', event.resources.length)}} - strong(v-if='settings.enable_resources') {{$tc('common.resources', event.resources.length)}} -
small {{$t('event.interact_with_me_at')}}
small {{$t('event.interact_with_me_at')}}
small {{$t('event.interact_with_me_at')}} small {{$t('event.interact_with_me_at')}}
el-button(type='text' size='mini' @click='showFollowMe=true') @{{settings.instance_name}}@{{settings.baseurl|url2host}} el-button(type='text' size='mini' @click='showFollowMe=true') @{{settings.instance_name}}@{{settings.baseurl|url2host}}