You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
564 B

<template>
2 years ago
<el-dialog width="60%" :visible.sync="visible" :before-close="handleClose" :modal="true">
<div class="image-box">
<img class="full-img" :src="url" />
</div>
</el-dialog>
</template>
<script>
export default {
name: "fullImage",
data() {
return {
}
},
methods: {
handleClose() {
this.$emit("close");
}
},
props: {
visible: {
type: Boolean
},
url: {
type: String
}
}
}
</script>
<style>
2 years ago
.image-box{
display: flex;
align-items: center;
justify-content: center;
}
2 years ago
</style>