[WIP] Добавил возможность просмотра фото

This commit is contained in:
DwCay
2023-06-27 19:22:10 +03:00
parent 3bfbaadbca
commit ac2f17d5aa
7 changed files with 156 additions and 34 deletions

View File

@@ -0,0 +1,33 @@
<template lang="pug">
base-modal(
v-model="value",
hide-header,
default-padding
)
.wrapper.flex.relative
img.w-full.h-full(:src="picture")
</template>
<script>
import { v_model } from "@/shared/mixins/v-model";
import BaseModal from "@/components/base/BaseModal.vue";
export default {
name: "BaseModalShowingPicture",
components: { BaseModal },
mixins: [v_model],
props: {
pictureId: Number,
picture: String,
listPicture: Array,
index: Number,
data: Array,
},
};
</script>
<style lang="sass" scoped>
.wrapper
width: 640px
height: 785px
</style>