policy-head-list.scss 4.21 KB
@import "@/styles/_support.scss";
.list-container {
  overflow-x: auto;
  margin-bottom: 24px;
}

// 兼容样式 18px 字体和 14px字体样式字体过度阶段
.new-style {
  font-size: $fontSize-M2;
}



.hide {
  max-height: 0;
  border-bottom: none;
}

.table-contaner {
  position: relative;
}

.download {
  position: relative;
  &-tips {
    display: none;
    position: absolute;
    top: -3px;
    left: 20px;
    z-index: 11;
    padding: 2px;
    @include border-tans();
    min-width: 80px;
  }
}

.guide {
  position: absolute;
  transition: all 0.5s;
  cursor: pointer;
  width: 12px;
  height: 8px;
  background: url("~@/assets/images/insurance-query/triangle-down2.png")
    no-repeat center center;
  background-size: 100% 100%;
  top: 21px;
  right: 26px;
}

.rotate180 {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.new-style .cell-group {
  .w0{
   width: 320px; 
  }
  .w1 {
    width: 240px;
  }
  .w2 {
    width: 150px;
  }
  .w3{
    width: 150px;
  }
}

.cell-group {
  margin-bottom: 12px;
  text-align: center;

  &:last-child {
    margin-bottom: 0;
  }
  div {
    color: #4c4948;
  }
  
  .w0{
    width: 120px;
  }
  .w1 {
    width: 120px;
  }
  .w2 {
    width: 75px;
  }
  .w3 {
    width: 90px;
  }
  .table-header {
    // width: 770px;
    height: 50px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    .normal-header {
      // width: 706px;
      @extend .bb;
      padding: 0 32px;
      width: 100%;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .title {
        font-weight: bold;
        color: #575453;
      }
      .guide {
        transition: all 0.5s;
        cursor: pointer;
        width: 12px;
        height: 8px;
        background: url("~@/assets/images/insurance-query/triangle-down.png")
          no-repeat center center;
        background-size: 100% 100%;
      }
      .rotate180 {
        transform: rotate(180deg);
        transition: all 0.5s;
      }
    }
  }
  .table-content {
    // width: 770px;
    height: auto;
    max-height: 600px;
    // display: inline-block;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: solid 1px #f2f2f2;
    border-right: solid 1px #f2f2f2;
    border-bottom: solid 1px #f2f2f2;
    padding: 0 32px;
    transition: max-height ease-out 0.3s !important;
    overflow: auto;
    .data-line {
      // padding: 0 32px;
      // background-color: wheat;
      height: 58px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .td {
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .cell1 {
        width: 98%;
        display: flex;
        justify-content: space-between;
        margin: auto;
      }
      .separator-v {
        height: 30px;
        width: 2px;
        background-color: #f2f2f2;
        margin: 0 11px;
      }
    }
    .label span {
      color: $cOrange;
      margin-left: 7px;
      cursor: pointer;
      text-decoration: underline;
    }
    .separator-h {
      width: 100%;
      height: 2px;
      background-color: #f2f2f2;
    }
  }
  .orange {
    background-color: $cOrange;
    div {
      color: #ffffff;
    }
  }
  .new {
    @include linear-bg;
  }
  .hide {
    max-height: 0;
    border-bottom: none;
  }
  .sp {
    text-decoration: underline;
    padding: 0 4.8px;
  }
  .ac {
    color: $cOrange !important;
  }
}

.show-more-btn {
  width: 100%;
  color: $cOrange !important;
  text-decoration: underline;
  cursor: pointer;
  justify-content: center !important;
}

.pointer {
  cursor: pointer;
}

.activity {
  background-color: $cOrange !important;
  opacity: 0.5;
  div {
    color: #ffffff !important;
  }
}

.empty {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  .tips {
    align-items: center;
    display: flex;
    .icon {
      margin-right: 5px;
      display: inline-block;
    }
    .btn {
      color: $cOrange;
    }
  }
}

@media (max-width: 1200px) {
  .list-container {
    display: -webkit-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 92vw;
  }
}