<template>
  <div class="div_content">
    <div class="div_content_key_value">
      <span class="span_key">违规事项：</span>
      <span class="span_value" style="color: #EE4444">{{reward.item}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">处罚范围：</span>
      <span class="span_value">{{reward.range}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">处罚周期：</span>
      <span class="span_value">{{reward.cycle}}</span>
    </div>
    <div class="div_content_key_value">
      <span class="span_key">处罚结果：</span>
      <span class="span_value">{{reward.result}}</span>
    </div>

  </div>
</template>

<script>
  export default {
    name: "providerResultItem",
    props:{
      reward:{
        type:Object,
      }
    }
  }
</script>

<style scoped>
  .div_content {
    display: flex;
    flex-direction: column;
    padding: 5px 15px 15px;
    margin: 0 15px 10px;
    background-color: white;
    border-radius: 5px;
  }

  .div_title {
    display: flex;
    flex-direction: row;
    flex-flow: nowrap;
    align-items: center;
  }

  .span_title {
    color: #333333;
    font-size: 16px;
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
  }

  .div_content_key_value {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
  }

  .span_key {
    color: #999999;
    font-size: 12px;
    width: 60px;
  }

  .span_value {
    color: #999999;
    font-size: 12px;
    margin-left: 5px;
    flex: 1;
  }
</style>
