From f8b7fbffd0c4936e547614252f6ab929c2f2cc46 Mon Sep 17 00:00:00 2001 From: zhangz Date: Wed, 10 Dec 2025 09:47:22 +0800 Subject: [PATCH] 处理菜单样式; --- src/mes/common/buttonComponent/index.js | 2 +- src/mes/common/buttonComponent/index.less | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/mes/common/buttonComponent/index.js b/src/mes/common/buttonComponent/index.js index 532eca2..8a21b7f 100644 --- a/src/mes/common/buttonComponent/index.js +++ b/src/mes/common/buttonComponent/index.js @@ -207,7 +207,7 @@ const ButtonComponent = props => { return (
16 ? styles.specialBtns1 : ""}`} >
diff --git a/src/mes/common/buttonComponent/index.less b/src/mes/common/buttonComponent/index.less index 4bef40c..5752cc3 100644 --- a/src/mes/common/buttonComponent/index.less +++ b/src/mes/common/buttonComponent/index.less @@ -159,6 +159,31 @@ } } +.specialBtns1 { + .size(100%, calc(@specialBtns-height * 3)); + + :global { + .btns { + border: 1px solid black; + .size(100%, calc(@specialBtns-height * 3)); + } + } + + &.expand { + .size(100%, calc(@specialBtns-height * 3)); + transition: all 0.5s ease-in-out; + + :global { + .btns { + .size(100%, calc(@specialBtns-height * 3)); + opacity: 1; + transition: all 0.5s ease-in-out; + border: none; + } + } + } +} + .workOverTime { .flex(); flex-direction: column; -- libgit2 0.22.2