This commit is contained in:
ljx
2025-11-14 18:59:59 +08:00
parent 20afedd3d1
commit 79d77d16c6
3 changed files with 145 additions and 5 deletions

View File

@ -9,7 +9,17 @@ import Header from './components/header.vue';
</script>
<style scoped lang="scss">
@import '@/views/ueScreen/gis.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;