.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5); /* 背景遮罩 */
}

body.modal-open {
  overflow: hidden;
}

.modal.show {
  display: block;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
  /* pointer-events: none; */
  height: 80%;
  top: 10%;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.3rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  pointer-events: auto;
  padding: 1rem;
}
