From 1d552a3bad95caae4af15322df28e6240b797693 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 13 Aug 2026 15:32:06 +0800
Subject: [PATCH] feat: app视频封面图
---
applications/drone-command/src/styles/common/cockpit.scss | 40 ++++++++++++++++++++++++++++++++++------
1 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index f4ee56e..cd6119c 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -74,6 +74,7 @@
.el-tree-node__label {
color: #c3c3dd;
+ font-size: 12px;
}
.el-checkbox {
@@ -134,6 +135,10 @@
.el-tree-node__expand-icon.is-leaf {
visibility: hidden;
+ }
+
+ .el-tree-node__expand-icon.expanded {
+ transform: rotate(-180deg);
}
}
@@ -1134,8 +1139,10 @@
}
}
- th.el-table__cell:not(.fixed-column),
- td.el-table__cell:not(.fixed-column) {
+ // 注意:Element Plus 2.9.11 固定列类名为 el-table-fixed-column--left/right,
+ // 老的 .fixed-column 已不存在,这里需一并排除,否则固定列会被刷成透明
+ th.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right),
+ td.el-table__cell:not(.fixed-column):not(.el-table-fixed-column--left):not(.el-table-fixed-column--right) {
background: transparent !important;
}
@@ -1177,7 +1184,9 @@
}
}
- .fixed-column {
+ .fixed-column,
+ .el-table-fixed-column--left,
+ .el-table-fixed-column--right {
background-color: #1A1A2A !important;
}
}
@@ -1383,7 +1392,7 @@
.el-form-item {
display: flex;
- align-items: center;
+ align-items: flex-start;
.el-form-item__label {
display: flex;
@@ -1392,6 +1401,7 @@
font-weight: 500;
font-size: 14px;
color: #D4D5D7;
+ height: 40px;
line-height: 40px;
text-align: right;
font-style: normal;
@@ -1639,7 +1649,13 @@
color: #D4D5D7;
}
+ .el-message-box__container {
+ display: flex;
+ justify-content: center;
+ }
+
.el-message-box__btns {
+ padding-top: 30px;
display: flex;
justify-content: center;
@@ -1769,7 +1785,7 @@
align-items: center;
.label {
- width: 96px;
+ min-width: 96px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 14px;
@@ -1814,6 +1830,17 @@
flex-direction: column;
overflow-y: auto;
+
+ .detail-title {
+ margin-bottom: 20px;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 16px;
+ color: #FFFFFF;
+ text-align: left;
+ font-style: normal;
+ text-transform: none;
+ }
.el-row {
.el-col {
@@ -1942,7 +1969,7 @@
justify-content: flex-end;
padding-right: 12px;
- width: 96px;
+ min-width: 96px;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
@@ -1981,6 +2008,7 @@
}
.footer {
+ margin-top: 20px;
width: 100%;
display: flex;
align-items: center;
--
Gitblit v1.9.3