From 06833fa81269e7f29b8f1c663d38eb1117ab9509 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 13 Aug 2021 14:33:04 +0800
Subject: [PATCH] 图片预览
---
src/styles/common.scss | 38 ++++++++++++++++++++++++++++++++++----
1 files changed, 34 insertions(+), 4 deletions(-)
diff --git a/src/styles/common.scss b/src/styles/common.scss
index 4507ae7..eb4bded 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -19,12 +19,42 @@
//通用配置
@import './normalize.scss';
-a{
+a {
text-decoration: none;
- color:#333;
+ color: #333;
}
-*{
+
+* {
outline: none;
}
+
//滚动条样式
-@include scrollBar;
\ No newline at end of file
+@include scrollBar;
+
+
+.see-img-box {
+
+ .el-dialog {
+ width: 840px;
+ height: 540px;
+
+ .el-dialog__body {
+ padding: 4px;
+ position: relative;
+ height: calc(100% - 62px);
+ }
+
+ img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+ height: calc(100% - 8px);
+ max-width: calc(100% - 8px);
+ max-height: calc(100% - 8px);
+ }
+ }
+
+}
--
Gitblit v1.9.3