DatePicker.wxss 2.13 KB
/* components/DatePicker/DatePicker.wxss */
.fixed-box {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 998;
  perspective: 99999999px;
}

.fixed-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  animation: show-bg .1s forwards .5s;
}

@keyframes show-bg {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }

  100% {
    background-color: rgba(0, 0, 0, .6);
  }
}

.fixed-content {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #FFFFFF;
  border-radius: var(--fontSize20);
  width: var(--fontSize622);
  animation: show-modal .5s forwards;
}

@keyframes show-modal {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, -99999999px);
  }

  100% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
  }
}

.fixed-content .fixed-title {
  height: var(--fontSize96);
  font-size: var(--fontSize32);
  color: #333333;
}


.fixed-date-box .fixed-body {
  height: var(--fontSize360);
  display: flex;
}

.fixed-date-box .picker {
  width: 50%;
  height: 100%;
}

.fixed-date-box .picker .view {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fontSize36);
  color: #323233;
}
.fixed-date-box .picker .view.disabled{
  opacity: 0.5;
}


.fixed-date-box .indicator {
  height: var(--fontSize96);

}

.fixed-date-box .picker .tips {
  font-size: var(--fontSize20);
  color: rgba(100, 101, 102, .5);
  margin-left: var(--fontSize10);
}

.fixed-content .fixed-footer {
  height: var(--fontSize96);
  display: flex;
  align-items: center;
  position: relative;
}

.fixed-content .fixed-footer .text-center {
  width: 50%;
  height: 100%;
  font-size: var(--fontSize32);
  color: #333333;
}

.fixed-content .fixed-footer .fixed-confirm {
  color: #347BFF;
}

.fixed-content .fixed-footer::after {
  background-color: #EBEDF0;
  width: var(--fontSize1);
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: '';
}
.text-center{
  display: flex;
  justify-content: center;
  align-items: center;
}