From 52327b7ccc46f09d9c71103ab7558bb2d0378fc0 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 26 Jan 2026 16:19:38 +0800
Subject: [PATCH] feat:全局样式调整
---
applications/task-work-order/src/styles/common/cockpit.scss | 131 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 130 insertions(+), 1 deletions(-)
diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index 8b20c32..31714b1 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -40,7 +40,7 @@
}
}
-.gd-button-main{
+.gd-button-main {
--el-button-bg-color: #4C34FF;
--el-button-text-color: #ffffff;
--el-button-border-color: #4C34FF;
@@ -998,4 +998,133 @@
background: #3247E5;
}
}
+}
+
+.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 #DBDFF1 !important;
+
+ .cell {
+ padding: 0 0 0 16px;
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 400;
+ font-size: 14px;
+ color: #9292C1;
+ 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: #383874;
+ 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;
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3