From 9a4b8c7ad8d51c5b588d5679b72045efd93a79a7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 13 Aug 2021 19:19:57 +0800
Subject: [PATCH] 图片附件预览
---
src/styles/common.scss | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/src/styles/common.scss b/src/styles/common.scss
index cb19411..8f7b47b 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -35,3 +35,31 @@
}
//滚动条样式
@include scrollBar;
+
+
+.see-img-box {
+
+ .el-dialog {
+ width: 840px;
+ height: 540px;
+
+ .el-dialog__body {
+ padding: 4px;
+ position: relative;
+ height: calc(100% - 62px);
+ }
+
+ div.img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+ width: calc(100% - 8px);
+ height: calc(100% - 8px);
+ overflow: hidden;
+ }
+ }
+
+}
--
Gitblit v1.9.3