steps.sass
1.42 KB
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
62
63
64
65
66
67
68
69
/* packageUsedCar/pages/deliveryNote/components/steps/steps.wxss */
.steps-box {
padding: 20rpx 0 24rpx 0;
margin-bottom: 8rpx;
display: flex;
justify-content: center;
.step-item {
color: #999;
font-size: 28rpx;
font-weight: 500;
height: 56rpx;
display: flex;
align-items: center;
.serial-num {
flex-shrink: 0;
width: 56rpx;
height: 56rpx;
border-radius: 50%;
box-sizing: border-box;
margin-right: 12rpx;
position: relative;
border: 4rpx solid #b1b1b1;
display: flex;
justify-content: center;
align-items: center;
.num {
flex-shrink: 0;
width: 100%;
height: 100%;
border: 3rpx solid #fff;
background: #b1b1b1;
color: #fff;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
font-weight: 700;
}
}
.line {
width: 32rpx;
border-top: 2rpx dashed #d6d6d6;
border-bottom: 2rpx dashed #d6d6d6;
margin: 0 16rpx;
height: 0;
}
&.active-item {
color: #347BFF;
.serial-num {
border-color: #347BFF;
box-shadow: 4rpx 4rpx 4rpx #d7e3ff;
.num {
background: #347BFF;
}
}
.line {
border-color: #347BFF;
}
}
}
}
/* flex 工具类 */
.flex {
display: flex;
align-items: center;
}