From 147577fe24a77c5aa4a98cb95c7ea3648d064821 Mon Sep 17 00:00:00 2001
From: tuqin <tuqin@tuqin.cn>
Date: 星期一, 02 十一月 2026 10:17:44 +0800
Subject: [PATCH] fix(bpm): 发起流程左侧分类菜单超出范围,改为可滚动
---
src/views/bpm/processInstance/create/index.vue | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/src/views/bpm/processInstance/create/index.vue b/src/views/bpm/processInstance/create/index.vue
index 638fed5..8493aa3 100644
--- a/src/views/bpm/processInstance/create/index.vue
+++ b/src/views/bpm/processInstance/create/index.vue
@@ -301,4 +301,51 @@
.animate-bounce-once {
animation: bounce 0.5s ease;
}
+
+/**
+ * 娴佺▼鍒嗙被杈冨鏃讹紝宸︿晶鍒嗙被椤电浼氳秴鍑哄崱鐗囬珮搴︺��
+ * 杩欓噷闄愬埗宸︿晶瀵艰埅鐨勫彲瑙嗛珮搴﹀苟鍏佽绾靛悜婊氬姩锛屼繚璇佹墍鏈夊垎绫婚兘鑳界湅鍒般��
+ */
+.process-definition-container {
+ :deep(.ant-tabs) {
+ height: 100%;
+ }
+
+ :deep(.ant-tabs-left > .ant-tabs-nav) {
+ max-height: 100%;
+ margin-bottom: 0;
+ }
+
+ // 宸︿晶椤电鍒楄〃锛氶檺鍒堕珮搴� + 绾靛悜婊氬姩
+ :deep(.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap) {
+ max-height: calc(100vh - 340px);
+ overflow-x: hidden;
+ overflow-y: auto;
+ // 婊氬姩鏃朵笉瑕佸垏鏂〉绛剧殑閫変腑鎬佹寚绀烘潯
+ padding-right: 2px;
+
+ &::-webkit-scrollbar {
+ width: 6px;
+ }
+
+ &::-webkit-scrollbar-thumb {
+ background-color: rgb(0 0 0 / 18%);
+ border-radius: 3px;
+ }
+
+ &::-webkit-scrollbar-thumb:hover {
+ background-color: rgb(0 0 0 / 30%);
+ }
+
+ &::-webkit-scrollbar-track {
+ background-color: transparent;
+ }
+ }
+
+ // 鍙充晶鍐呭鍖洪珮搴﹁嚜閫傚簲
+ :deep(.ant-tabs-left > .ant-tabs-content-holder) {
+ max-height: calc(100vh - 340px);
+ overflow-y: auto;
+ }
+}
</style>
--
Gitblit v1.9.3