Commit 8bf0def7 authored by yaya's avatar yaya

feat:bugfix

parent d75ccac1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<el-dialog <el-dialog
:visible.sync="showLargeDialog" :visible.sync="showLargeDialog"
:before-close="handleClose"> :before-close="handleClose">
<div > <div class="content">
<img :src="imageUrl" class="image" @click="handleClose"> <img :src="imageUrl" class="image" @click="handleClose">
</div> </div>
</el-dialog> </el-dialog>
...@@ -30,9 +30,13 @@ export default { ...@@ -30,9 +30,13 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.content {
width: 100%;
text-align: center;
}
.image { .image {
min-width: 400px; width: 400px;
max-width: 600px;
height: auto; height: auto;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment