<template>
  <div style="background-color: #eee;min-width: 1200px;">
    <div class="layout">
      <div class="layout-hd">
        <slot name="header">
          <h1 class="title">在线报名</h1>
        </slot>
      </div>
      <div class="layout-bd">
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  head: {
    meta: [{ hid: 'viewport', name: 'viewport', content: '' }]
  }
}
</script>
<style lang="scss" scoped>
.layout {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.layout-hd {
  .title {
    padding: 20px 0;
    font-size: 18px;
    line-height: 1;
    color: var(--main-color);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--main-color);
  }
}
.layout-bd {
  margin: 20px 0;
}
::v-deep .v-layout-aside {
  position: relative;
  min-height: 410px;
  align-self: flex-start;
  .aside-logout {
    span {
      display: inline-block;
      background: url('https://webapp-pub.ezijing.com/project/application/images/icon_logout.png') no-repeat left center;
      background-size: 18px 17px;
      padding-left: 33px;
    }
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 10px;
    padding: 12px;
    font-size: 12px;
    color: #999;
    text-align: center;
    border-top: 1px solid #eee;
    cursor: pointer;
  }
  .aside-payment {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    margin: 0 10px;
    padding: 12px;
    font-size: 12px;
    color: #57acff;
    text-align: center;
  }
}
</style>
