Browse Source

全屏样式

dev
yuzongping 1 week ago
parent
commit
fc33414a01
2 changed files with 13 additions and 9 deletions
  1. +5
    -5
      src/App.vue
  2. +8
    -4
      src/style/_base.scss

+ 5
- 5
src/App.vue View File

@@ -1,9 +1,9 @@
<template>
<v-scale-screen width="1920" height="1080">
<div id="app">
<router-view />
</div>
</v-scale-screen>
<!-- <v-scale-screen width="1920" height="1080"> -->
<div id="app">
<router-view />
</div>
<!-- </v-scale-screen> -->
</template>

<script>


+ 8
- 4
src/style/_base.scss View File

@@ -20,8 +20,10 @@ body {

.page {
position: relative;
width: 1920px;
height: 1080px;
width: 100vw;
min-width: 1920px;
height: 100vh;
min-height: 1080px;

.left_side {
position: absolute;
@@ -100,8 +102,10 @@ body {


.screen {
width: 1920px;
height: 1080px;
width: 100vw;
min-width: 1920px;
height: 100vh;
min-height: 1080px;
}

.relative {


Loading…
Cancel
Save