<!-- node title -->
<template>
  <div class="flex-view">
    <div class="view-tp"></div>
    <div class="view-sp">{{ title }}</div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
    }
  }
}
</script>

<style lang="scss" scoped>
@import '~@/styles/font.scss';
.flex-view {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  .view-tp {
    width: 3px;
    height: 15px;
    background: #3D5596;
    box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.1);
    margin-right: 5px;
  }
  .view-sp {
    font-size: 14px;
    color: #212121;
    font-family: 'SourceHanSansCN';
  }
}
</style>
