index.scss 2.1 KB
Newer Older
zhanghaozhe committed
1
@import "src/assets/css/variable";
xuzhenghua committed
2
.use-coupon {
xuzhenghua committed
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
  display: flex;
  flex-flow: column;
  height: 100%;
  background-color: #f5f5f5;

  .coupons-area {
    padding: 72px 12px 0px;
    background: $bg_f5f5f5;
    flex: 1 1 auto;

    .empty {
      min-height: 211px;
      line-height: 211px;
      font-size: $font_12;
      color: $color_666;
      text-align: center;
    }

    .invalid-title {
      text-align: center;
      font-size: $font_12;
      line-height: 52px;
      color: $color_999;
    }
  }

  .free-coupon-box {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
zhanghaozhe committed
37
    background: rgba(0, 0, 0, 0.6);
xuzhenghua committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
    z-index: 11;

    .free-coupon-content {
      width: 290px;
      border-radius: 10px;
      background-color: #fff;
      padding: 20px;
      margin: 150px auto 0 auto;

      .coures-content-success {
        height: 30px;
        line-height: 30px;
        i {
          font-size: 34px;
          color: #09f;
xuzhenghua committed
53
        }
xuzhenghua committed
54 55 56 57 58 59 60
      }

      .coures-content-title {
        font-size: 15px;
        color: #333;
        margin-top: 10px;
      }
xuzhenghua committed
61

xuzhenghua committed
62 63 64 65 66 67 68 69
      .coures-content-img {
        width: 150px;
        height: 108px;
        border-radius: 3px;
        margin-top: 20px;
      }

      .coures-content-tip {
zhanghaozhe committed
70
        color: #ff3131;
xuzhenghua committed
71 72 73 74 75 76 77
        font-size: 12px;
        margin-top: 20px;
        text-align: left;
        line-height: 15px;
        height: 30px;
        i {
          display: inline-block;
zhanghaozhe committed
78
          color: #ff3131;
xuzhenghua committed
79 80 81 82
          font-size: 18px;
          position: relative;
          top: 6px;
        }
zhanghaozhe committed
83
        span {
xuzhenghua committed
84 85 86 87
          display: inline-block;
          margin-left: 20px;
          position: relative;
          top: -15px;
xuzhenghua committed
88
        }
xuzhenghua committed
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
      }

      .toStudy {
        display: inline-block;
        width: 138px;
        height: 30px;
        line-height: 30px;
        background-color: #09f;
        border-radius: 15px;
        margin-top: 20px;
        font-size: 15px;
        color: #fff;
      }
    }

    .free-coupon-close {
      margin-top: 30px;
zhanghaozhe committed
106
      i {
xuzhenghua committed
107 108 109
        font-size: 26px;
        color: #fff;
      }
xuzhenghua committed
110
    }
xuzhenghua committed
111
  }
zhanghaozhe committed
112
}