From d04ecbb2aa47d93e05d28bb551e7bad83d97d60f Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 03 Jun 2026 18:38:55 +0800
Subject: [PATCH] feat: 类型多选改造

---
 applications/task-work-order/src/styles/common/cockpit.scss |   71 ++++++++++++++++++++++++-----------
 1 files changed, 48 insertions(+), 23 deletions(-)

diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index 855c465..fa358fb 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -10,7 +10,8 @@
 $search-item-symbol-bg: #fff;
 $search-item-symbol-txt: #4E5969;
 
-.gd-input {
+.gd-input,
+.gd-input-text {
   --bg: #{$form-bg};
   --tips: #{$form-tips};
 
@@ -54,6 +55,11 @@
   color: #ffffff;
 }
 
+.gd-select,.gd-input,.gd-input-text,.gd-date-picker{
+  .is-disabled{
+    opacity: 0.6;
+  }
+}
 .gd-select {
   --bg: #{$form-bg};
   --tips: #{$form-tips};
@@ -720,7 +726,7 @@
 }
 
 .gd-pagination-parent {
-  padding-top: 30px;
+  margin: 16px 0;
   display: flex;
   justify-content: flex-end;
 
@@ -844,7 +850,7 @@
 }
 
 .gd-search-form {
-  padding-bottom: 20px;
+  padding-bottom: 15px;
   display: flex;
 
   .el-form-item__label {
@@ -923,7 +929,7 @@
 }
 
 .gd-table-container {
-  padding: 12px 20px 30px 20px;
+  padding: 25px 20px 1px;
   height: 0;
   flex: 1;
   display: flex;
@@ -944,12 +950,24 @@
   padding-bottom: 20px;
 
   .el-button {
-    min-width: 88px;
+    padding: 4px 16px;
+    color: #383874;
     border: none;
+    height: 32px;
+  }
+
+  .el-button:first-child {
+    color: #FFFFFF;
   }
 
   .el-button.is-disabled,
   .el-button.is-disabled:hover {
+    background: #ECECF4;
+    border: none;
+  }
+
+  .el-button:first-child.is-disabled,
+  .el-button:first-child.is-disabled:hover {
     background: #4C34FF;
     border: none;
   }
@@ -1165,16 +1183,39 @@
 
 .el-popper {
   .el-menu--popup-container {
+    .el-menu--popup {
+      min-width: auto !important;
+    }
+
     .el-menu {
+      .el-menu-item {
+        margin: 0 12px !important;
+        margin-top: 14px !important;
+        padding: 0 12px !important;
+        display: flex;
+        justify-content: center;
+        height: 36px;
+        background: transparent !important;
+
+        .el-icon-menu {
+          display: none;
+        }
+
+        &:first-child {
+          margin-top: 0 !important;
+        }
+      }
+
       .el-menu-item.is-active {
         &::before {
           display: none;
         }
 
-        background: #4C34FF;
+        background: #F6F6FC !important;
+        border-radius: 8px 8px 8px 8px;
 
         span {
-          color: #fff;
+          color: #384CFF;
         }
       }
     }
@@ -1182,22 +1223,6 @@
 }
 
 .gd-dialog-form {
-  // 最后一排不需要设置 margin-bottom
-  // border: 1px solid red;
-  // 倒数第二个也设置为0
-  // .el-col:nth-last-child(2) {
-  //   margin-bottom: 0;
-  // }
-  // .el-col:nth-last-child(1) {
-  //   margin-bottom: 0;
-  // }
-
-  // .el-form-item:nth-last-child(2) {
-  //   margin-bottom: 0;
-  // }
-  //  .el-form-item:nth-last-child(1) {
-  //   margin-bottom: 0;
-  // }
   .gd-select {
     .el-select__wrapper {
       height: 36px;

--
Gitblit v1.9.3