sharePopup.scss 1.52 KB
/* components/sharePopup/sharePopup.wxss */
.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 98;
  perspective: 99999999px;
  .share-popup-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    animation: show-popup-bg .1s forwards .1s;
  }
  .share-box{
    width: 560rpx;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    animation: show-modal .1s forwards;
  }
  .close-box{
    text-align: right;
    margin-bottom: 16rpx;
    .close_btn{
      display: inline-block;
      width: 56rpx;
      height: 56rpx;
    }
  }
  
  .share-popup-content{
    // position: relative;
    background: #FFFFFF;
    border-radius: 16rpx;
    box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
    overflow: auto;
    .bg{
      width: 100%;
      height: 132rpx;
    }
  }
  .btn-box{
    display: flex;
    flex-flow: column;
    align-items: center;
    color: #fff;
    margin-top: 32rpx;
    .btn{
      width: 320rpx;
      height: 88rpx;
      line-height: 88rpx;
      text-align: center;
      background-image: linear-gradient(-60deg, #556AF5 0%, #7197FF 100%);
      border-radius: 16rpx;
    }
    .tips{
      font-weight: 400;
      font-size: 24rpx;
    }
  }
}
.canvas-box {
  position: absolute;
  left: -9999rpx;
  top: -9999rpx;
  width: 750rpx;
  height: 750rpx;
}
@keyframes show-popup-bg {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }

  100% {
    background-color: rgba(45, 45, 51, .6);
  }
}