index.scss 5.85 KB
Newer Older
zhanghaozhe committed
1
@import "src/assets/css/variable";
xuzhenghua committed
2 3 4 5
.detail-box {
  position: relative;

  .toapp {
xuzhenghua committed
6
    position: fixed;
xuzhenghua committed
7 8 9 10 11 12 13 14 15 16
    right: 0;
    top: 117px;
    width: 82px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background: linear-gradient(-90deg, $bg_active 0%, $bg_0078FF 100%);
    border-radius: 16px 0 0 16px;
    font-size: 12px;
    color: $white;
wangshuo committed
17
    z-index: 9;
xuzhenghua committed
18 19 20 21 22 23 24 25 26 27
  }
  .course-content {
    margin: 15px 12px 0 12px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;

    .cover {
      width: 42.2%;
      height: 108px;
xuzhenghua committed
28
      position: relative;
xuzhenghua committed
29 30 31 32 33 34

      img {
        border-radius: 3px;
        width: 100%;
        height: 100%;
      }
xuzhenghua committed
35 36 37 38 39 40 41 42 43 44

      .return_cash {
        position: absolute;
        top: 0;
        right: 0;
        width: 31px;
        height: 18px;
        background: url("./image/return.icon.png") no-repeat;
        background-size: 100% 100%;
      }
xuzhenghua committed
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
    }

    .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: 10px;
xuzhenghua committed
64
        line-height: 16px;
xuzhenghua committed
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
      }

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

zhanghaozhe committed
86 87 88
        .limit-free {
          span:first-child {
            color: #ff2121;
zhanghaozhe committed
89 90 91
            font-size: 15px;
            margin-right: 10px;
          }
zhanghaozhe committed
92
          .origin-price {
zhanghaozhe committed
93 94 95 96 97
            font-size: 11px;
            color: #999;
            text-decoration: line-through;
          }
        }
zhanghaozhe committed
98 99
        .time-limit {
          color: #ff2121;
zhanghaozhe committed
100 101
        }

xuzhenghua committed
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
        .isbuy {
          display: inline-block;
          width: 66px;
          height: 27px;
          background-color: $bg_ccc;
          color: $white;
          border-radius: 3px;
          font-size: 12px;
          text-align: center;
          line-height: 27px;
        }
      }
    }
  }

  .promise {
xuzhenghua committed
118
    padding: 15px 0;
119
    // height: 66px;
xuzhenghua committed
120 121
    border-top: 1px solid #e7eaf1;
    margin: 0 12px;
xuzhenghua committed
122
    display: flex;
xuzhenghua committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144

    label {
      float: left;
      display: block;
      text-align: center;
      font-size: 12px;
      width: 54px;
      height: 18px;
      background-color: $bg_333;
      color: $white;
      border-radius: 6px 0 6px 0;
    }

    p {
      width: 75%;
      float: left;
      margin-left: 15px;
      font-size: 12px;
      color: $color_333;
    }
  }

zhanghaozhe committed
145 146
  .group,
  .vip {
xuzhenghua committed
147
    margin: 10px 12px 0 12px;
xuzhenghua committed
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
    padding: 10px 12px;
    text-align: center;
    color: $white;
    font-size: 12px;
    border-radius: 6px 6px 0 0;
  }

  .group {
    background-color: $bg_82BBFB;
  }

  .vip {
    background: linear-gradient(-90deg, $bg_EBA216 0%, $bg_EBC05A 100%);
  }

163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
  .groupSuccessMbc {
    position: fixed;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .content {
      width: 300px;
      height: 190px;
      background-color: #fff;
      padding: 16px;

      .imgList {
        padding-top: 20px;
xuzhenghua committed
183

184 185 186 187 188 189
        .imgContainer {
          position: relative;
          width: 44px;
          height: 44px;
          border-radius: 50%;
          margin-right: 20px;
xuzhenghua committed
190

191 192 193
          .imgname {
            margin: 0;
          }
xuzhenghua committed
194

195 196 197 198 199 200 201 202 203 204 205
          .leaderFlag {
            position: absolute;
            background-color: #0099ff;
            border: 1px solid #fff;
            width: 30px;
            color: #fff;
            line-height: 18px;
            height: 18px;
            text-align: center;
            border-radius: 9px;
            top: -6px;
xuzhenghua committed
206

207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
            span {
              font-size: 12px;
              transform: scale(0.9);
            }
          }
        }
      }

      .group-btn {
        height: 30px;
        line-height: 30px;
        font-size: 14px;
      }
    }

    .tipContent {
      width: 270px;
      height: 44px;
      line-height: 44px;
      text-align: center;
      border: 1px dashed rgba(255, 255, 255, 1);
      border-radius: 3px;
      color: #fff;
      font-size: 14px;
      position: absolute;
      top: 100px;
    }
    .tipArrow {
      position: absolute;
      right: 15px;
      top: 38px;
      .iconyindao:before {
        font-size: 44px;
zhanghaozhe committed
240
        color: #fff;
241 242 243
      }
    }
  }
xuzhenghua committed
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265

  .openExpand {
    font-size: 14px;
    color: #ff2121;
    font-weight: 500;
    width: 215px;
  }
}

.activity__blessing {
  position: fixed;
  bottom: 170px;
  right: 4px;
  width: 76px;
  height: 64px;
  z-index: 999;

  .count__down__time {
    width: 62px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
zhanghaozhe committed
266
    color: rgba(36, 0, 119, 1);
xuzhenghua committed
267 268 269 270 271 272 273
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 4px;
    left: 8px;
  }
zhanghaozhe committed
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
}

.get-course-popup {
  top: 210px !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  .title {
    text-align: center;
    margin-bottom: 30px;

    img {
      width: 30px;
      height: 30px;
    }

    div {
      font-size: 14px;
zhanghaozhe committed
293
      color: #525c65;
zhanghaozhe committed
294 295 296 297
    }
  }

  .btns {
zhanghaozhe committed
298
    border-top: 1px solid #ddd;
zhanghaozhe committed
299 300 301 302 303 304 305 306 307 308 309
    display: flex;
    height: 40px;

    button {
      -webkit-appearance: none;
      width: 50%;
      border: none;
      outline: none;
      color: #333;
      background: #fff;
      border-radius: 0 0 5px 5px;
zhanghaozhe committed
310
      font-size: 15px;
zhanghaozhe committed
311 312 313
    }

    & button:first-child {
zhanghaozhe committed
314
      border-right: 1px solid #ddd;
zhanghaozhe committed
315 316 317 318 319 320
    }

    & button:last-child {
      color: #09f;
    }
  }
zhanghaozhe committed
321
}