missingReception.sass 4.36 KB
/* packageEquity/pages/missingReception/missingReception.wxss */
page {
  background: #f7f8fa;
}

.layout {
  .flex {
    display: flex;
    align-items: center;
  }

  .box {
    height: calc(100vh - 120rpx - constant(safe-area-inset-bottom));
    height: calc(100vh - 120rpx - env(safe-area-inset-bottom));
    box-sizing: border-box;

    .nothing {
      margin-top: 192rpx;
      flex-direction: column;
      color: #bec1c7;
      font-size: 24rpx;

      .no-data-img {
        width: 172rpx;
        height: 172rpx;
      }
    }

    .content {
      height: calc(100% - 269rpx);

      .info {
        height: 196rpx;
        border-radius: 24rpx;
        background: #ffffff;
        margin: 24rpx 24rpx 8rpx;
        padding: 0 48rpx;
        justify-content: space-between;

        &-item {
          flex-shrink: 0;
          color: #292d33;
          font-size: 26rpx;
          width: 104rpx;
          .num {
            margin-top: 8rpx;
            color: #2c66f7;
            font-size: 48rpx;
            font-weight: 700;
            line-height: 56rpx;
          }
        }
      }

      .title {
        height: 88rpx;
        padding: 0 36rpx;
        font-weight: 500;
        color: #292d33;
        font-size: 28rpx;
      }

      .item {
        height: 336rpx;
        position: relative;
        margin-bottom: 20rpx;
        &:last-of-type{
          margin-bottom: 0;
        }
        .num-box{
          width: 60rpx;
          height: 100%;
          position: absolute;
          left: 0;
          top: 0;
        }
        .num {
          position: absolute;
          top: 8rpx;
          left: 50%;
          transform: translateX(-50%);
          min-width: 32rpx;
          height: 32rpx;
          box-sizing: border-box;
          border-radius: 16rpx;
          border: 2rpx solid #c9c9c9;
          background: #5a5e66;
          padding: 0 10rpx;
          color: #ffffff;
          font-size: 20rpx;
          font-weight: 500;
        }

        .item-content {
          height: 100%;
          border-radius: 16rpx;
          background: #ffffff;
          box-shadow: 0 4rpx 20rpx 0 #0000001a;
          margin: 0 20rpx 0 60rpx;
          padding: 0 40rpx;

          .label {
            color: #292d33;
            font-size: 28rpx;
            line-height: 40rpx;
            padding: 24rpx 0 16rpx;

            .required {
              color: #f24724;
            }
          }

          .value {
            height: 72rpx;
            border-radius: 8rpx;
            border: 2rpx solid #ececec;
            background: #ffffff;
            padding: 0 24rpx;

            .placeholder {
              font-size: 28rpx;
              color: #dee0e3;
            }
            .error{
              color: #f24724;
            }
            .picker,
            .input {
              width: 100%;
              height: 100%;
              font-size: 28rpx;
              position: relative;
              
              .reason {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
              }

              .arrow {
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%) scale(.5) rotate(90deg);
                width: 24rpx;
                height: 48rpx;
                opacity: .5;
              }
            }
          }
          .disabled{
            background: #f7f8fa;
          }
        }
      }

      .block {
        width: 100%;
        height: 20rpx;
      }
      .has-reception-report{
        .required{
          display: none;
        }
      }
    }
  }
  .bespread{
    height: calc(100vh  - constant(safe-area-inset-bottom));
    height: calc(100vh  - env(safe-area-inset-bottom));
  }
  .footer {
    height: 120rpx;
    padding: 0 32rpx constant(safe-area-inset-bottom);
    padding: 0 32rpx env(safe-area-inset-bottom);
    gap: 0 16rpx;
    font-size: 32rpx;
    position: fixed;
    bottom: 0;
    left: 0;

    .cancel {
      width: 226rpx;
      height: 80rpx;
      border-radius: 12rpx;
      border: 2rpx solid #347bff;
      color: #347bff;
      box-sizing: border-box;
      justify-content: center;
    }

    .submit {
      width: 444rpx;
      height: 80rpx;
      border-radius: 12rpx;
      background: #347bff;
      color: #ffffff;
      justify-content: center;
    }
  }
}