countdown.scss
1.21 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
/* pages/tab/shopMall/pages/discover/components/crowdfunding/components/countdown.wxss */
.flex {
display: flex;
align-items: center;
}
.count-down-box {
width: 235rpx;
height: 32rpx;
border: 1rpx solid #FFC7B8;
border-radius: 3.6rpx;
margin: 0 auto;
margin-top: 10rpx;
box-sizing: border-box;
width: 0;
transition: all 1s;
overflow: hidden;
.icon {
margin-right: 10rpx;
height: 30rpx;
}
.type {
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
background: #FFD6C7;
border: 1rpx solid #FFC7B8;
border-radius: 3.6rpx 0 0 3.6rpx;
font-weight: 600;
font-size: 20rpx;
color: #FA4632;
}
.time {
margin-left: 4rpx;
.text {
min-width: 28rpx;
height: 32rpx;
border-radius: 4rpx;
font-weight: 600;
font-size: 20rpx;
color: #EF1C1B;
transition: all .15s;
padding: 0 4rpx;
}
}
.unit {
margin-left: 4rpx;
font-weight: 400;
font-size: 20rpx;
color: #FA4632;
}
}
.true {
width: 90%;
}