This commit is contained in:
shi
2025-11-15 10:08:05 +08:00
parent 087535587c
commit 12bd03da73
2 changed files with 24 additions and 6 deletions

View File

@ -89,6 +89,7 @@ $vh_base: 1080;
gap: vh(20);
width: 100%;
height: 100%;
padding-bottom: vh(20);
}
.statistic {

View File

@ -1,21 +1,24 @@
<template>
<div class="ueScreen">
<Header />
<LeftPage />
</div>
<div class="right">
<Right />
<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);
@ -33,11 +36,25 @@ $vh_base: 1080;
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: vh(60);
top: 0;
right: vw(20);
width: 25vw;
height: calc(100vh - vh(80));
height: 100%;
}
</style>