<template>
  <div class="header">
    <div class="logo">
      <img class="logo-img" src="../assets/images/diaoyanbao-log.png" alt="">调研宝</div>
    <div class="right">
      <div class="operational-data">去“看板”查看测试运营数据</div>
      <el-dropdown placement="bottom" trigger="click">
        <div class="userinfo">用户名 <i class="el-icon-caret-bottom"></i></div>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item>退出</el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>

    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="less" scoped>
.header {
  z-index: 1;
  position: fixed;
  top: 0px;
  width: 100%;
  height: 60px;
  box-shadow: 0 2px 8px 0 rgba(62, 67, 116, 0.1);
  border-bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px 50px;
  .logo {
    display: flex;
    flex-direction: row;
    line-height: 30px;
    .logo-img {
      width: 30px;
      height: 30px;
      margin-right: 6px;
      border-radius: 15px;
    }
  }
  .right {
    display: flex;
    flex-direction: row;
    .operational-data {
      width: 240px;
      height: 34px;
      background: #e6edff;
      border-radius: 17px;
      font-size: 16px;
      color: #4e5dff;
      line-height: 34px;
      text-align: center;
      margin-right: 46px;
    }
    .userinfo {
      width: 132px;
      height: 34px;
      line-height: 34px;
      text-align: center;
      margin-right: 22px;
    }
  }
}
</style>