@import "src/assets/css/variable";
.preferential {
  padding-top: 88px;
  .preferential {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    z-index: 10;
    padding-top: 0;
  }

  .custom-tab-bar {
    width: 100%;
    position: fixed;
    top: 43px;
    left: 0;
    padding: 15px 0 15px 11px;
    z-index: 10;
    background: #fff;
  }
  .class-content {
    padding: 0 12px;
    position: relative;
    margin-top: 15px;

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

      .content {
        border: none;

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

          img {
            width: 100%;
            height: 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_525B65;
        }

        .contact {
          font-size: 14px;
          color: #777;
          margin-top: 14px;
        }

        .des {
          position: absolute;
          bottom: 0;

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

            .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: 5px;
      margin-bottom: 50px;
      ul {
        width: 100%;
      }
    }

    .am-tabs-default-bar-tab {
      width: 82px !important;
      height: 24px;
      color: $bg_active;
      border: 1px solid $bg_active !important;
      border-radius: 12px;
      margin-right: 20px;
      font-size: 12px;
    }
    .am-tabs-default-bar-tab-active {
      background: linear-gradient(90deg, $bg_active 0%, #5077f3 100%);
      color: $white;
      border: none !important;
    }
    .am-tabs-default-bar-underline {
      display: none;
    }

    .am-whitespace.am-whitespace-md {
      height: 0 !important;
    }
    .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
      background-color: rgba(0, 0, 0, 0);
    }
  }

  .notdata {
    width: 100%;
    text-align: center;
    margin-top: 100px;
    color: #666;
    font-size: 14px;
  }
}
