feat:禅道375

This commit is contained in:
shijing 2026-05-11 15:56:32 +08:00
parent ecdade1667
commit dbb3ede81b
1 changed files with 15 additions and 12 deletions

View File

@ -1181,8 +1181,9 @@ that.$API.wpm.prints.req(printer_ip, obj).then((response) => {
} }
.table-scroll{ .table-scroll{
width: 100%; width: 100%;
height: 400px;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: auto;
} }
.width-100{ .width-100{
width: 100%; width: 100%;
@ -1206,6 +1207,17 @@ tbody tr:nth-child(odd) {
} }
th{ th{
text-align: left; text-align: left;
position: sticky;
top: 0;
z-index: 3;
background: #fff;
padding: 12px 5px;
min-height: 40px;
font-size: 12px;
color: #909399;
word-break: break-all;
border-right: 1px solid #ebeef5;
border-bottom: 1px solid #ebeef5;
} }
tr{ tr{
min-height: 40px; min-height: 40px;
@ -1214,16 +1226,7 @@ td {
padding: 5px; padding: 5px;
min-height: 40px; min-height: 40px;
line-height: 30px; line-height: 30px;
text-align: left; text-align: left;
border-right: 1px solid #ebeef5;
border-bottom: 1px solid #ebeef5;
}
th{
padding: 12px 5px;
min-height: 40px;
font-size: 12px;
color: #909399;
word-break: break-all;
border-right: 1px solid #ebeef5; border-right: 1px solid #ebeef5;
border-bottom: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5;
} }
@ -1267,7 +1270,7 @@ input{
z-index: 2; z-index: 2;
} }
thead .sticky-cell{ thead .sticky-cell{
z-index: 4; z-index: 6;
} }
tbody tr:nth-child(odd) .sticky-cell{ tbody tr:nth-child(odd) .sticky-cell{
background-color: #f5f7fa; background-color: #f5f7fa;