72 lines
945 B
Plaintext
72 lines
945 B
Plaintext
.table-box {
|
|
border-left: 1rpx solid #ddd;
|
|
border-right: 1rpx solid #ddd;
|
|
border-bottom: 1rpx solid #ddd;
|
|
overflow: auto;
|
|
}
|
|
|
|
.table {
|
|
display: table;
|
|
table-layout: fixed;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.table-column-group {
|
|
display: table-column-group;
|
|
}
|
|
|
|
.col {
|
|
display: table-column;
|
|
}
|
|
|
|
.thead {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.tr {
|
|
display: table-row;
|
|
}
|
|
|
|
.th {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.th,
|
|
.td {
|
|
display: table-cell;
|
|
border-bottom: 1rpx solid #ddd;
|
|
padding: 8rpx;
|
|
border-right: 1rpx solid #ddd;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.tr .th {
|
|
border-top: 1rpx solid #ddd;
|
|
}
|
|
|
|
.tr .th:last-child,
|
|
.tr .td:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.table-sticky {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.table-content .tr:last-child .td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.empty-data {
|
|
text-align: center;
|
|
margin-top: -66rpx;
|
|
line-height: 60rpx;
|
|
color: #999;
|
|
}
|