shareModel.scss 1.35 KB
/* pages/tab/index/components/shareModel/shareModel.wxss */

.share-wrap {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  .img-wrap {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 225px;
    height: 311px;
    // background-color: red;
    overflow: auto;
    .img {
      width: 100%;
      // height: auto;
      height: 60%;
      background-color: #fff;
    }
  }
  .btns {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 154px;
    background: #ffffff;
    border-radius: 8px 8px 0 0;
    .top {
      display: flex;
      justify-content: space-around;
      .btn {
        padding-top: 16px;
      }
      .img {
        display: block;
        margin: 0 auto 8px;
        width: 40px;
        height: 40px;
      }
      .name {
        font-size: 12px;
        color: #323436;
        text-align: center;
        line-height: 32rpx;
      }
      .btn-wechat{
        width: auto;
        margin: 0;
        padding: 0;
        background-color: #fff;
        &::after{
          border:none;
        }
      }
    }
    .btom {
      margin: 18px auto 0;
      width: 343px;
      height: 44px;
      line-height: 44px;
      border: 1px solid #eeeeee;
      border-radius: 4px;
      text-align: center;
    }
  }
}