<template>
  <div class="container">
    <div class="bg">
      <div class="buttons">
        <div @click="switchUrl">
          <img src="../../../src/assets/images/bi/switch.svg" alt="">
          <span>切换</span>
        </div>
        <div @click="logout">
          <img src="../../../src/assets/images/bi/logout.svg" alt="">
          <span>退出</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    switchUrl() {
      this.$router.push('/BI/index')
    },
    logout() {
      this.$router.push('/index')
    }
  }
}
</script>

<style scoped lang="scss">
.container {
  background-color: #000000;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  .bg {
    width: 1920px;
    height: 1080px;
    background-image: url("../../../src/assets/images/bi/bg2.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;

    .buttons {
      position: absolute;
      top: 30px;
      right: 20px;
      color: #FFFFFF;
      display: flex;
      align-items: center;

      div {
        display: flex;
        align-items: center;
        margin-left: 20px;
        cursor: pointer;

        span {
          margin-left: 10px;
        }
      }
    }
  }
}
</style>
