test.wxss
1.82 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
87
88
page{
font-size: var(--fontSize26);
line-height: var(--fontSize60);
color: #222;
height: 100%;
width: 100%;
}
.table{
display: block;
position: relative;
overflow: scroll;
width: 100%;
height: 100%;
}
.sticky-box{
}
.table__head{
height: var(--fontSize96);
white-space: nowrap;
position: sticky;
top: 0;
z-index: 1;
height: var(--fontSize88);
font-size: var(--fontSize24);
line-height: var(--fontSize88);
color: #aaabbd;
background-color: #f8f8f8;
border-bottom: var(--fontSize2) solid #ecf1f8;
background-color: #fff;
white-space: nowrap;
display: flex;
}
.table__head__td{
width: var(--fontSize200);
display: flex;
justify-content: flex-start;
align-items: center;
background-color: #fff;
box-sizing: border-box;
position: relative;
overflow: hidden;
white-space: nowrap;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.table__head__td:nth-child(1) {
padding-left: var(--fontSize24);
width: var(--fontSize260);
margin-right: var(--fontSize40);
position: sticky;
z-index: 2;
left: 0;
}
.table__head__td__text{
display: inline;
}
.table__row{
position: relative;
height: var(--fontSize96);
white-space: nowrap;
display: flex;
justify-content: flex-start;
align-items: center;
border-bottom: var(--fontSize2) solid #ecf1f8;
}
.table__row__td{
overflow: scroll;
white-space: nowrap;
width: var(--fontSize200);
display: inline-block;
background-color: #fff;
box-sizing: border-box;
font-size: var(--fontSize26);
line-height: var(--fontSize96);
position: relative;
overflow: hidden;
white-space: nowrap;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.table__row__td:nth-child(1) {
margin-right: var(--fontSize40);
padding-left: var(--fontSize24);
width: var(--fontSize260);
position: sticky;
z-index: 3;
left: 0;
}