效果图
html + css
<style>
.red {
color: red;
}
.tab-title {
width: 100%;
height: 40px;
padding-bottom: 8px;
display: flex;
}
.tckc {
background-color: #4CAF50;
}
.tab-title span {
line-height: 40px;
width: 49%;
text-align: center;
font-size: 18PX;
font-weight: bold;
color: #fff;
}
.kecheng-tc {
position: relative;
left: 50%;
transform: translateX(-50%);
}
.pagination {
display: inline-block;
position: relative;
left: 50%;
transform: translateX(-50%);
margin: 20px auto;
}
.pagination a {
color: black;
float: left;
padding: 8px 16px;
text-decoration: none;
}
.pagination a.active {
background-color: #4CAF50;
color: white;
border-radius: 5px;
}
.pagination a:hover:not(.active) {
background-color: #ddd;
border-radius: 5px;
}
.gwtj {
position: fixed;
bottom: 0;
left: 50%;
padding: 7px;
font-size: 16px;
transform: translateX(-50%);
background-image: -webkit-linear-gradient(45deg, #3BD4C1, #119BD2);
background-image: linear-gradient(45deg, #3BD4C1, #119BD2);
z-index: 101;
border: 1px solid #f5f5f5;
}
.bgRed {
background: #F1F1F1;
}
table tbody {
width: 1180px;
display: block;
height: 80px;
overflow-y: scroll;
overflow-x: hidden;
}
.kctc-table tbody {
width: 1180px;
height: 500px;
background-color: #fff;
color: #666;
overflow-y: scroll;
}
.kctc-table tbody tr {
width: 1180px;
display: flex;
}
.kctc-table td {
flex: 1;
border: 1px solid #f5f5f5;
min-height: 40px;
line-height: 40px;
font-size: 15px;
color: #666;
}
.kctc-table tr td:nth-child(2) {
flex: 4;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.gw-uls {
display: flex;
width: 98%;
flex-wrap: wrap;
margin: auto;