sharePopup.scss 3.08 KB
/* components/sharePopup/sharePopup.wxss */
.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 998;
  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-y: auto;
    .bg{
      width: 100%;
      height: 132rpx;
    }
    .user-box{
      position: absolute;
      top: 0;
      padding: 24rpx;
      display: flex;
      image{
        width: 40rpx;
        height: 40rpx;
        margin-right: 24rpx;
        flex-shrink: 0;
        border-radius: 20rpx;
      }
      .message{
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        font-size: 28rpx;
        color: #2D2D33;
        .name{
          font-size: 28rpx;
          text{
            font-size: 24rpx;
            color: #6E6E7A;
            margin-left: 16rpx;
          }
        }
        .activity{
           word-break: break-all;
          .activity-type-tag{
            font-size: 20rpx;
            color: #4466F0;
            background: rgba(255,255,255,0.32);
            border: 1px solid rgba(143,165,255,0.50);
            padding: 0 12rpx;
            border-radius: 2px;
            margin-left: 8rpx;
            white-space: nowrap;
          }
        }
      }
    }
    .content-box{
      width: 100%;
      padding: 32rpx 32rpx 0 32rpx;
      box-sizing: border-box;
      .posters_img{
        margin: 0 auto;
        width: 100%;
      }
      .merchant_box{
        display: flex;
        justify-content: space-between;
        margin-top: 16rpx;
        .name{
          font-weight: 500;
          font-size: 26rpx;
          color: #1B233D;
        }
        .address{
          font-weight: 400;
          font-size: 22rpx;
          color: #6E6E7A;
        }
        .qrcode{
          flex-shrink: 0;
          width: 120rpx;
          height: 120rpx;
        }
      }
    }
  }
  .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);
  }
}