This commit is contained in:
张成
2025-11-10 16:34:14 +08:00
parent e7b8aab80c
commit 022aecc93d
5 changed files with 80 additions and 31 deletions

View File

@@ -5,7 +5,7 @@
.nut-menu-bar {
--nutui-menu-bar-line-height: 30px;
background-color: #fafafa;
background-color: #fafafa !important; // 明确设置背景色,避免组件默认样式覆盖
box-shadow: unset;
// padding: 0 15px;
gap: 5px;
@@ -22,11 +22,13 @@
align-items: center;
gap: 2px;
border-radius: 999px;
// border: 0.5px solid rgba(0, 0, 0, 0.06);
border: 0.5px solid rgba(0, 0, 0, 0.06); // 根据设计稿添加边框
background: #ffffff;
font-family: "PingFang SC"; // 根据设计稿设置字体
font-size: 14px;
font-weight: 600;
line-height: 20px;
line-height: 20px; // 1.4285714285714286em ≈ 20px
letter-spacing: -0.23px; // -1.6428571726594652% of 14px
}
.nut-menu-title.active {