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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
| .cl-timeline {
| &-item {
| display: flex;
| width: 100%;
| position: relative;
|
| &__timestamp {
| font-size: 24rpx;
| margin: 0 20rpx;
| text-align: center;
| }
|
| &__date {
| display: block;
| font-size: 24rpx;
| text-align: right;
| }
|
| &__time {
| display: block;
| font-size: 22rpx;
| text-align: right;
| color: #666;
| }
|
| &__node {
| display: flex;
| justify-content: center;
| position: relative;
| width: 52rpx;
| color: #ccc;
|
| &::after {
| content: "";
| display: block;
| height: calc(100% - 32rpx);
| width: 4rpx;
| background-image: linear-gradient(
| to bottom,
| currentColor 0%,
| currentColor 80%,
| transparent 50%
| );
| background-size: 4rpx 18rpx;
| background-repeat: y-repeat;
| transform: scaleX(1);
| position: absolute;
| top: 32rpx;
| border-radius: 10rpx;
| }
|
| &-box {
| display: flex;
| justify-content: center;
| align-items: center;
| height: 32rpx;
| width: 32rpx;
| }
| }
|
| &__dot {
| display: block;
| height: 16rpx;
| width: 16rpx;
| z-index: 9;
| border-radius: 18rpx;
| }
|
| &__icon {
| font-size: 40rpx;
| z-index: 2;
| position: relative;
| }
|
| &__content {
| font-size: 24rpx;
| flex: 1;
| margin: 0 20rpx;
| position: relative;
| padding-bottom: 60rpx;
| }
|
| &.is-line {
| .cl-timeline-item__node::after {
| display: none;
| }
| }
| }
| }
|
|