@keyframes rotate-360 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.b-list {
  position: relative;
  //background: #fcfdfd;
  width: 100%;

  .b-list-loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.65);
    z-index: 1;

    .loading-css {
      position: absolute;
      top: 40%;
      right: 50%;
      transform: translate(-50%, -50%);
      box-sizing: border-box;
      width: 40px;
      height: 40px;
      display: inline-block;
      border: 4px solid #facc39;
      border-top: 4px solid #45d4a8;
      border-radius: 50%;
      /* 动画旋转效果 */
      animation: rotate-360 1s infinite linear;
    }
  }

  .b-list-box {
    //margin: 10px;
    //border: 1px solid #e6eaef;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 10px 10px #f9f9f9;
    border: 1px solid #f0f0f0;
    position: relative;

    .b-list-header {
      height: 58px;
      line-height: 58px;
      /* border-top: 1px solid #f0f0f0; */
      border-bottom: 1px solid #f0f0f0;
      //background: #fafafa;
      background: #ffffff;

      .b-list-header-box {
        display: flex;
        justify-content: space-between;
        position: relative;

        .b-list--top-content {
          display: inline-flex;
          align-items: center;
          font-size: 15px;
          font-family: "Alibaba-PuHuiTi-Bold", serif;
          color: #3e3e3e;

          .b-list--top-text {
            padding: 0 16px;
            width: 100%;
          }

          .b-list-checkbox {
            display: inline-block;
          }
        }
      }
    }

    .b-list-body {
      height: 600px;
      overflow-y: auto;

      .b-list-body-box {
        width: fit-content;
        min-width: 100%;

        .b-list-item {
          &:hover {
            background: #fafafa;
          }

          .b-list--item-list {
            display: flex;
            justify-content: space-between;
            position: relative;
            //height: 48px;
            line-height: 28px;
            border-bottom: 1px solid #f2f2f2;
            padding: 10px 0;

            .b-list--item-list-content {
              display: inline-flex;
              align-items: center;
              //width: 172px;
              overflow: hidden;
              text-overflow: ellipsis;

              .b-list--item-list-text {
                padding: 0 16px;
                width: 100%;
              }

              .b-list-checkbox {
                display: inline-block;
              }
            }
          }
        }
      }
    }

    .b-list-footer {
      height: 52px;
      //background: #fafafa;
      background: #ffffff;
      border-top: 1px solid #f0f0f0;
      //border-bottom: 1px solid #f0f0f0;

      .b-list-footer-box {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
      }
    }
  }
}
