marker images

This commit is contained in:
2026-01-10 21:09:14 +01:00
parent 325373b5d7
commit 975a8039b3
4 changed files with 24 additions and 17 deletions

View File

@@ -3,11 +3,13 @@ import { options } from 'lightbox2';
import projectMapLink from './projectMapLink.vue';
import spotIcon from './spotIcon.vue';
import projectRelTime from './projectRelTime.vue';
import projectMediaLink from './projectMediaLink.vue';
export default {
components: {
spotIcon,
projectMapLink,
projectMediaLink,
projectRelTime
},
//props: {
@@ -17,7 +19,7 @@ export default {
return {
}
},
//inject: ['options', 'spot', 'project'],
//inject: ['options', 'medias', 'spot', 'project'],
mounted() {
}
@@ -46,5 +48,8 @@ export default {
<p class="weather" v-if="options.weather_icon && options.weather_icon!='unknown'" :title="options.weather_cond==''?'':spot.lang(options.weather_cond)">
<spotIcon :icon="options.weather_icon" :classes="'fa-fw fa-lg'" :text="options.weather_temp+'°C'" />
</p>
<p class="medias">
<projectMediaLink v-for="media in medias" :options="media" :type="'marker'" />
</p>
</div>
</template>