head-counter.wxss
978 Bytes
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
/* page/subPackage/pages/zeroSell/components/head-counter.wxss */
.head-counter {
margin-bottom: 60rpx;
text-align: center;
}
.title {
margin-bottom: 20rpx;
}
.txt {
display: inline-block;
width: 90rpx;
height: 72rpx;
font-size: 28rpx;
line-height: 72rpx;
vertical-align: top;
}
.num-wrapper {
display: inline-block;
position: relative;
width: 56rpx;
height: 72rpx;
font-size: 56rpx;
line-height: 72rpx;
background: black;
color: white;
font-weight: bolder;
}
.num-wrapper + .num-wrapper {
margin-left: 10rpx;
}
.mask {
position: absolute;
width: 100%;
height: 50%;
top: 0;
left: 0;
opacity: 0.4;
background-color: black;
}
.text {
font-family: PingFang-SC-Medium;
font-size: 28rpx;
color: #FFFFFF;
letter-spacing: -0.36rpx;
text-align: center;
display: inline-block;
margin-top: 15rpx;
}
.container {
width: 600rpx;
height: 64rpx;
background-color: #222;
text-align: center;
margin: 0 auto;
}