my-card.scss 2.46 KB
@import '../../assets/scss/mixins';
@import '../../assets/scss/utils';

.page {
  .bgc {
    background-color: #f8eeef;
  }

  .bg {}

  .decoration {
    position: relative;

    .d1 {
      position: absolute;
      width: 92px;
      height: 411px;
      top: 0;
      left: 0;
    }

    .d2 {
      position: fixed;
      width: 240px;
      height: 181px;
      right: 0;
      bottom: 0;
    }

    .d3 {
      position: absolute;
      top: -20px;
      right: -100px;
      width: 553px;
      height: 227px;
    }
  }

  .main {
    .top-space {
      height: 100px;
    }

    .content {
      position: relative;

      // 优惠券
      .coupon {
        position: relative;
        margin-top: 18px;

        &-item {
          position: relative;
          width: 578px;
          height: 198px;
          margin: 0 auto 12px;

          .ebg {
            left: 0;
            top: 0;
            position: absolute;
            width: 578px;
            height: 198px;
          }

          .cont {
            position: relative;

            .name {
              position: absolute;
              left: 40px;
              top: 40px;
              color: #ffffff;
              font-size: 32px;
            }

            .detail {
              position: absolute;
              border-radius: 24px;
              font-size: 24px;
              border: solid 1px rgba($color: #ffffff, $alpha: 0.8);
              color: rgba($color: #ffffff, $alpha: 0.8);
              @include btc(140px, 48px);
              top: 40px;
              right: 26px;
            }

            .card-info {
              position: absolute;
              top: 146px;
              color: #fbe4c9;
              font-size: 24px;
            }

            .card-no {
              left: 28px;
            }

            .card-date {
              right: 28px;
            }
          }
        }

        &-item2 {
          .name {
            color: #653d0d;
          }

          .card-info {
            color: #fce6c2;
          }
        }
      }
    }

    .store-btn {
      position: absolute;
      top: 24px;
      right: 0;
      @include border-left-radius(30px);
      @include btc(220px, 60px);
      font-size: 30px;
      color: #bf0221;
      box-shadow: 7.4px 8.2px 27px 0 rgba(228, 78, 96, 0.86);
      background-image: linear-gradient(to right, #fbddd5, #f9efed 51%, #ffded9 99%), linear-gradient(to bottom, #000000, #000000);

      .c1 {
        padding-left: 12px;
      }
    }
  }
}