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/task-work-order/src/styles/common/cockpit.scss |  557 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 504 insertions(+), 53 deletions(-)

diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index c0ba466..f7c7fb8 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -4,7 +4,14 @@
 $form-bg-gray: #DDE2ED;
 $form-tips-gray: #A1A3D4;
 
-.gd-input {
+$search-item-icon-color: #383874;
+$search-item-symbol-color: #383874;
+
+$search-item-symbol-bg: #fff;
+$search-item-symbol-txt: #4E5969;
+
+.gd-input,
+.gd-input-text {
   --bg: #{$form-bg};
   --tips: #{$form-tips};
 
@@ -13,15 +20,20 @@
     --tips: #{$form-tips-gray};
   }
 
-  .el-input__wrapper, .el-textarea__inner {
+  .el-input__wrapper,
+  .el-textarea__inner {
     box-shadow: none !important;
     background: var(--bg);
     border: none;
   }
-  .el-input__inner, .el-textarea__inner {
+
+  .el-input__inner,
+  .el-textarea__inner {
     &::placeholder {
       color: var(--tips);
     }
+
+    color: #383874;
   }
 
   &.is-disabled {
@@ -31,7 +43,7 @@
   }
 }
 
-.gd-button-main{
+.gd-button-main {
   --el-button-bg-color: #4C34FF;
   --el-button-text-color: #ffffff;
   --el-button-border-color: #4C34FF;
@@ -43,7 +55,13 @@
   color: #ffffff;
 }
 
-.gd-select, {
+.gd-select,.gd-input,.gd-input-text,.gd-date-picker,.gd-cascader{
+  .is-disabled{
+    opacity: 0.6;
+  }
+}
+.gd-select,
+.gd-cascader {
   --bg: #{$form-bg};
   --tips: #{$form-tips};
 
@@ -52,11 +70,20 @@
     --tips: #{$form-tips-gray};
   }
 
-  .el-select__wrapper {
+  .el-select__wrapper,
+  .el-input__wrapper {
     padding: 0 8px;
     background: var(--bg);
     box-shadow: none !important;
     border: none;
+    min-height: 36px; // 确保最小高度一致
+
+    .el-select__suffix,
+    .el-input__suffix {
+      .el-icon {
+        color: $search-item-icon-color;
+      }
+    }
   }
 
   .el-select__placeholder {
@@ -68,6 +95,17 @@
       color: #383874;
     }
   }
+
+  .el-input__inner {
+    height: 100%; // 让内部 input 撑满
+    line-height: 36px;
+    height: 36px !important;
+    &::placeholder {
+      color: var(--tips);
+    }
+
+    color: #383874;
+  }
 }
 
 .gd-date-picker {
@@ -77,6 +115,14 @@
   &.gray {
     --bg: #{$form-bg-gray};
     --tips: #{$form-tips-gray};
+  }
+
+  .el-icon {
+    color: $search-item-icon-color;
+  }
+
+  .el-range-separator {
+    color: $search-item-symbol-color !important;
   }
 
   box-shadow: none !important;
@@ -98,6 +144,8 @@
     &::placeholder {
       color: var(--tips);
     }
+
+    color: #383874;
   }
 
   .el-range-separator {
@@ -126,7 +174,7 @@
       background: none !important;
     }
 
-    .el-tree-node.is-current > .el-tree-node__content {
+    .el-tree-node.is-current>.el-tree-node__content {
       color: #479dff !important;
     }
   }
@@ -184,26 +232,26 @@
 }
 
 .gd-date-picker-popper {
-  background: #DDE2ED !important;
+  background: #fff !important;
   border: none !important;
   border-radius: 0px 0px 8px 8px;
 
   .el-date-picker__prev-btn,
   .el-date-picker__next-btn {
     .el-icon {
-      color: #fff !important;
+      color: #4E5969 !important;
     }
   }
 
   .el-date-picker__header-label {
-    color: #fff !important;
+    color: #4E5969 !important;
   }
 
   .el-picker-panel {
     .el-picker-panel__body-wrapper {
       .el-picker-panel__body {
-        background: #DDE2ED !important;
-        color: #fff !important;
+        background: #fff !important;
+        color: #4E5969 !important;
 
         .el-date-range-picker__time-header {
           .el-input__wrapper {
@@ -271,7 +319,7 @@
         .el-picker-panel__content {
           .el-date-range-picker__header {
             .el-picker-panel__icon-btn {
-              color: #fff !important;
+              color: #4E5969 !important;
 
               &:hover {
                 color: var(--el-color-primary) !important;
@@ -284,9 +332,9 @@
               }
             }
 
-            & > div {
+            &>div {
               span {
-                color: #fff !important;
+                color: #4E5969 !important;
               }
             }
           }
@@ -311,14 +359,15 @@
             td.start-date span,
             td.start-date span,
             td.end-date span {
-              background-color: #DDE2ED !important;
+              color: #fff !important;
+              background-color: #354DFF !important;
             }
 
             td.in-range div,
             td.in-range div:hover,
             &.is-week-mode .el-date-table__row.current div,
             &.is-week-mode .el-date-table__row:hover div {
-              background-color: rgba(60, 121, 202) !important;
+              background-color: rgba(71, 126, 255, .1) !important;
             }
           }
         }
@@ -392,12 +441,14 @@
 
 .el-overlay-dialog {
   display: flex;
-  justify-content: center; /* 水平居中 */
-  align-items: center; /* 垂直居中 */
+  justify-content: center;
+  /* 水平居中 */
+  align-items: center;
+  /* 垂直居中 */
 }
 
 .gd-dialog {
-  padding: 30px;
+  padding: 20px;
   display: flex;
   flex-direction: column;
   background: #FFFFFF;
@@ -406,6 +457,9 @@
   max-height: 90vh;
 
   .el-dialog__header {
+    padding-bottom: 20px;
+    position: relative;
+
     span {
       font-family: Source Han Sans CN, Source Han Sans CN;
       font-weight: bold;
@@ -415,6 +469,13 @@
       text-align: left;
       font-style: normal;
       text-transform: none;
+    }
+
+    &>button {
+      width: auto;
+      height: auto;
+      display: flex;
+      align-items: center;
     }
 
     .el-icon {
@@ -434,6 +495,39 @@
       color: #161B2C;
     }
 
+
+    .detail-container {
+      display: flex;
+      justify-content: space-between;
+      max-height: 680px;
+
+      .detail-left {
+        margin-right: 20px;
+        width: 312px;
+        padding: 24px;
+        border: 1px solid #E4E4E4;
+      }
+
+      .detail-right {
+        width: 920px;
+        flex: 1;
+        overflow: auto;
+        display: flex;
+        flex-direction: column;
+
+        .view-container {
+          display: flex;
+          flex-direction: column;
+        }
+
+        .gd-cesium {
+          width: 100%;
+          min-height: 380px;
+          flex: 1;
+        }
+      }
+    }
+
     // 查看
     .detail-row-view {
       background: #F2F3F5;
@@ -448,7 +542,8 @@
 
         .label {
           display: inline-block;
-          width: 88px;
+          min-width: 88px;
+          flex-shrink: 0;
           font-family: Source Han Sans CN, Source Han Sans CN;
           font-weight: 500;
           font-size: 14px;
@@ -461,6 +556,8 @@
 
         .val {
           margin-left: 12px;
+          flex: 1;
+          overflow: hidden;
           font-family: Source Han Sans CN, Source Han Sans CN;
           font-weight: 400;
           font-size: 14px;
@@ -469,6 +566,13 @@
           text-align: left;
           font-style: normal;
           text-transform: none;
+        }
+
+        .val-long {
+          overflow: hidden;
+          text-overflow: ellipsis;
+          white-space: nowrap;
+          cursor: pointer;
         }
       }
     }
@@ -495,15 +599,14 @@
   flex: 1;
   background: transparent !important;
 
-  .el-table--border .el-table__inner-wrapper:after,
-  .el-table--border:after,
-  .el-table--border:before,
-  .el-table__inner-wrapper:before {
-    height: 0;
-  }
-
   tr {
     background: transparent !important;
+  }
+
+  tr.el-table__row {
+    &:hover {
+      background: #F7F8FC !important;
+    }
   }
 
   th.el-table__cell {
@@ -541,23 +644,81 @@
   td.operation-btns .cell {
     display: flex;
     flex-wrap: nowrap;
-    gap: 12px;
     /* 按钮间距(推荐) */
     white-space: nowrap;
     /* 双保险 */
 
     a {
+      display: flex;
+      align-items: center;
+      position: relative;
+      margin: 0 10px;
       min-width: 28px;
+
+      span {
+        color: #0075FF;
+      }
+
+      &:first-child {
+        margin-left: 0;
+      }
+
+      &::before {
+        content: '';
+        position: absolute;
+        top: 50%;
+        right: -10px;
+        width: 1px;
+        height: 12px;
+        background: #BCC8E3;
+        transform: translateY(calc(-50% - 1px));
+      }
 
       &:last-child {
         margin-right: 0;
+
+        &::before {
+          display: none;
+        }
       }
     }
   }
 
   th.el-table__cell:not(.fixed-column),
   td.el-table__cell:not(.fixed-column) {
-    background: transparent !important;
+    // background: transparent !important;
+    background: white !important;
+  }
+
+  .el-checkbox {
+    width: 16px;
+    height: 16px;
+
+    .el-checkbox__input {
+      width: 16px;
+      height: 16px;
+
+      .el-checkbox__inner {
+        width: 16px;
+        height: 16px;
+
+        border: none;
+        background: url("@/assets/images/common/n-checkbox.png") no-repeat center / 100% 100% !important;
+      }
+    }
+
+    &.is-checked {
+      .el-checkbox__input {
+        .el-checkbox__inner {
+          border: none;
+          background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
+
+          &::after {
+            content: none;
+          }
+        }
+      }
+    }
   }
 
   .fixed-column {
@@ -565,8 +726,22 @@
   }
 }
 
+.el-table {
+
+  .el-table--border .el-table__inner-wrapper:after,
+  .el-table--border:after,
+  .el-table--border:before,
+  .el-table__inner-wrapper:before {
+    height: 0;
+  }
+
+  td.el-table__cell {
+    border: none !important;
+  }
+}
+
 .gd-pagination-parent {
-  padding-top: 30px;
+  margin: 16px 0;
   display: flex;
   justify-content: flex-end;
 
@@ -634,16 +809,16 @@
 }
 
 .gd-confirm-custom {
-  background: #1A1A2A;
+  background: #fff;
   border-radius: 6px;
-  border: 1px solid #2E2E46;
+  border: none;
 
   .el-message-box__header {
     .el-message-box__title {
       font-family: Source Han Sans CN, Source Han Sans CN;
       font-weight: bold;
       font-size: 18px;
-      color: #FFFFFF;
+      color: #383874;
       line-height: 22px;
       text-align: left;
       font-style: normal;
@@ -652,10 +827,16 @@
   }
 
   .el-message-box__content {
-    color: #D4D5D7;
+    color: #4E5969;
+  }
+
+  .el-message-box__container {
+    display: flex;
+    justify-content: center;
   }
 
   .el-message-box__btns {
+    padding-top: 10px;
     display: flex;
     justify-content: center;
 
@@ -672,18 +853,19 @@
 }
 
 .gd-confirm-button {
-  background: #284FE3 !important;
-  border-color: #284FE3 !important;
+  background: #4C34FF !important;
+  border: none !important;
+  color: #fff !important;
 }
 
 .gd-confirm-cancel-button {
-  background: #2B2B4C !important;
-  border-color: #2B2B4C !important;
-  color: #FFFFFF !important;
+  background: #F2F3F5 !important;
+  border: none !important;
+  color: #161B2C !important;
 }
 
 .gd-search-form {
-  padding-bottom: 20px;
+  padding-bottom: 15px;
   display: flex;
 
   .el-form-item__label {
@@ -699,8 +881,10 @@
     line-height: 36px;
   }
 
-  .gd-select {
-    .el-select__wrapper {
+  .gd-select,
+  .gd-cascader {
+    .el-select__wrapper,
+    .el-input__wrapper {
       width: 200px;
       height: 36px;
     }
@@ -762,7 +946,7 @@
 }
 
 .gd-table-container {
-  padding: 12px 20px 30px 20px;
+  padding: 25px 20px 1px;
   height: 0;
   flex: 1;
   display: flex;
@@ -783,12 +967,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;
   }
@@ -796,22 +992,24 @@
 
 .gd-select-popper {
   border: none;
-  background: $form-bg !important;
+  background: $search-item-symbol-bg !important;
 
   .el-select-dropdown {
     .el-scrollbar {
       .el-select-dropdown__wrap {
         .el-select-dropdown__list {
           .el-select-dropdown__item {
-            color: #4E5969;
+            color: $search-item-symbol-txt;
 
             &.hover {
-              background-color: rgba(0, 120, 233, 0.63) !important;
+              // background-color: rgba(0, 120, 233, 0.63) !important;
               color: #383874;
             }
 
-            &.selected {
-              color: #8ac3fd !important;
+            &.selected,
+            &.is-selected {
+              // color: #8ac3fd !important;
+              color: #383874;
               font-weight: 700;
             }
           }
@@ -820,14 +1018,55 @@
     }
 
     .el-select-dropdown__empty {
-      background: $form-bg;
+      background: $search-item-symbol-bg;
       border-radius: 0px 0px 8px 8px;
     }
   }
 
   .el-popper__arrow::before {
-    background: $form-bg !important;
-    border: 1px solid #F2F3F5 !important;
+    background: $search-item-symbol-bg !important;
+    border: 1px solid $search-item-symbol-bg !important;
+  }
+}
+
+.gd-cascader-popper {
+  border: none;
+  background: $search-item-symbol-bg !important;
+
+  .el-cascader-panel {
+    background: transparent !important;
+  }
+
+  .el-cascader-menu {
+    background: transparent !important;
+    border-right: 1px solid #DDE2ED !important;
+    color: $search-item-symbol-txt;
+
+    &:last-child {
+      border-right: none !important;
+    }
+
+    .el-cascader-node {
+      color: $search-item-symbol-txt;
+
+      &.is-selectable.in-active-path,
+      &.in-active-path,
+      &:hover {
+        // background-color: rgba(0, 120, 233, 0.63) !important;
+        color: #383874;
+      }
+
+      &.is-active {
+        color: #383874;
+        // color: #8ac3fd !important;
+        font-weight: 700;
+      }
+    }
+  }
+
+  .el-popper__arrow::before {
+    background: $search-item-symbol-bg !important;
+    border: 1px solid $search-item-symbol-bg !important;
   }
 }
 
@@ -872,3 +1111,215 @@
     }
   }
 }
+
+.gd-dialog-table {
+  background: transparent !important;
+
+  tr {
+    background: transparent !important;
+  }
+
+  tr.el-table__row {
+    &:hover {
+      background: #F7F8FC !important;
+    }
+  }
+
+  th.el-table__cell {
+    height: 40px;
+    border-bottom: 1px solid #E5E6EB !important;
+
+    .cell {
+      padding: 0 0 0 16px;
+      font-family: Source Han Sans CN, Source Han Sans CN;
+      font-weight: 400;
+      font-size: 14px;
+      color: #86909C;
+      text-align: left;
+      font-style: normal;
+      text-transform: none;
+    }
+  }
+
+  td.el-table__cell {
+    padding: 9px 0;
+    height: 56px;
+
+    .cell {
+      padding: 0 0 0 16px;
+      font-family: Source Han Sans CN, Source Han Sans CN;
+      font-weight: 400;
+      font-size: 14px;
+      color: #4E5969;
+      text-align: left;
+      font-style: normal;
+      text-transform: none;
+    }
+  }
+
+  td.operation-btns .cell {
+    display: flex;
+    flex-wrap: nowrap;
+    /* 按钮间距(推荐) */
+    white-space: nowrap;
+    /* 双保险 */
+
+    a {
+      display: flex;
+      align-items: center;
+      position: relative;
+      margin: 0 10px;
+      min-width: 28px;
+
+      span {
+        color: #0075FF;
+      }
+
+      &:first-child {
+        margin-left: 0;
+      }
+
+      &::before {
+        content: '';
+        position: absolute;
+        top: 50%;
+        right: -10px;
+        width: 1px;
+        height: 12px;
+        background: #BCC8E3;
+        transform: translateY(calc(-50% - 1px));
+      }
+
+      &:last-child {
+        margin-right: 0;
+
+        &::before {
+          display: none;
+        }
+      }
+    }
+  }
+
+  th.el-table__cell:not(.fixed-column),
+  td.el-table__cell:not(.fixed-column) {
+    background: transparent !important;
+  }
+
+  .el-checkbox {
+    width: 16px;
+    height: 16px;
+
+    .el-checkbox__input {
+      width: 16px;
+      height: 16px;
+
+      .el-checkbox__inner {
+        width: 16px;
+        height: 16px;
+
+        border: none;
+        background: url("@/assets/images/common/n-checkbox.png") no-repeat center / 100% 100% !important;
+      }
+    }
+
+    &.is-checked {
+      .el-checkbox__input {
+        .el-checkbox__inner {
+          border: none;
+          background: url("@/assets/images/common/checkbox.png") no-repeat center / 100% 100% !important;
+
+          &::after {
+            content: none;
+          }
+        }
+      }
+    }
+  }
+
+  .fixed-column {
+    background-color: #1A1A2A !important;
+  }
+}
+
+.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: #F6F6FC !important;
+        border-radius: 8px 8px 8px 8px;
+
+        span {
+          color: #384CFF;
+        }
+      }
+    }
+  }
+}
+
+.gd-dialog-form {
+  .gd-select,
+  .gd-cascader {
+    .el-select__wrapper,
+    .el-input__wrapper {
+      height: 36px;
+    }
+  }
+
+  .gd-date-picker {
+    height: 36px;
+  }
+  .gd-input {
+    height: 36px;
+  }
+  .gd-upload-btn {
+    height: 36px;
+  }
+  .el-input,
+  .el-input-number,
+  .el-cascader,
+  .el-select {
+    min-width: 200px;
+    flex: 1;
+    width: 100%; // 确保占满容器
+
+    .el-input__wrapper,
+    .el-select__wrapper {
+      padding: 0 8px;
+    }
+
+    .el-input__inner {
+      text-align: left;
+      color: #383874;
+
+      &::placeholder {
+        text-align: left;
+      }
+    }
+  }
+}

--
Gitblit v1.9.3