dateBox.sass 1.2 KB
/* packageEquity/pages/aiInspection/components/dateBox/dateBox.wxss */
.date-box {
  height: var(--fontSize88);
  background-color: #fff;
  display: flex;
  align-items: center;
  font-size: var(--fontSize28);
  color: #181A1F;
  padding: 0 var(--fontSize32);
  position: relative;

  .date-btn {
    display: flex;
    align-items: center;
    line-height: var(--fontSize40);
    .icon {
      width: var(--fontSize32);
      height: var(--fontSize32);
      margin-right: var(--fontSize8);
    }
  }

  .date-val {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: calc(276 / 750 * 100%);
    height: var(--fontSize64);
    background: #F7F8FA;
    border-radius: var(--fontSize8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: var(--fontSize28);
    color: #181A1F;
    line-height: var(--fontSize40);
    padding:0 var(--fontSize24);
    box-sizing: border-box;
    .icon{
      width: var(--fontSize40);
      height: var(--fontSize40);
      margin-left: var(--fontSize2);
    }
  }

  .next {
    margin-left: auto;
    .icon{
      margin-left: var(--fontSize8);
      margin-right: 0;
    }
  }
}