<template>
  <div class="header_banner">
    <div class="header_mid">
      <div class="log">
        <img src="../img/logo.png">
      </div>
      <p>雷克萨斯中国经销商订单管理系统</p>
      <div class="operation_button">
        <div class="back_button" @click="homePage">
          <img src="../img/back.png">
          <p>返回系统选择页面</p>
        </div>
        <div class="login_out" @click="loginOut">
          <img src="../img/loginOut.png">
          <p>退出系统</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    homePage: function() {
      window.location.href = 'https://118.190.206.51/lexus-ms/home';
    },
    loginOut: function() {
      window.location.replace('https://www.lexusdlrmkt.com/admin/logout');
    }
  }
};
</script>

<style scoped lang="less">
.header_banner {
  width: 100%;
  height: 60px;
  background: white;
  .header_mid {
    margin: 0 auto;
    display: flex;
    width: 1190px;
    height: 100%;
    justify-content: space-between;
    .log{
      width: 300px;
      height: 28.7px;
      padding-top: 20px;
      img{
        width: 300px;
        height: 28.7px;
      }
    }
    p{
      padding-top: 20px;
      font-size: 22px;
    }
    .operation_button{
      width: 248px;
      height: 50.8px;
      margin-top: 3px;
      display: flex;
      .back_button{
        width: 112px;
        height: 50.8px;
        text-align: center;
        margin-left: 40px;
        &:hover{
          cursor: pointer;
        }
        img{
          width: 30px;
          height: 30px;
        }
        p{
          padding:0;
          font-size: 14px;
        }
      }
      .login_out{
        margin-left: 40px;
        text-align: center;
        &:hover{
          cursor: pointer;
        }
        img{
          width: 30px;
          height: 30px;
        }
        p{
          padding:0;
          font-size: 14px;
        }
      }
    }
  }
}
@media screen and (max-width: 1190px) {
  .header_banner{
    width: 1190px;
  }
}
</style>
