<template>
  <div id="top">
    <el-row>
      <el-col class="info">
        <el-col :span="1" class="home">
          <i class="el-icon-s-home"></i>
        </el-col>
        <el-col :span="23">
          <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/' }"> 我的主页</el-breadcrumb-item>
            <el-breadcrumb-item>{{ topTitle }}</el-breadcrumb-item>
          </el-breadcrumb>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'top',
  props: {
    topTitle: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.info {
  height: 40px;
  line-height: 40px;
}
.home {
  text-align: center;
}
/deep/.el-breadcrumb {
  line-height: 40px;
}
</style>
