1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
| .cl-steps {
| padding: 20rpx 0;
| box-sizing: border-box;
|
| &::after,
| &::before {
| content: "";
| display: table;
| }
|
| &::after {
| clear: both;
| }
| }
|
| .cl-step {
| width: 25%;
| float: left;
| box-sizing: border-box;
| position: relative;
|
| &:not(.is-last)::after {
| content: "";
| display: block;
| height: 6rpx;
| width: calc(100% - 36rpx);
| position: absolute;
| top: calc(50% - 3rpx);
| left: calc(50% + 18rpx);
| background-color: #dfdfdf;
| border-radius: 6rpx;
| }
|
| &__title {
| font-size: 24rpx;
| }
|
| &__value {
| display: inline-block;
| height: 20rpx;
| width: 20rpx;
| border-radius: 50rpx;
| background-color: #dfdfdf;
| margin: 20rpx 0;
| justify-content: space-between;
| }
|
| &__description {
| font-size: 24rpx;
| }
|
| &.is-active {
| .cl-step__value {
| background-color: $uni-color-primary;
| }
|
| &:after {
| background-color: $uni-color-primary;
| }
| }
| }
|
|