<template>
  <div class="ueScreen">
    <Header />
    <div class="content_box">
      <LeftPage class="left" />
      <!-- <div>ue</div> -->
      <RightPage class="right" />
    </div>
  </div>
</template>

<script setup lang="ts">
import Header from './components/header.vue';
import LeftPage from './components/leftPage.vue';
import RightPage from './components/rightPage.vue';
</script>

<style scoped lang="scss">
$vm_base: 1920;
$vh_base: 1080;

// 计算vw
@function vw($px) {
  @return calc(($px / $vm_base) * 100vw);
}

// 计算vh
@function vh($px) {
  @return calc(($px / $vh_base) * 100vh);
}

.ueScreen {
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 7, 17, 0.8);
  color: #fff;
}

.content_box {
  position: relative;
  width: 100vw;
  height: calc(100vh - 8vh);
}

.left {
  position: absolute;
  top: 0;
  left: vw(20);
  width: 25vw;
  height: 100%;
}

.right {
  position: absolute;
  top: 0;
  right: vw(20);
  width: 25vw;
  height: 100%;
}
</style>
