<template>
  <div class="top_title">
    {{ title }}
  </div>
</template>

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

    }
  },
}
</script>

<style lang="less" scoped>
.top_title {
  font-family: 'Microsoft YaHei Regular', 'Microsoft YaHei';
  font-size: 20px;
  color: #000;
  padding-left: 20px;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: 8px;
    background: #348eff;
  }
}
</style>