Files
mini-programs/src/components/Range/index.module.scss
2025-08-17 18:36:43 +08:00

82 lines
1.4 KiB
SCSS

// 全局NutUI样式覆盖
.nutRange {
width: 100% !important;
height: 100% !important;
// .nut-range__bar-box {
// margin: 0 !important;
// padding: 0 !important;
// }
// .nut-range__bar {
// margin: 0 !important;
// }
}
.nutRangeHeader {
line-height: 20px;
display: flex;
align-items: center;
justify-content: space-between;
.nutRangeHeaderLeft {
display: flex;
align-items: center;
gap: 8px;
}
.nutRangeHeaderTitle {
font-weight: 600;
font-size: 14px;
color: #000000;
}
.nutRangeHeaderContent {
font-weight: 400;
font-size: 14px;
color: #3c3c34;
}
}
.rangeWrapper {
display: flex;
align-items: center;
justify-content: space-between;
gap: 5px;
height: 44px;
border-radius: 12px;
border: 1px solid #e0e0e0;
padding: 0 10px;
.rangeHandle {
:global(.nut-range-mark) {
padding-top: 28px;
left: 8px;
}
:global(.nut-range-bar) {
background: #000000;
height: 6px;
}
:global(.nut-range-button) {
border: none;
box-shadow: 0 6px 13px 0 rgba(0, 0, 0, 0.12);
}
:global(.nut-range-tick) {
background: #3c3c3c;
height: 4px !important;
width: 4px !important;
}
}
span {
font-size: 12px;
color: #999;
}
.rangeWrapperMin,
.rangeWrapperMax {
flex-shrink: 0;
font-size: 12px;
color: #000000;
}
}