提交
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user