<template>
  <div class="breadcrumbbox">
    <span class="you">您的位置：</span>
    <el-breadcrumb separator-class="el-icon-arrow-right" class="breadcrumb">
      <el-breadcrumb-item>首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{ item }}</el-breadcrumb-item>
      <el-breadcrumb-item v-if="type && type !== ''">{{ type }}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  props: {
    item: String,
    type: String
  },
  components: {},
  data () {
    return {}
  },
  methods: {},
  mounted () {}
}
</script>

<style lang="less" scoped>
.breadcrumbbox {
  width: 100%;
  border: 1px solid #e2e6f6;
  display: flex;
  .you {
    margin: 1% 0 1% 15%;
    color: #000;
  }
  .breadcrumb {
    margin: 1.2%;
  }
}
</style>
