弹窗样式


 .popup {
   .mask {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1000;
      background-color: rgba(0, 0, 0, 0.7);
      overflow-y: hidden;
    }
    .popup_cont {
      box-sizing: border-box;
      position: fixed;
      z-index: 1001;
      width: 80%;
      opacity: 1;
      &.center{
        top: 20%;
        left: 50%;
        transform: translate(-45%, -50%)!important;
      }
      .tipimg {
        width: 100%;
        height: 30%;
      }
    }
  }
close() {
  this.isShowPopup = false
},
showPop() {
  console.log('wertyuio')
  this.isShowPopup = true
}

你可能感兴趣的:(弹窗样式)