From 098ea60f200cbaa3f5369900e1946ae461b427b6 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 14 Jan 2026 15:03:18 +0800
Subject: [PATCH] feat:设备出入库新增、查看、编辑等弹窗风格样式调整
---
applications/drone-command/src/styles/common/cockpit.scss | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 167 insertions(+), 1 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index 563d248..8ad2072 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -457,7 +457,11 @@
}
}
-.ztzf-dialog-history-search {
+.el-form.ztzf-dialog-history-search {
+ .el-form-item {
+ margin-left: 20px;
+ }
+
.el-form-item__label {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
@@ -528,6 +532,20 @@
font-size: 16px;
color: #fff;
}
+ }
+ }
+
+ .el-input {
+ width: 160px;
+ }
+
+ .el-date-editor {
+ width: 226px;
+ }
+
+ .el-select {
+ .el-select__wrapper {
+ width: 160px;
}
}
}
@@ -625,6 +643,9 @@
.el-form-item {
margin-left: 30px;
margin-bottom: 0;
+ padding: 0;
+ display: flex;
+ align-items: center;
&:first-child {
margin-left: 0;
@@ -633,6 +654,7 @@
.el-form-item__label {
margin-right: 12px;
+ padding: 0 !important;
height: 40px;
line-height: 40px;
}
@@ -657,6 +679,16 @@
.el-button {
width: 96px;
height: 40px;
+ }
+
+ .history-search-actions {
+ .el-button {
+ margin-left: 20px;
+
+ &:first-child {
+ margin-left: 0;
+ }
+ }
}
}
@@ -827,4 +859,138 @@
box-shadow: none;
}
}
+}
+
+.ztzf-page-view-dialog {
+ display: flex;
+ flex-direction: column;
+ width: 770px;
+ background: #1A1A2A;
+ border-radius: 6px 6px 6px 6px;
+ border: 1px solid #2E2E46;
+
+ .el-dialog__header {
+ span {
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: bold;
+ font-size: 18px;
+ color: #FFFFFF;
+ line-height: 22px;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ }
+
+ .el-icon {
+ color: #FFFFFF;
+ }
+ }
+
+ .el-dialog__body {
+ height: 0;
+ flex: 1;
+
+ .detail-container {
+ padding: 0 10px;
+
+ .detail-title {
+ margin-bottom: 30px;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 18px;
+ color: #FFFFFF;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ }
+
+ .el-row {
+ .el-col {
+ margin-bottom: 20px;
+ display: flex;
+ align-items: center;
+
+ .label {
+ width: 88px;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 14px;
+ color: #D4D5D7;
+ line-height: 22px;
+ text-align: right;
+ font-style: normal;
+ text-transform: none;
+ }
+
+ .val {
+ margin-left: 12px;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 400;
+ font-size: 14px;
+ color: #9E9EBA;
+ line-height: 22px;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ }
+ }
+ }
+
+
+ .ztzf-table-container {
+ height: 360px;
+
+ .ztzf-table-pagination {
+ justify-content: center;
+ }
+ }
+ }
+
+ .dialog-form {
+
+ .el-form-item {
+ display: flex;
+ align-items: center;
+
+ .el-form-item__label {
+ display: flex;
+ align-items: center;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 14px;
+ color: #D4D5D7;
+ line-height: 22px;
+ text-align: right;
+ font-style: normal;
+ text-transform: none;
+ }
+
+ .el-form-item__content {
+ display: flex;
+ align-items: center;
+ }
+
+ .el-input {
+ .el-input__wrapper {
+ background: #2E2E48;
+ }
+ }
+ }
+ }
+ }
+
+ .el-dialog__footer {
+ display: flex;
+ justify-content: center;
+
+ .el-button {
+ margin-left: 16px;
+ width: 96px;
+ height: 36px;
+
+ &:first-child {
+ margin-left: 0;
+ }
+ }
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3