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 |   82 +++++++++++++++++++++++++++++++---------
 1 files changed, 63 insertions(+), 19 deletions(-)

diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index a5f6843..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 {
@@ -98,19 +99,27 @@
         color: #ffffff;
     }
 
-    .el-checkbox__input.is-checked .el-checkbox__inner {
-        background-color: #023aff !important;
-        border-color: #023aff !important;
-    }
+    .el-checkbox__input {
+        .el-checkbox__inner {
+            width: 16px;
+            height: 16px;
+            background: transparent !important;
+            border-radius: 2px 2px 2px 2px;
+            border: 2px solid #A1A3D4 !important;
+            box-shadow: none;
+            box-sizing: border-box;
+        }
 
-    .el-checkbox__inner {
-        width: 16px;
-        height: 16px;
-        background: transparent !important;
-        border-radius: 2px 2px 2px 2px;
-        border: 2px solid #A1A3D4 !important;
-        box-shadow: none;
-        box-sizing: border-box;
+        &.is-checked {
+            .el-checkbox__inner {
+                border: none !important;
+                background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
+
+                &::after {
+                    content: none !important;
+                }
+            }
+        }
     }
 }
 
@@ -126,6 +135,10 @@
 
     .el-tree-node__expand-icon.is-leaf {
         visibility: hidden;
+    }
+
+    .el-tree-node__expand-icon.expanded {
+        transform: rotate(-180deg);
     }
 }
 
@@ -1126,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;
     }
 
@@ -1169,7 +1184,9 @@
         }
     }
 
-    .fixed-column {
+    .fixed-column,
+    .el-table-fixed-column--left,
+    .el-table-fixed-column--right {
         background-color: #1A1A2A !important;
     }
 }
@@ -1243,6 +1260,10 @@
     }
 }
 
+.placeholder-ele {
+    padding: 12px;
+}
+
 .command-page-view-dialog {
     margin: 0;
     padding: 20px;
@@ -1308,7 +1329,7 @@
                     align-items: center;
 
                     .label {
-                        width: 88px;
+                        min-width: 88px;
                         font-family: Source Han Sans CN, Source Han Sans CN;
                         font-weight: 500;
                         font-size: 14px;
@@ -1371,7 +1392,7 @@
 
             .el-form-item {
                 display: flex;
-                align-items: center;
+                align-items: flex-start;
 
                 .el-form-item__label {
                     display: flex;
@@ -1380,6 +1401,7 @@
                     font-weight: 500;
                     font-size: 14px;
                     color: #D4D5D7;
+                    height: 40px;
                     line-height: 40px;
                     text-align: right;
                     font-style: normal;
@@ -1433,6 +1455,10 @@
                         background: #2E2E48 !important;
                         border: none;
                         box-shadow: none;
+
+                        &.is-disabled {
+                            color: #a8abb2;
+                        }
                     }
 
                     .command-date-picker {
@@ -1623,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;
 
@@ -1753,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;
@@ -1798,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 {
@@ -1926,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;
@@ -1965,6 +2008,7 @@
                 }
 
                 .footer {
+                    margin-top: 20px;
                     width: 100%;
                     display: flex;
                     align-items: center;

--
Gitblit v1.9.3