<!--
 * @Author: changjun
 * @FilePath: /yuan-qingdao-zld-browser/src/components/ProgressBar/NumberPlateBlockItem.vue
 * @Date: 2022-08-31 15:21:28
 * @Description: 
 * @LastEditTime: 2023-08-31 20:15:28
 * @LastEditors: 曹文丽
-->
<script setup lang="ts">
import { defineProps } from 'vue'
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 ya-primary-text">{{ name }}</div>
      <div class="count ya-regular-text">{{ 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.6500);
      margin-left: 14px;
    }

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