1
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user