<template>
  <div class="wrapper">
    <header class="header">
      <div class="header-logo">
        <a href="https://www.ezijing.com">
          <img src="https://zws-imgs-pub.ezijing.com/pc/base/logo.svg" height="50" />
        </a>
      </div>
    </header>
    <section class="main">
      <div class="main-box">
        <router-view></router-view>
      </div>
    </section>
    <footer class="footer"><p class="t1">Copyright © 2020 Zijing Education. All rights reserved.</p></footer>
  </div>
</template>

<style lang="scss" scoped>
.wrapper {
  padding: 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url('../assets/bg.jpg') no-repeat 50%;
  background-size: cover;
  box-sizing: border-box;
}
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-box {
  width: 380px;
  padding: 60px 40px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 2px 10px #999;
  border-radius: 4px;
  box-sizing: border-box;
}
.footer {
  padding: 20px 10px;
  .t1 {
    text-align: right;
    color: #d3d3d3;
  }
}
::v-deep .title {
  font-weight: normal;
  text-align: center;
  font-size: 20px;
  color: #353535;
  margin-bottom: 23px;
}
@media (max-width: 768px) {
  .wrapper {
    padding: 20px;
  }
}
</style>
