<template>
  <div class="system-layer">
    <div class="content">
      <component :is="$route.name" />
    </div>
  </div>
</template>

<script>
import login from './login'
import register from './register'
import forget from './forget'

export default {
  components: {
    login,
    register,
    forget
  }
}
</script>

<style lang="scss" scoped>
.system-layer {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: url('~@/assets/image/img_loginbg1.png') no-repeat left bottom;
  background-size: cover;
}

.content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
</style>

<style lang="scss">
.system-layer{
  .input-inner-btn {
    border-color: #26559B !important;
    color: #26559B !important;
  }

  .el-button--primary.is-plain:hover, .el-button--primary.is-plain:focus {
    background: #26559B !important;
    border-color: #26559B !important;
    color: #FFFFFF !important;
  }
}
</style>