<template>
  <el-container>
    <el-header>
      <div class="logo">
        <img src="https://static.caimei365.com/www/authentic/h5/icon-logo.png" class="image">
        <span class="name">认证通</span>
      </div>
    </el-header>
    <el-main>
      <router-view />
    </el-main>
    <el-footer>- 由采美网提供技术支持 -</el-footer>
  </el-container>
</template>

<script>
export default {

}
</script>

<style scoped lang="scss">

$header-height: 80px;
$footer-height: 124px;

.el-container{
  background: #f1f1f1;
}

.el-header{
  height: $header-height !important;
  background: linear-gradient(270deg, #404040 0%, #101010 100%);
}

.el-main{
  position: relative;
  min-height: calc(100vh - 80px - 124px);
  box-sizing: border-box;
}

.header {
  height: $header-height;
  opacity: 1;
}

.el-footer {
  height: $footer-height !important;
  background: #2c3038;
  color: #fff;
  text-align: center;
  line-height: $footer-height;
  font-size: 14px;
}

.logo{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  .image{
    display: inline-block;
    width: 36px;
    height: 36px;
  }
  span{
    margin-left: 8px;
    font-size: 24px;
    color: #fff;
  }
}
</style>
