提交
This commit is contained in:
BIN
src/assets/ueimg/bj.png
Normal file
BIN
src/assets/ueimg/bj.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 MiB |
BIN
src/assets/ueimg/xuyi.png
Normal file
BIN
src/assets/ueimg/xuyi.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 502 KiB |
@ -67,6 +67,11 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|||||||
component: () => import('@/views/largeScreen/index.vue'),
|
component: () => import('@/views/largeScreen/index.vue'),
|
||||||
hidden: true
|
hidden: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/ueScreen',
|
||||||
|
component: () => import('@/views/ueScreen/index.vue'),
|
||||||
|
hidden: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
|
|||||||
11
src/views/ueScreen/gis.scss
Normal file
11
src/views/ueScreen/gis.scss
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
$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);
|
||||||
|
}
|
||||||
15
src/views/ueScreen/index.vue
Normal file
15
src/views/ueScreen/index.vue
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<div class="ueScreen">大屏</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts"></script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
@import './gis.scss';
|
||||||
|
.ueScreen {
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: rgba(4, 7, 17, 0.8);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user