Popup.wxss 1.61 KB
/* tabWorkOrder/pages/createOrder/createOrderComponents/Popup/Popup.wxss */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 998;
}

.popup-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .7);
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  position: absolute;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--fontSize20) var(--fontSize20) 0 0;
  animation: show-popup .5s forwards;
  box-sizing: border-box;
  padding: 0 var(--fontSize32);
}

.popup-title {
  height: var(--fontSize98);
  font-size: var(--fontSize32);
  color: #333333;
  border-bottom: var(--fontSize2) solid #EBEDF0;
}

.popup-slot {
  height: calc(100% - var(--fontSize214));
}

.popup-slot.isFullSucreen {
  height: calc(100% - var(--fontSize282));
}

.popup-slot.isFullSucreen-notitle {
  height: calc(100% - var(--fontSize184));
}

.popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--fontSize20) 0;
}

.popup-footer.isFullSucreen {
  padding-bottom: var(--fontSize68) !important;
}

.popup-footer .btn {
  width: var(--fontSize330);
  height: var(--fontSize80);
  box-sizing: border-box;
  border-radius: var(--fontSize12);
  font-size: var(--fontSize32);
}

.popup-footer .cancel {
  /* color: #323233;
  border: var(--fontSize2) solid #DCDEE0; */
  color: #292D33;
  background: #F7F8FA;
}

.popup-footer .confirm {
  background: #347BFF;
  color: #fff;
}

@keyframes show-popup {
  0% {
    bottom: -100%;
  }

  100% {
    bottom: 0;
  }
}