work.wxss
1.22 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/* pages/work/work.wxss */
.tab{
margin-bottom: 20rpx;
width: 100%;
background-color: #fff;
border-bottom: 1rpx solid #e8e8e8;
}
.tab-item{
display: inline-flex;
align-items: center;
flex-direction: column;
width: calc(100% / 3);
padding: 24rpx 0;
}
.active{
border-bottom: 5rpx solid #35dab5;
}
.tabicon{
margin-bottom: 20rpx;
width: 100rpx;
height: 100rpx;
}
.case{
margin: 24rpx;
padding: 24rpx;
background-color: #fff;
border-radius: 15rpx;
position: relative;
}
.title{
margin-bottom: 10rpx;
width: 85%;
line-height: 46rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.level{
position: absolute;
top: 24rpx;
right: 24rpx;
display: flex;
padding: 0 18rpx;
color: #fff;
font-size: 26rpx;
line-height: 46rpx;
align-content: center;
border-radius: 25rpx;
}
.danger{
background-color: #f56c6c;
}
.warning{
background-color: #f0ad4e;
}
.subinfo{
width: 75%;
}
.subinfo view{
margin-top: 10rpx;
color: #9498a4;
font-size: 30rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}
.time{
width: 25%;
color: #b4b4b4;
font-size: 26rpx;
text-align: right;
position: absolute;
right: 24rpx;
bottom: 24rpx;
}