
 .table-ul {
    border-collapse: collapse;
    font-size: 0.6rem;
    margin: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
}

  .table-ul li {
    border: 1px solid #e1e1e3;
    box-sizing: border-box;
    padding: 0 4px;
    line-height: 1.4rem;
    box-sizing: border-box;
    vertical-align: middle;
}
.tbinfo_duan_color {
    width: 3.75rem;
    background-color: #f5f6fa;
}
.tbinfo_duan_td {
    width: 3.75rem;
}
.tbinfo_chang_td {
    width: 11.25rem;
}
.tbinfo_duan_td_red{
    height: .8rem;
    vertical-align: middle;
}
  /* 可选：为列表项添加一些内边距和边框样式 */
  .table-ul li:nth-child(4n+1) {
    border-left: 2px solid #000; /* 第一列的左边框加粗 */
  }
 
  .table-ul li:nth-last-child(-n+4) {
    border-bottom: 2px solid #000; /* 最后一行的下边框加粗 */
  }
 
  /* 响应式设计：在小屏幕上每行一个列表项 */
  @media (max-width: 768px) {
    .table-ul li {
      flex: 1 1 100%;
    }
  }
      table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 16px;
        text-align: left;
    }
    th, td {
        padding: 12px;
        border-bottom: 1px solid #ddd;
    }
    th {
        background-color: #f2f2f2;
    }
    tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    tr:hover {
        background-color: #f1f1f1;
    }
    @media screen and (max-width: 600px) {
        table, thead, tbody, th, td, tr {
            display: block;
        }
        th {
            position: sticky;
            top: 0;
            background-color: #f2f2f2;
            z-index: 2;
        }
        td {
            text-align: right;
            padding-left: 50%;
            position: relative;
        }
        td::before {
            content: attr(data-label);
            position: absolute;
            left: 10px;
            width: calc(50% - 20px);
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }
    }