caixi.wxss
1.02 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
/* components/reserve/caixi.wxss */
@import "../../../app.wxss";
@import "../../../colorui/animation.wxss";
.caixi{
background-color: #fefefe;
position: absolute;
width: calc(100% - 80rpx);
border-radius: 0rpx 0rpx 40rpx 40rpx;
padding: 0rpx 40rpx 30rpx;
color: #666666;
padding-top: 20rpx;
}
.caixi-view{
}
.item{
background-color: #F1F1F1;
width: 150rpx;
height: 70rpx;
overflow: hidden;
white-space:nowrap;
border-radius: 4rpx;
line-height: 70rpx;
font-size: 24rpx;
text-align: center;
margin-bottom: 30rpx;
position: relative;
display: inline-block;
margin-right: calc((100% - 600rpx) / 3);
}
.item:nth-child(4n){
margin-right:0;
}
.item.active{
background: #E6F3FF;
color:#42A5FF;
font-weight: 400;
}
.item .number{
width: 28rpx;
height: 28rpx;
background: linear-gradient(180deg, #FFC140 0%, #FFA000 100%);
border-radius: 0px 0px 10rpx 0px;
position: absolute;
top:0;
left: 0;
height: 28rpx;
font-size: 20rpx;
font-weight: 600;
color: #FFFFFF;
line-height: 28rpx;
}