alert.wxss 620 Bytes
.modal-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.5;
  overflow: hidden;
  z-index: 9000;
}

.modal-dialog {
  height: 400rpx;
  width: 540rpx;
  overflow: hidden;
  position: fixed;
  top: 40%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: white;
  border-radius: 20rpx;
  overflow: visible;
}

.modal-icon {
  position: absolute;
  height: 138rpx;
  width: 138rpx;
  border: #000 2rpx solid;
  border-radius: 70rpx;
  background-color: white;
  left: 50%;
  transform: translate(-50%, -42%);
}