<!--
 * @Author: changjun
 * @FilePath: /yuan-qingdao-zld-browser/src/components/ProgressBar/NumberPlateBlockItem.vue
 * @Date: 2022-08-31 15:21:28
 * @Description: 
 * @LastEditTime: 2022-11-04 15:30:10
 * @LastEditors: 曹文丽 caowenli@yuan-info.com
-->
<script setup lang="ts">
import NumberPlate from "./NumberPlate.vue";

interface OrgConBlockProps {
  name: string;
  count: string | number;
  number: string | number;
  unit?: string;
}

const { number = "", name, count } = defineProps<OrgConBlockProps>();
</script>

<template>
  <div class="org-con-block">
    <div class="item">
      <NumberPlate :number="number" />
      <div class="name">{{ name }}</div>
      <div class="count">{{ count }}</div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.org-con-block {
  display: flex;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  border-bottom: 1px solid #ebebeb;

  .item {
    display: flex;
    align-items: center;
    width: 100%;

    .name {
      font-size: 14px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.65);
      margin-left: 14px;
    }

    .count {
      font-size: 14px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.65);
      margin-left: auto;
    }
  }
}
</style>
