| | |
| | | <tr> |
| | | <th style="width:8%">刀具编号</th> |
| | | <th style="width:14%">刀具名称</th> |
| | | <th style="width:12%">上刀时间 <span class="header-badge">1</span></th> |
| | | <th style="width:12%">上刀时间</th> |
| | | <th class="num" style="width:8%">上刀计数</th> |
| | | <th style="width:12%">下刀时间</th> |
| | | <th class="num" style="width:8%">下刀计数</th> |
| | |
| | | } |
| | | |
| | | table.styled-table { |
| | | max-width: 900px; |
| | | width: 100%; |
| | | max-width: 1400px; /* 原900px,改为1400px,表格更大 */ |
| | | width: 90vw; /* 使用90%视口宽度,适应大屏 */ |
| | | margin: 0 auto; |
| | | border-collapse: separate; |
| | | border-spacing: 0; |
| | |
| | | table.styled-table thead th { |
| | | background: #fafafa; |
| | | border-bottom: 2px solid #bfbfbf; |
| | | padding: 10px 6px; |
| | | padding: 16px 10px; /* 增大表头高度和左右间距 */ |
| | | font-weight: bold; |
| | | font-size: 1vw; |
| | | font-size: 1.2vw; /* 字体更大 */ |
| | | text-align: center; |
| | | } |
| | | |
| | | table.styled-table tbody td { |
| | | border-bottom: 1px solid #e8e8e8; |
| | | padding: 10px 6px; |
| | | font-size: 0.95vw; |
| | | padding: 14px 10px; /* 增大表格内容高度和左右间距 */ |
| | | font-size: 1.1vw; /* 字体更大 */ |
| | | vertical-align: middle; |
| | | text-align: center; |
| | | } |