2024-12-01 11:56:54 +00:00
|
|
|
@import (reference) './variable.less';
|
2024-11-10 07:01:22 +00:00
|
|
|
|
|
|
|
@collapsePrefix: ant-slider;
|
|
|
|
|
|
|
|
.@{collapsePrefix} {
|
|
|
|
user-select: none;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&-track {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2024-12-01 11:56:54 +00:00
|
|
|
height: 56 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
background-color: @COLOR_CARD;
|
|
|
|
|
|
|
|
&-number {
|
2024-12-01 11:56:54 +00:00
|
|
|
height: 97 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-touch-area {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
left: 28 * @rpx;
|
|
|
|
top: 0 * @rpx;
|
|
|
|
right: 25 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-fill {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
left: 0 * @rpx;
|
|
|
|
top: 25 * @rpx;
|
|
|
|
right: 0 * @rpx;
|
|
|
|
height: 6 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
|
|
|
|
&-background {
|
|
|
|
position: absolute;
|
|
|
|
background-color: @COLOR_GREY_CARD;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2024-12-01 11:56:54 +00:00
|
|
|
border-radius: 3 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-front {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
2024-12-01 11:56:54 +00:00
|
|
|
border-radius: 3 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
background-color: @COLOR_BRAND1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-handler {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
touch-action: none;
|
2024-11-10 07:01:22 +00:00
|
|
|
left: 0;
|
|
|
|
transform: translate(-50%, -50%);
|
2024-12-01 11:56:54 +00:00
|
|
|
top: 3 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
|
|
|
|
&-block {
|
2024-12-01 11:56:54 +00:00
|
|
|
width: 56 * @rpx;
|
|
|
|
height: 56 * @rpx;
|
|
|
|
background: #ffffff;
|
|
|
|
box-shadow: 0 4 * @rpx 10 * @rpx 0 rgba(0, 0, 0, 0.12);
|
|
|
|
border-radius: 56 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
text-align: center;
|
2024-12-01 11:56:54 +00:00
|
|
|
line-height: 56 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
color: @COLOR_BRAND1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-icon-default {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
&-line1 {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
width: 4 * @rpx;
|
|
|
|
height: 16 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
background-color: @COLOR_BRAND1;
|
2024-12-01 11:56:54 +00:00
|
|
|
border-radius: 2 * @rpx;
|
|
|
|
top: 20 * @rpx;
|
|
|
|
left: 16 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-line2 {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
width: 4 * @rpx;
|
|
|
|
height: 24 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
background-color: @COLOR_BRAND1;
|
2024-12-01 11:56:54 +00:00
|
|
|
border-radius: 2 * @rpx;
|
|
|
|
top: 16 * @rpx;
|
|
|
|
right: 26 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-line3 {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
width: 4 * @rpx;
|
|
|
|
height: 16 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
background-color: @COLOR_BRAND1;
|
2024-12-01 11:56:54 +00:00
|
|
|
border-radius: 2 * @rpx;
|
|
|
|
top: 20 * @rpx;
|
|
|
|
right: 16 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-icon-from-props {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 100%;
|
|
|
|
|
|
|
|
&-icon {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-tick {
|
|
|
|
position: absolute;
|
2024-12-01 11:56:54 +00:00
|
|
|
width: 16 * @rpx;
|
|
|
|
height: 16 * @rpx;
|
|
|
|
border-radius: 16 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
top: 3 * @rpx;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
&-front {
|
|
|
|
background-color: @COLOR_BRAND1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-back {
|
|
|
|
background-color: @COLOR_GREY_CARD;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-number {
|
|
|
|
position: absolute;
|
|
|
|
color: @COLOR_TEXT_PRIMARY;
|
2024-12-01 11:56:54 +00:00
|
|
|
font-size: 24 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
transform: translateX(-50%);
|
2024-12-01 11:56:54 +00:00
|
|
|
top: 44 * @rpx;
|
|
|
|
left: 8 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
text-align: center;
|
2024-12-01 11:56:54 +00:00
|
|
|
line-height: 33 * @rpx;
|
|
|
|
height: 33 * @rpx;
|
2024-11-10 07:01:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|