.dr-modal .ant-modal-content {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.dr-modal .ant-modal-header {
  margin-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.dr-modal .ant-modal-header .ant-modal-title {
  width: 100%;
}
.dr-modal-title {
  width: 100%;
}
.dr-modal-footer-default {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 16px;
}
.dr-modal .ant-modal-body {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  /* 使body占据剩余空间 */
  overflow: auto;
  /* 如果内容溢出，可以滚动 */
}
.dr-modal .ant-modal-footer {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.dr-modal-fullpage .ant-modal {
  width: 100% !important;
  top: 0;
  max-width: 100vw;
  padding-bottom: 0;
  height: 100%;
  overflow: hidden;
}
.dr-modal-fullpage .ant-modal .ant-modal-content {
  height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.dr-modal-normal .ant-modal-content {
  margin: 40px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  max-height: calc(100vh - 80px);
}
.dr-modal-normal .ant-modal-header,
.dr-modal-normal .ant-modal-footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  /* 不允许header和footer缩小 */
}
.dr-modal-fixed-height.dr-modal-normal .ant-modal-content {
  height: calc(100vh - 80px);
}
