  <template>
  <div class="all">
  <!-- 头部区域上-->
    <div class="head">
        <div class="logo">AI升学测评分析平台</div>
        <div class="headRight">
            <i class="ico"></i> |
            <span class="photo"></span>
            <span class="name">你好</span> |
            <a href="#" class="logout" @click="logout" >退出</a>
        </div>
    </div>
     
        <div class="footer"><p>copyright@2013-2019 All Right</p></div>
    </div>
  </template>
  
 <script>
 export default {
    data(){
       return {

       }
    },
    methods:{
        logout(){
            this.$router.push('/login')
        }
    }
    
    }
 
 </script>
  <style style="less" scoped>
  .head {
    overflow: hidden;
    width: 100%;
    height: 68px;
    background-color: #529BFF;
    line-height: 68px;
    color: #fff;
}
.logo {
    font-size:16px;
    float: left;
    width: 20%;
    line-height:40px;
    font-weight: 900;
    height: 40px;
    /* background-color: pink; */
    margin-left: 10px;
   margin-top: 15px;
}

.headRight {
    float: right;
font-size: 12px;

}
.ico {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background-color: pink;
    
}
.photo {
     display: inline-block;
     vertical-align: middle;
    width: 42px;
    height: 42px;
    background-color: pink;
    margin: 0 5px;
    border-radius: 50%;
}
.logout {
    color: #fff;
    margin-right: 15px;
}

.all {
 position: relative;
}
.footer {
    color: #B1B9CF;
   position:fixed ;
  bottom: -8px;;
   left: 50%;
   transform: translateX(-50%);
   z-index:-999;

}


  </style>