.component-popup-ad{
  width: 750rpx;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  &.show{
    z-index: 99999;
    .confirm-pop-mask {
      height: 100%;
    }
    .popup-ad-box{
      opacity: 1;
      transform: translate(-50%, 0) scale(1);
    }
  }
  
  .confirm-pop-mask {
    height: 0;
    width: 100%;
    background: rgba(0, 0, 0, .4);
  }

  .popup-ad-box{
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translate(-50%, 0) scale(0);
    transition: all .2s;
    opacity: 0;

    .txt-flow{
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .popup-ad-coupon{
      width: 750rpx;
      max-height: 950rpx;
    }
    .popup-ad-img{
      width: 620rpx;
      max-height: 780rpx;
    }
    .conpon-info{
      position: absolute;
      left: 50%;
      bottom: 185rpx;
      transform: translate(-50%, 0);
      .bg-title{
        color: #DA381E;
        position: absolute;
        top: -264rpx;
        font-size: 60rpx;
        font-weight: bold;
        left: 50%;
        transform: translate(-50%, 0);
        display: flex;
        align-items: center;
        white-space: nowrap;
        .dot{
          width: 18rpx;
          height: 18rpx;
          background-color: #DA381E;
          border-radius: 12rpx;
        }
        .txt{
          margin: 0 18rpx;
        }
      }
      .til{
        color: #fff;
        font-size: 32rpx;
        text-align: center;
        font-weight: bold;
      }
      .con{
        width: 514rpx;
        height: 136rpx;
        display: flex;
        align-items: center;
        padding: 12rpx;
        box-sizing: border-box;
        border-radius: 12rpx;
        position: relative;
        background-image: url('@/static/images/popup-ad/coupon-bg.png');
        background-size: 100%;
        margin: 32rpx 0 76rpx;

        .left{
          width: 148rpx;
          .price{
            width: 100%;
            display: flex;
            justify-content: center;
            font-weight: bold;
            color: #DA381E;
            overflow: hidden;
            
            .sign{
              font-size: 28rpx;
            }
            .number{
              font-size: 44rpx;
            }
          }
          .term{
            width: 100%;
            color: #999999;
            font-size: 22rpx;
            margin-top: 8rpx;
            text-align: center;
          }
        }
        .right{
          width: 300rpx;
          margin-left: 42rpx;
          .conform{
            font-size: 24rpx;
            color: #333333;
            font-weight: bold;
          }
          .time{
            font-size: 22rpx;
            color: #999999;
            margin-top: 4rpx;
          }
        }
      }
      .btn{
        width: 390rpx;
        height: 86rpx;
        line-height: 86rpx;
        text-align: center;
        font-weight: bold;
        background: linear-gradient(180deg, #FEDAAA 0%, #FEAD52 100%);
        border-radius: 60rpx;
        color: #CF371F;
        font-size: 36rpx;
        margin: 0 auto;
      }
    }
    .popupad-close{
      width: 56rpx;
      height: 56rpx;
      margin: 0 auto;
      margin-top: 80rpx;
      image{
        width: 100%;
        height: 100%;
      }
    }
  }
}