<template>
  <div id="top-header">
    <div class="center-title">{{ title }}</div>
  </div>
</template>

<script>
export default {
  name: 'TopHeader',
  props:{
    title:{
      type:String,
      default:'生产管控综合数据'
    }
  }
}
</script>

<style lang="less">
#top-header {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  background: url('../../../assets/kban/logo.png') no-repeat;
  background-size: 86% 100%;

  .center-title {
    width: 100%;
    height: 60px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    line-height: 60px;
  }
}
</style>
