/* #ifdef H5 */
@import '../../common/style/act/mixin/mixin.scss';
@import '../../common/style/act/layout/_layout-hlddz.scss';
@import '../../common/style/act/button/_button-hlddz.scss';

// 1填写收货地址start
.press-act:not(.press-act--hidden-tip) {
  &.press__cover {
    z-index: 104;
  }

  .press__title--phone {
    margin-top: .14rem;
    margin-left: .34rem;
    width: 1.8rem;
    height: .34rem;
    font-size: 0;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/title-phone.png) no-repeat;
    background-size: 100%;
  }

  .press__close {
    position: absolute;
    right: .16rem;
    top: .1rem;
    width: .38rem;
    height: .36rem;
    font-size: 0;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/pop-close.png) no-repeat center center;
    background-size: contain;
  }

  .press__button-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: .4rem;
    z-index: 2;
    padding: 0 1rem;
  }

  .press__button-wrap a {
    margin: auto;
  }

  .press__content {
    width: 5.6rem;
    height: 2.88rem;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  .press__box input {
    display: block;
    width: 100%;
    height: .56rem;
    border: 0;
    background: rgba(#427edc, .1);
    font-size: .24rem;
    color: #3b437f;
    letter-spacing: 0;
    padding-left: .16rem;
    border-radius: .08rem;
  }

  .press__message {
    text-align: left;
    color: #5e6a8e;
    font-size: .24rem;
    margin-bottom: .24rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .press__treaty-wrap {
    display: flex;
    flex-direction: row;
  }

  .press__treaty-check {
    width: .43rem;
    height: .4rem;
    flex-shrink: 0;
    margin: 0 .06rem 0 0;
    background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/coupon/icon-select.png) no-repeat center / 100%;

    &.press__act-checkbox--checked {
      width: .43rem;
      height: .4rem;
      background: url(https://image-1251917893.file.myqcloud.com/tip-privilege-Merchant/hlddz/version3D/img/coupon/icon-selected.png) no-repeat center / 100%;
    }
  }

  ::v-deep .van-checkbox__icon--checked .van-icon-success:before {
    content: '';
  }

  .press__treaty-terms {
    font-size: .24rem;
    color: #3b437f;
    line-height: 1.4;
    text-align: left;
  }

  .press__treaty-desc {
    font-size: .24rem;
    color: #427edc;
  }

  /* 验证码 */
  .press__box::v-deep {
    position: relative;
    width: 100%;
    margin: 0;

    .uni-input-input {
      font-size: .24rem;
      color: #3b437f;
    }

    .uni-input-placeholder,
    .input-placeholder {
      font-size: .24rem;
    }

    .press__phone-number {
      width: 100%;
      height: .56rem;
      font-size: $font-s;
      color: #5668a1;
      padding: 0 .16rem;
      background: rgba(#427edc, .1);
      border-radius: .08rem;

      &::placeholder {
        color: #3b437f;
      }
    }

    .press__code-wrap {
      display: flex;
      align-items: center;
      width: 100%;
      margin-bottom: .24rem;
    }

    .press-act-input-wrap {
      flex: 1;
      height: .56rem;
    }
  
    .press__code-number {
      width: 100%;
      height: 100%;
      font-size: $font-s;
      color: #427edc;
      padding: 0 .16rem;
      background: rgba(#427edc, .1);
      border-radius: .08rem;

      &::placeholder {
        color: #3b437f;
      }
    }

    .press__code-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      height: .56rem;
      font-size: $font-s;
      color: #3b437f;
      padding: 0 .34rem;
      margin-left: .2rem;
      white-space: nowrap;
      border-radius: .08rem;
      border: .02rem solid #999fbf;
    }

    .press__code-btn--disabled {
      color: gray;
    }
  }

  &.press__cover {
    .press__button-wrap {
      margin: 0 1.36rem;
      padding: 0;
      bottom: .2rem;
    }

    .press__box input {
      margin: auto;
      text-align: left;
    }
  }
  
  .press-act__container {
    display: flex;
    justify-content: center;
    padding-top: .24rem;
  }

  .press-act-award {
    position: relative;
    width: 1.52rem;
    height: 2.88rem;
    padding: 0 .04rem;
    margin-right: .32rem;
    background: url(https://image-1251917893.file.myqcloud.com/Tip-wss/award/hlddz/bg.png) no-repeat center;
    background-size: 100% 2.22rem;

    &::after {
      position: absolute;
      right: -.32rem;
      top: 0;
      content: '';
      height: 100%;
      width: .02rem;
      background: #c1dcff;
    }

    &__content {
      .press__content {
        width: 4.02rem;
        margin-left: .32rem;
      }
    }

    &__title {
      font-size: .24rem;
      color: #3b437f;
      text-align: center;
      padding-top: .28rem;
      padding-bottom: .28rem;
    }

    &__image {
      display: block;
      width: .84rem;
      height: .84rem;
      margin: 0 auto;
      margin-bottom: .2rem;
    }

    &__name {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: .2rem;
      color: #3b437f;
      text-align: center;
      word-break: break-all;
    }
  }
}

/* #endif */
