courselist.scss 4.65 KB
Newer Older
xuzhenghua committed
1 2 3
html,body,#root {
  height: 100%;
}
xuzhenghua committed
4
.class-child {
xuzhenghua committed
5
  position: relative;
xuzhenghua committed
6
  height: 100%;
xuzhenghua committed
7

2  
xuzhenghua committed
8 9 10 11 12 13 14 15 16 17

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

xuzhenghua committed
18
  .class-content {
FE committed
19 20
    padding: 44px 12px 0;
    // padding: 88px 12px 0;
xuzhenghua committed
21
    position: relative;
xuzhenghua committed
22

2  
xuzhenghua committed
23 24 25 26 27 28 29 30 31
    .custom-render-bar{
      position: fixed;
      top: 43px;
      left: 0;
      z-index: 10;
      padding-left: 11px;
      background: #fff;
    }

wangshuo committed
32 33 34 35
    .am-tabs-top {
      height: 93vh;
    }

xuzhenghua committed
36 37 38 39 40
    .v-list-item {
      padding: 10px 0 0;

      .content {
        border: none;
xuzhenghua committed
41

xuzhenghua committed
42 43 44
        .cover {
          flex: inherit;
          width: 42.2%;
xuzhenghua committed
45

xuzhenghua committed
46 47
          img {
            width: 100%;
xuzhenghua committed
48 49
          }

xuzhenghua committed
50 51 52
          .course-status {
            background-color: rgba(224, 46, 36, 0.6);

xuzhenghua committed
53
          }
54 55 56 57 58 59 60 61 62
          .return_cash {
            position: absolute;
            width: 31px;
            height: 18px;
            top: 0;
            right: 0;
            background: url("./image/return.icon.png") no-repeat;
            background-size: 100% 100%;
          }
xuzhenghua committed
63
        }
xuzhenghua committed
64 65 66 67 68 69
      }

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

xuzhenghua committed
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
        .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;
          }
xuzhenghua committed
115 116 117 118
        }
      }
    }

xuzhenghua committed
119 120 121 122
    .tabs {
      display: flex;
      margin-top: 10px;
      margin-bottom: 50px;
xuzhenghua committed
123 124 125
      ul {
        width: 100%;
      }
xuzhenghua committed
126
    }
xuzhenghua committed
127

xuzhenghua committed
128 129
    .pull-down {
      width: 32px;
xuzhenghua committed
130 131
      height: 35px;
      line-height: 35px;
2  
xuzhenghua committed
132 133
      position: fixed;
      top: 48px;
xuzhenghua committed
134
      right: 0;
2  
xuzhenghua committed
135
      z-index: 20;
xuzhenghua committed
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
      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;
    }
xuzhenghua committed
160
  }
xuzhenghua committed
161

xuzhenghua committed
162
  .mbc-box {
xuzhenghua committed
163
    position: absolute;
xuzhenghua committed
164
    left: 0;
2  
xuzhenghua committed
165
    top: 87px;
xuzhenghua committed
166
    right: 0;
xuzhenghua committed
167
    bottom: 0;
xuzhenghua committed
168 169
    background-color: rgba(0, 0, 0, .6);

xuzhenghua committed
170 171 172 173 174 175 176
    .tabcontent {
      width: 100%;
      height: 303px;
      overflow: auto;
      background-color: $bg_fff;
      border-top: 1px solid $sp_ddd;
      padding-bottom: 30px;
xuzhenghua committed
177

xuzhenghua committed
178 179 180 181 182 183
      .class-course {
        width: 100%;
        margin-top: 20px;
        padding: 0 15px;

        .course-items-title {
xuzhenghua committed
184
          font-size: 14px;
xuzhenghua committed
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
          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;
xuzhenghua committed
217
            font-size: 12px;
xuzhenghua committed
218
          }
xuzhenghua committed
219 220 221 222 223 224 225 226 227 228
          .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;
xuzhenghua committed
229
            font-size: 12px;
xuzhenghua committed
230 231
            color: $white;
          }
xuzhenghua committed
232 233 234 235 236
        }

      }
    }
  }
xuzhenghua committed
237 238 239
  .am-tabs-default-bar-top .am-tabs-default-bar-tab::after {
    background-color: $bg_fff!important;
  }
xuzhenghua committed
240
}
xuzhenghua committed
241