vue 弹出全屏遮罩层

vue 弹出全屏遮罩层

 
.popContainer{
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.3);
      > img{
          width: 100%;
          height: 100%;
          object-fit: contain
  }
  }

你可能感兴趣的:(Vue)