html,body,#root {
  height: 100%;
}
.class-child {
  position: relative;
  height: 100%;


  .preferential{
    width: 100%;
    height: 44px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

  .class-content {
    padding: 88px 12px 0;
    position: relative;

    .custom-render-bar{
      position: fixed;
      top: 43px;
      left: 0;
      z-index: 10;
      padding-left: 11px;
      background: #fff;
    }

    .v-list-item {
      padding: 10px 0 0;

      .content {
        border: none;

        .cover {
          flex: inherit;
          width: 42.2%;

          img {
            width: 100%;
          }

          .course-status {
            background-color: rgba(224, 46, 36, 0.6);

          }
          .return_cash {
            position: absolute;
            width: 31px;
            height: 18px;
            top: 0;
            right: 0;
            background: url("./image/return.icon.png") no-repeat;
            background-size: 100% 100%;
          }
        }
      }

      .info {
        width: 52.3%;
        position: relative;
        display: block;

        .title {
          font-size: 16px;
          color: $color_333;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .contact {
          font-size: 14px;
          color: $color_666;
          margin-top: 14px;
        }

        .des {
          position: absolute;
          bottom: 0;

          .course-price {
            .new {
              color: $red;
              font-size: 16px;
            }

            .old {
              color: $color_999;
              font-size: 12px;
              display: inline-block;
              margin-left: 15px;
              text-decoration: line-through;
            }
          }

          .isbuy {
            display: inline-block;
            width: 61px;
            height: 18px;
            background-color: $bg_active;
            border-radius: 9px;
            color: $white;
            font-size: 12px;
            text-align: center;
            line-height: 18px;
          }
        }
      }
    }

    .tabs {
      display: flex;
      margin-top: 10px;
      margin-bottom: 50px;
      ul {
        width: 100%;
      }
    }

    .pull-down {
      width: 32px;
      height: 35px;
      line-height: 35px;
      position: fixed;
      top: 48px;
      right: 0;
      z-index: 20;
      background-color: $bg_fff;
      color: $color_666;
    }
    .am-tabs-tab-bar-wrap {
      padding-right: 20px;
    }

    .am-tabs-default-bar-tab {
      width: auto !important;
      margin-right: 20px;
    }

    .am-tabs-default-bar-tab-active {
      color: $active;
      border-bottom: 2px solid $active !important;
    }

    .am-tabs-default-bar-underline {
      display: none;
    }

    .am-whitespace.am-whitespace-md {
      height: 0 !important;
    }
  }

  .mbc-box {
    position: absolute;
    left: 0;
    top: 87px;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .6);

    .tabcontent {
      width: 100%;
      height: 303px;
      overflow: auto;
      background-color: $bg_fff;
      border-top: 1px solid $sp_ddd;
      padding-bottom: 30px;

      .class-course {
        width: 100%;
        margin-top: 20px;
        padding: 0 15px;

        .course-items-title {
          font-size: 14px;
          color: $color_333;

        }

        .items-box {
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;

          .item-banner {
            display: inline-block;
            width: 30.5%;
            height: 76px;
            margin-top: 10px;

            img {
              width: 100%;
              height: 100%;
              border-radius: 3px;
            }
          }

          .item-label {
            display: inline-block;
            width: 30.5%;
            height: 30px;
            line-height: 30px;
            text-align: center;
            background-color: $bg_f4f4f4;
            border-radius: 15px;
            margin-top: 15px;
            margin-bottom: -5px;
            font-size: 12px;
          }
          .active-label {
            display: inline-block;
            width: 30.5%;
            height: 30px;
            line-height: 30px;
            text-align: center;
            background-color: $bg_active;
            border-radius: 15px;
            margin-top: 15px;
            margin-bottom: -5px;
            font-size: 12px;
            color: $white;
          }
        }

      }
    }
  }
  .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
    background-color: $bg_fff!important;
  }
}

