blob: b655162bd8b1ab2e4b306d84959c7b0b22133229 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<template>
<div>
<img :src="pictureSrc" />
</div>
</template>
<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";
@Component
export default class GalleryPicture extends Vue {
@Prop({ required: true }) readonly picture!: Gallery.Picture;
get pictureSrc() {
return `${process.env.VUE_APP_DATA_URL}${this.picture.properties.resource}`;
}
}
</script>
<style lang="scss">
</style>
|