record.scss 2.22 KB
/* packageActivity/pages/redEnvelope/record/record.wxss */
page {
  background-color: #F6F6F7;
}

.layout {
  padding: 20rpx 30rpx;

  .item {
    height: 190rpx;
    background: #FFFFFF;
    border-radius: 8rpx;
    margin-bottom: 20rpx;
    box-sizing: border-box;
    position: relative;
    font-size: 28rpx;

    .status {
      position: absolute;
      right: 20rpx;
      top: 20rpx;
      font-weight: 500;
      color: #52C41A;

      &-0,
      &-1,
      &-6,
      &-8 {
        color: #ff9909;
      }

      &-3,
      &-5,
      &-7 {
        color: #999999;
      }
    }
    .info{
      max-width: 380rpx;
    }
    .icon {
      width: 128rpx;
      height: 128rpx;
      margin: 0 16rpx 0 24rpx;
    }

    .name {
      font-weight: 500;
      color: #333333;
      line-height: 28rpx;
    }

    .price {
      color: #ec3c1f;
      font-size: 34rpx;
      font-weight: 500;
      display: flex;
      align-items: baseline;
      line-height: 44rpx;

      .unit {
        font-size: 24rpx;
      }
    }

    .time {
      font-size: 24rpx;
      color: #999999;
      line-height: 34rpx;
      margin-top: 12rpx;
    }

    .btn {
      min-width: 96rpx;
      height: 52rpx;
      padding: 0 20rpx;
      background: #3772EC;
      border-radius: 26rpx;
      position: absolute;
      right: 20rpx;
      bottom: 32rpx;
      color: #fff;
    }
  }
}

.code-box {
  justify-content: center;
  height: 100%;
  flex-direction: column;

  .content {
    width: 590rpx;
    height: 482rpx;
    background: #FFFFFF;
    border-radius: 44rpx;
    flex-direction: column;

    .title {
      font-weight: 600;
      font-size: 40rpx;
      color: #666666;
      padding: 74rpx 0 54rpx;
    }

    .code {
      font-weight: 700;
      font-size: 96rpx;
      color: #3772EC;
      letter-spacing: 20rpx;
    }

    .tips {
      width: 428rpx;
      height: 52rpx;
      background: #EEEEEE;
      border-radius: 26rpx;
      font-size: 28rpx;
      color: #666666;
      margin-top: 12rpx;
    }
  }

  .close {
    width: 72rpx;
    height: 72rpx;
    margin-top: 42rpx;
  }
}

.nothing {
  font-weight: 500;
  font-size: 13px;
  color: #999999;
  flex-direction: column;

  .icon {
    width: 422rpx;
    height: 380rpx;
    margin: 208rpx 0 32rpx;
  }
}