<template>
  <div class="layout">
    <div class="layout-left">
      <slot name="left" />
    </div>
    <div class="layout-right">
      <slot name="right" />
    </div>
  </div>
</template>
<style lang="scss" scoped>
.layout {
  height: 100%;
  padding: 0 50px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  &-right,
  &-left {
    width: 1345px;
    height: 100%;
    z-index: 1;
  }
  &-left{
    padding-left: 10px;
  }
  &-right{
    padding-right: 10px;
  }
}
</style>