From 6c98d6eda4e4b184e9ed5cab5da1ad825a2d1938 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 22 Jan 2026 09:21:00 +0800
Subject: [PATCH] feat: 弹框样式
---
applications/task-work-order/src/styles/common/cockpit.scss | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index 4ca7ee1..b1e1d0f 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -454,21 +454,20 @@
}
}
+.el-overlay-dialog{
+ display: flex;
+ justify-content: center; /* 水平居中 */
+ align-items: center; /* 垂直居中 */
+}
+
.gd-dialog {
padding: 30px;
display: flex;
flex-direction: column;
background: #FFFFFF;
- border: 1px solid #CCCCCC;
border-radius: 6px 6px 6px 6px;
- margin-top: auto !important;
+ margin: 0 !important;
max-height: 90vh;
- min-height: 20vh;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
-
.el-dialog__header {
span {
@@ -489,7 +488,7 @@
.el-dialog__body {
overflow: auto;
-
+ min-height: 20vh;
.detail-title {
margin-bottom: 10px;
font-family: Source Han Sans CN, Source Han Sans CN;
--
Gitblit v1.9.3