2023-10-27 23:51:44 +02:00
|
|
|
<template>
|
|
|
|
<modals-modal v-model="show" name="cover" :width="'90%'" :height="'90%'" :contentMarginTop="0">
|
|
|
|
<div class="w-full h-full" @click="show = false">
|
|
|
|
<img loading="lazy" :src="rawCoverUrl" class="w-full h-full z-10 object-scale-down" />
|
|
|
|
</div>
|
|
|
|
</modals-modal>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {}
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
show: {
|
|
|
|
get() {
|
|
|
|
return this.$store.state.globals.showRawCoverPreviewModal
|
|
|
|
},
|
|
|
|
set(val) {
|
|
|
|
this.$store.commit('globals/setShowRawCoverPreviewModal', val)
|
|
|
|
}
|
|
|
|
},
|
|
|
|
rawCoverUrl() {
|
2024-05-03 00:48:50 +02:00
|
|
|
return this.$store.state.globals.selectedRawCoverUrl
|
2023-10-27 23:51:44 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {},
|
|
|
|
mounted() {}
|
|
|
|
}
|
2024-05-03 00:48:50 +02:00
|
|
|
</script>
|