From 1160de5142cd2bc08ebc61c247a4857f0c4ab7f1 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期五, 22 五月 2026 10:45:11 +0800
Subject: [PATCH] 特色功能:丰富报销清单并添加审批流程详情——新增功能以丰富报销清单行内容,为费用和差旅报销提供审批流程详情。——引入新的实用函数来处理审批流程节点和汇总信息。——更新组件以利用丰富后的审批流程数据,从而更好地展示审批进度。
---
src/layout/components/Sidebar/index.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index da2a7fa..2a58c29 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -77,14 +77,18 @@
color: v-bind(getMenuTextColor);
font-size: 14px;
letter-spacing: 0;
- transition: all 0.28s ease;
+ transition:
+ transform 0.18s ease,
+ background 0.2s ease,
+ box-shadow 0.2s ease,
+ color 0.2s ease;
border: none !important;
display: flex;
align-items: center;
&:hover {
background: linear-gradient(128deg, rgba(var(--el-color-primary-rgb, 37, 99, 235), 0.28), rgba(var(--el-color-primary-rgb, 37, 99, 235), 0.08)) !important;
- transform: translateX(3px);
+ transform: translate3d(2px, 0, 0);
}
}
@@ -93,12 +97,10 @@
&.is-active {
background: var(--menu-active-bg, linear-gradient(135deg, var(--el-color-primary), var(--el-color-primary-light-3))) !important;
- background-size: 180% 180%;
color: var(--menu-active-text) !important;
font-weight: 500;
border-radius: 14px;
box-shadow: var(--menu-active-glow, 0 10px 24px rgba(var(--el-color-primary-rgb, 37, 99, 235), 0.34));
- animation: sidebarActiveFlow 4.6s ease infinite;
.svg-icon {
color: var(--menu-active-text) !important;
@@ -121,7 +123,7 @@
font-size: 14px !important;
color: currentColor !important;
opacity: 0.7;
- transition: all 0.25s ease;
+ transition: transform 0.2s ease, opacity 0.2s ease;
}
:deep(.el-sub-menu.is-opened .el-sub-menu__icon-arrow) {
--
Gitblit v1.9.3