<template>
  <div class="page-wrapper">
    <BreadCrumb class="page-wrapper-breadcrumb"></BreadCrumb>
    <slot/>
  </div>
</template>

<script>
// 标准页面容器
export default {
  name: 'PageWrapper'
}
</script>

<style scoped lang="scss">
  .page-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;

    ::v-deep .page-wrapper-breadcrumb {
      box-sizing: border-box;
      border-top: 1px solid #f5f5f5;
      background: #fff;
      height: 50px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 0 20px;
    }
  }

</style>
