callback.scss 2.46 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
.callback-box {
  width: 100%;
  height: 100%;
  position: relative;

  .banner {
    width: 100%;
    height: 258px;
    background-image: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/bg-img.png");
    background-repeat: no-repeat;
    background-size: contain;
  }

  .content {
    position: absolute;
    top: 13px;
    left: 10px;
    width: 355px;
    background-color: #fff;
    border-radius: 4px;
zhanghaozhe committed
21
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.06);
xuzhenghua committed
22 23 24 25
    padding: 18px 10px 25px 10px;

    .title {
      text-align: center;
zhanghaozhe committed
26
      color: #ff3131;
xuzhenghua committed
27
      font-size: 18px;
zhanghaozhe committed
28
      font-weight: 500;
xuzhenghua committed
29 30 31
    }

    .coupon {
zhanghaozhe committed
32
      background-color: #8361fe;
xuzhenghua committed
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
      width: 335px;
      height: 95px;
      border-radius: 3px 3px 0 0;
      margin-top: 10px;
      padding: 10px 12px;
      color: #fff;

      p {
        width: 100%;
        text-align: center;
        font-size: 12px;
      }

      .coupon-name {
        text-align: left;
        font-size: 14px;
        height: 16px;
        line-height: 16px;
      }

      .coupon-price {
        height: 28px;
        line-height: 28px;
        span {
          font-size: 26px;
        }
      }

      .coupon-time {
        margin-top: 3px;
      }
    }

    .tip {
      width: 335px;
      height: 37px;
      padding-left: 12px;
      text-align: left;
      font-size: 12px;
      color: #666;
      line-height: 37px;
      background-color: #fff;
zhanghaozhe committed
75
      box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
xuzhenghua committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
      border-radius: 0 0 3px 3px;
      position: relative;

      ul {
        position: absolute;
        top: -5px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;

        li {
          width: 10px;
          height: 10px;
          border-radius: 50%;
          background-color: #fff;
        }
      }
    }

    .expand {
zhanghaozhe committed
97
      color: #ff3131;
xuzhenghua committed
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
      margin-top: 15px;
      font-size: 22px;
      text-align: center;
      img {
        margin: 0 15px;
      }

      .expand-big {
        font-size: 30px;
      }
    }

    .invitation {
      width: 320px;
      height: 44px;
zhanghaozhe committed
113
      background-color: #8361fe;
xuzhenghua committed
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
      border-radius: 4px;
      font-size: 16px;
      color: #fff;
      margin-top: 15px;
      border: none;
    }

    .active-time {
      color: #999;
      font-size: 14px;
      margin-top: 10px;
      text-align: center;
    }

    .active-tip {
zhanghaozhe committed
129
      color: #8361fe;
xuzhenghua committed
130 131 132 133 134 135
      font-size: 16px;
      margin-top: 13px;
      text-align: center;
    }
  }
}