.page-income-details {
  padding-bottom: 30rpx;
  /* 总收益 */
  .total-revenue {
    padding: 50rpx 30rpx;
    position: relative;
    color: #fff;
    .bg {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 290rpx;
      font-size: 0;
      background: linear-gradient(to right, #f74d45, #ff6d51);
    }
    .text-box {
      position: relative;
      display: flex;
      align-items: center;
      .text {
        font-size: 26rpx;
      }
      .price {
        color: #fff;
        font-size: 36rpx;
        margin-left: 20rpx;
        align-items: center;
      }
    }
    .withward {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,.15);
      padding: 14rpx 20rpx 14rpx 30rpx;
      border-radius: 30rpx 0 0 30rpx;
    }
  }
  .number-box {
    background: #fff;
    position: relative;
    margin: 0 30rpx;
    border-radius: 10rpx;
    padding: 50rpx 0;
    box-shadow: 0 10rpx 20rpx rgba(0,0,0,.05);
    display: flex;
    flex-wrap: wrap;
    .item {
      width: 50%;
      margin-top: 50rpx;
      text-align: center;
      &:nth-child(1),&:nth-child(2) {
        margin-top: 0;
      }
      .price {
        justify-content: center;
        font-size: 36rpx;
        color: #333;
      }
      .text {
        font-size: 26rpx;
        margin-top: 16rpx;
        color: #999;
      }
    }
  }

  /* 明细 */
  .details {
    padding: 20rpx 60rpx;
    .item {
      padding: 30rpx 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 2rpx solid #f9f9f9;
      .text,.number{
        font-size: 28rpx;
      }
      .right{
        text-align: right;
      }
      .time,.state{
        margin-top: 10rpx;
        color: #999;
      }
      .state{
        &.red{
          color: #fc1b35;
        }
      }
      .number{
        &.red{
          color: #fc1b35;
        }
        &.gray{
          color: #666;
        }
      }
    }
  }
}