From 19a8a9601842a42c026c5f74f540221ec3f72d69 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 16 Jan 2026 17:02:47 +0800
Subject: [PATCH] feat:任务工单管理子系统页面结构样式调整
---
applications/task-work-order/src/styles/sidebar.scss | 75 +++++++++++++++++++++++++++++--------
1 files changed, 59 insertions(+), 16 deletions(-)
diff --git a/applications/task-work-order/src/styles/sidebar.scss b/applications/task-work-order/src/styles/sidebar.scss
index 61854ca..6bad1c5 100644
--- a/applications/task-work-order/src/styles/sidebar.scss
+++ b/applications/task-work-order/src/styles/sidebar.scss
@@ -1,6 +1,5 @@
-
.avue-sidebar {
- width: $sidebar_width;
+ width: 179px;
height: 100%;
user-select: none;
position: relative;
@@ -11,12 +10,13 @@
box-sizing: border-box;
box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
+
.el-scrollbar__wrap {
overflow-x: hidden;
}
.avue-menu {
- height: calc(100% - #{$top_height});
+ height: calc(100% - 42px);
}
&--tip {
@@ -36,40 +36,83 @@
background-color: rgba(0, 0, 0, .4);
}
- .el-menu-item, .el-sub-menu__title {
+ .el-menu-item {
+ }
+
+ .el-sub-menu {
+ .el-sub-menu__title {
+ }
+
+ .el-menu-item {
+ }
+
+ &.is-active {
+
+ .el-sub-menu__title {
+ i,
+ span {
+ color: #384CFF !important;
+ }
+
+ span {
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 14px;
+ line-height: 56px;
+ font-style: normal;
+ text-transform: none;
+ }
+ }
+ }
+ }
+
+ .el-menu-item,
+ .el-sub-menu__title {
i {
margin-right: 5px;
}
- i, span {
+ i,
+ span {
color: hsla(0, 0%, 100%, .7);
}
&:hover {
background: transparent;
- i, span {
- color: #fff;
+ i,
+ span {
+ color: #384CFF;
}
}
&.is-active {
+ background-color: transparent !important;
+
&:before {
content: '';
- top: 0;
+ top: 10px;
left: 0;
- bottom: 0;
- width: 4px;
- background: var(--el-color-primary);
+ bottom: 10px;
+ width: 3px;
+ background: #384CFF;
position: absolute;
+ border-radius: 0 6px 6px 0;
}
- background-color: rgba(0, 0, 0, .8);
+ i,
+ span {
+ color: #384CFF !important;
+ }
- i, span {
- color: #fff;
+ span {
+ font-family: Source Han Sans CN, Source Han Sans CN;
+ font-weight: 500;
+ font-size: 14px;
+ line-height: 56px;
+ font-style: normal;
+ text-transform: none;
}
}
}
-
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3