@import '@css/mixin.scss';
@import '@css/modal.scss';
Page {
  background: #4cacfc;
  height: 100%;
}
.discount-group {
  position: relative;
  min-height: 1584px;
  background: #4cacfc;
  .dg-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 750px;
    height: 1584px;
  }
  .dg-rule-btn {
    position: fixed;
    top: 220px;
    right: 0;
    z-index: 2;
    width: 130px;
    height: 46px;
  }
  .dg-wrap {
    position: absolute;
    top: 580px;
    left: 20px;
    right: 20px;
    z-index: 2;
    width: 710px;
    height: 830px;
  }
  .dg-popup {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 750px;
    height: 1584px;
    .img {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 5;
      width: 750px;
      height: 1584px;
    }
    .bg {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 4;
      width: 750px;
      height: 1584px;
      background: #000;
      opacity: .8;
    }
    .yes {
      position: absolute;
      top: 500px;
      left: 50px;
      z-index: 12;
      width: 650px;
      height: 550px;
      // background: $mainColor;
      // opacity: .8;
    }
    .no {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 11;
      width: 100%;
      height: 100%;
      // background: $mainBgColor;
      // opacity: .8;
    }
  }
  .dg-top {
    text-align: center;
    padding-top: 4px;
    position: relative;
    padding-bottom: 50px;
    .dgt-img {
      display: inline-block;
      border: 2PX solid $mainColor;
      border-radius: 50%;
      overflow: hidden;
      width: 154px;
      height: 154px;
      box-sizing: border-box;
      .img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
      }
    }
    .dgt-text {
      position: absolute;
      top: 140px;
      left: 50%;
      margin-left: -100px;
      width: 200px;
      height: 60px;
      line-height: 60px;
      text-align: center;
      color: $mainColor;
      background: $mainBgColor;
      border-radius: 40px;
    }
  }
  .dg-info {
    padding: 10px 0 20px;
    text-align: center;
    font-size: 30px;
    color: $mainColor;
    .p1 {
      font-size: 24px;
      padding-bottom: 20px;
    }
    .p2 {
      font-size: 32px;
      font-weight: bold;
      padding-bottom: 20px;
      color: $dangerColor;
    }
    .p3 {
      font-size: 28px;
      padding-bottom: 10px;
      color: $greyColor;
    }
    .p4 {
      font-size: 24px;
      color: $infoColor;
      text-decoration: underline;
    }
  }
  .dg-btn {
    width: 500px;
    margin: 0 auto;
    text-align: center;
    .text {
      width: 100%;
      height: 86px;
      line-height: 86px;
      background: $mainColor;
      color: #fff;
      border-radius: 40px;
      text-align: center;
      font-size: 30px;
      &.t2 {
        color: #666;
        background: #f2f2f2;
      }
    }
  }
  .dg-share {
    .dgs-header {
      height: 80px;
      text-align: center;
      position: relative;
      .bg {
        position: absolute;
        top: 36px;
        left: 50%;
        margin-left: -325px;
        width: 650px;
        z-index: 1;
        height: 23px;
      }
      .t {
        position: absolute;
        top: 0;
        z-index: 2;
        left: 0;
        width: 100%;
        text-align: center;
        color: $mainColor;
        font-size: 22px;
        padding: 30px 0;
      }
    }
    .dgs-content {
      display: flex;
    }
    .dgs-item {
      text-align: center;
      flex: 1;
      position: relative;
      &.t2 {
        .dgs-img {
          border-color: $mainColor;
        }
        .dgs-text {
          color: $mainColor;
          background: $mainBgColor;
          font-weight: bold;
        }
      }
      .dgs-img {
        display: inline-block;
        border: 2px solid #ff6362;
        border-radius: 50%;
        overflow: hidden;
        width: 90px;
        height: 90px;
        box-sizing: border-box;
        .img {
          width: 88px;
          height: 88px;
          border-radius: 50%;
          overflow: hidden;
        }
      }
      .dgs-text {
        position: absolute;
        top: 70px;
        left: 50%;
        margin-left: -60px;
        width: 120px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: #ff6362;
        background: #ffece5;
        border-radius: 40px;
        font-size: 24px;
      }
    }
  }
}


.scoped-rule {
  position: relative;
  width: 700px;
  height: 1350px;
  .bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 700px;
    height: 1248px;
  }
  .ops {
    position: absolute;
    top: 1160px;
    left: 0;
    z-index: 2;
    width: 700px;
    height: 80px;
    display: flex;
    justify-content: space-around;
    .op {
      width: 300px;
      text-align: center;
      line-height: 60px;
      height: 60px;
      font-size: 24px;
      background: $mainColor;
      color: #fff;
      border-radius: 30px;
      &.t2 {
        color: #999;
        background: #f2f2f2;
      }
    }
  }
  .close {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    left: 320px;
    width: 60px;
    height: 60px;
  }
}


.get-success {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  overflow: auto;
  .bg {
    background: #000;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .3;
    z-index: 1;
  }
  .bgImg {
    position: absolute;
    width: 694px;
    height: 666px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    z-index: 2;
  }
  .gs-wrap {
    position: absolute;
    width: 694px;
    height: 666px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    z-index: 3;
    box-sizing: border-box;
    padding-top: 230px;
  }
  .gs-ed {
    position: absolute;
    top: 280px;
    right: 190px;
    width: 148px;
    height: 118px;
    z-index: 99;
  }
  .gs-code {
    border: 1PX dashed #fdb9ae;
    border-radius: 20px;
    width: 400px;
    height: 130px;
    margin: 0 auto;
    text-align: center;
    font-size: 28px;
    overflow: hidden;
    &.t2 {
      border-color: #999;
      color: #666;
    }
    .p1 {
      color: #666;
      padding: 20px 0 10px;
    }
    .p2 {
      color: #333;
    }
  }
  .gs-footer {
    display: flex;
    justify-content: space-around;
    width: 560px;
    padding-top: 140px;
    margin: 0 auto;
    .b {
      width: 220px;
      height: 70px;
      line-height: 70px;
      text-align: center;
      background: #ffe378;
      color: #fe523e;
      border-radius: 20px;
      font-size: 28px;
      &.t2 {
        background: #fff;
        color: #999;
      }
    }
  }
}