<template>
  <div class="layout">
    <div class="layout-left">
      <slot name="left" />
    </div>
    <div class="layout-center">
      <slot name="center" />
    </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;

  &-right,
  &-left {
    width: 1370px;
    height: 100%;
    z-index: 1;
  }

  &-center {
    width: calc(100% - 1370px - 1370px);
    height: 100%;
    z-index: 1;
    background: url(../assets/img/4.png) no-repeat top center;
    background-size: cover;
  }

}
</style>