.discountCardContainer {
  min-height: 100vh;
  background: url('./images/bg.png') no-repeat top center #cbf3ff;
  background-size: contain;
}

.cardContainer {
  position: relative;
  padding: 20px 14px 0;

  .imgSection {
    font-size: 0;
    padding-bottom: 20px;
    img {
      width: 100%;
      margin-top: 16px;
    }
  }
}

.userSection {
  display: flex;
  align-items: flex-start;

  .userImgSection {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 13px;
    flex-shrink: 0;

    .userImg {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #f2f6f7;
    }

    .showMemeber {
      position: absolute;
      bottom: 1px;
      right: -4px;
      width: 18px;
      height: 18px;
    }

    &.userVip {
      .showMemeber {
        background: url('./images/icon-vip-disabled.png') no-repeat center;
        background-size: contain;
      }

      &.isVip {
        .userImg {
          border: 2px solid #f0af88;
        }

        .showMemeber {
          background: url('./images/icon-vip.png') no-repeat center;
          background-size: contain;
        }
      }
    }

    &.userSVip {
      .showMemeber {
        background: url('./images/icon-svip-disabled.png') no-repeat center;
        background-size: contain;
      }

      &.isVip {
        .userImg {
          border: 2px solid #f0af88;
        }

        .showMemeber {
          background: url('./images/icon-svip.png') no-repeat center;
          background-size: contain;
        }
      }
    }
  }

  .userInfo {
    padding-top: 5px;
    max-width: 185px;

    .userName {
      display: flex;
      align-items: center;
      padding-bottom: 4px;
    }

    .name {
      font-weight: 500;
      font-size: 18px;
      color: #000000;
      line-height: 25px;
      letter-spacing: 1px;
      max-width: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .phone {
      font-size: 13px;
      color: rgba(0, 0, 0, 0.6);
    }

    .member_time {
      font-size: 12px;
      color: #777777;
      line-height: 17px;

      span {
        padding-left: 2px;
        color: #1d88ff;
        font-weight: 500;
      }
    }
  }
}

.cardSection {
  position: relative;
  background: url('./images/card-bg.png') no-repeat center;
  background-size: contain;
  height: 203px;
  max-width: 347px;
  margin-top: 27px;

  .top {
    display: flex;
    align-items: center;
    padding-top: 19px;
    padding-left: 26px;
    .iconTitle1 {
      // width: 63px;
      height: 25px;
      margin-right: 6px;
    }

    .priceSection {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      .currentPrice {
        display: flex;
        align-items: flex-end;
        background: linear-gradient(270deg, #ff7b57 0%, #ff3460 100%);
        border-radius: 100px 100px 100px 2px;
        padding: 0 8px;
        font-weight: 600;
        color: #ffffff;
        height: 23px;
        .l {
          font-size: 12px;
          line-height: 17px;
          padding-right: 2px;
        }
        .c {
          font-size: 20px;
          line-height: 1;
        }
        .r {
          font-size: 12px;
          line-height: 17px;
        }
      }
      .originPrice {
        padding-left: 6px;
        font-size: 12px;
        color: rgba(19, 20, 21, 0.4)
      }
    }
  }

  .chapter {
    position: absolute;
    right: 19px;
    top: -14px;
    background: url('./images/ring.png') no-repeat center;
    background-size: contain;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: rotate(-15deg);

    .chapterTop {
      padding-top: 6px;
      font-weight: 500;
      font-size: 11px;
      color: #ffffff;
      line-height: 15px;
    }
    .chapterBottom {
      font-family: DINAlternate, DINAlternate;
      font-weight: bold;
      font-size: 22px;
      color: #ffffff;
      line-height: 1;
      // display: flex;
      // align-items: center;
      i {
        vertical-align: middle;
        padding-left: 1px;
        font-style: normal;
        font-weight: 500;
        font-size: 12px;
        color: #ffffff;
        line-height: 1;
      }
    }
  }
}

.btnGroup {
  background-color: #fff;
  padding: 10px 30px 30px;

  .submitBtn {
    background: url('./images/btn-bg.png') no-repeat center;
    background-size: contain;
    width: 315px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    line-height: 26px;
    i {
      padding-top: 2px;
      padding-right: 2px;
      font-size: 14px;
      font-style: normal;
      line-height: 20px;
    }
  }
}


// 弹窗样式
.dialogContainer {
  width: 287px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px 24px 22px;
  text-align: center;

  .dialogTitle {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    line-height: 25px;
  }

  .dialogContent {
    padding: 16px 0 21px;
    font-size: 15px;
    color: #777777;
    line-height: 26px;
  }

  .dialogBtnGroup {
    padding: 0 16px;

    &.orderGroup {
      display: flex;
      align-items: center;
      padding: 0;
    }

    :global {
      .van-button {
        font-weight: 500;
        font-size: 16px;
      }
    }
  }

  .dialogBtn {
    margin-left: 12px;
    color: #FFFFFF;
    line-height: 22px;
  }
}