Files
maintenance_system/src/views/ueScreen/index.vue

44 lines
705 B
Vue
Raw Normal View History

2025-11-14 16:34:39 +08:00
<template>
2025-11-14 16:46:34 +08:00
<div class="ueScreen">
<Header />
<LeftPage />
2025-11-14 16:46:34 +08:00
</div>
2025-11-14 19:01:12 +08:00
<div class="right">
<Right />
</div>
2025-11-14 16:34:39 +08:00
</template>
2025-11-14 16:46:34 +08:00
<script setup lang="ts">
import Header from './components/header.vue';
import LeftPage from './components/leftPage.vue';
2025-11-14 16:46:34 +08:00
</script>
2025-11-14 16:34:39 +08:00
2025-11-14 16:38:51 +08:00
<style scoped lang="scss">
2025-11-14 19:01:12 +08:00
$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);
}
2025-11-14 16:34:39 +08:00
.ueScreen {
width: 100vw;
height: 100vh;
background-color: rgba(4, 7, 17, 0.8);
color: #fff;
}
2025-11-14 19:01:12 +08:00
.right {
position: absolute;
top: vh(60);
right: vw(20);
width: 25vw;
height: calc(100vh - vh(80));
}
2025-11-14 16:34:39 +08:00
</style>