<template>
  <div class="header">
    <div class="tag">
      <div class="left">
        <span @click="home" style="cursor: pointer;">首页</span> > 数据
      </div>
      <div class="right">
        <div class="operational-data">下载PDF</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    home() {
      this.$router.push({ path: "/" });
    }
  }
};
</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: center;
  align-items: center;
  padding: 0px 50px;
  .tag {
    max-width: 1180px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-family: Helvetica;
    color: rgba(51, 51, 51, 1);
    line-height: 17px;
  }
  .right {
    display: flex;
    flex-direction: row;
    .operational-data {
      width: 88px;
      height: 30px;
      font-size: 12px;
      font-family: STYuanti-SC-Regular, STYuanti-SC;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
      background: rgba(78, 93, 255, 1);
      border-radius: 15px;
      line-height: 30px;
      text-align: center;
      cursor: pointer;
    }
  }
}
</style>