index.scss 2.87 KB
Newer Older
xuzhenghua committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
.preferential {
  .search-nav {
    height: 44px;
    line-height: 44px;
    padding: 0 15px;
    background-color: $bg_f7f9fc;
    display: flex;
    justify-content: space-between;

    .am-search {
      width: 81%;
      background-color: $bg_f7f9fc;
    }

    .am-search-input, .am-search-synthetic-ph, .am-search-value {
      text-align: left;
      padding-left: 15px;
      height: 26px;
      line-height: 26px;
    }

    .am-search-input {
      background-color: $bg_EBEFF5;
      border-radius: 13px;
    }

    .shopping-cart, .return {
      font-size: 18px !important;
    }
  }

  .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%;
          }

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

          }
        }
      }

      .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 {
            .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;
    }

    .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;
    }
    .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);
    }

  }
}