shaogen1995 3 лет назад
Родитель
Сommit
8ad0d4a4fb
3 измененных файлов с 4 добавлено и 8 удалено
  1. 2 4
      src/pages/scene.vue
  2. 1 2
      src/views/scene/index.vue
  3. 1 2
      src/views/scene1/index.vue

+ 2 - 4
src/pages/scene.vue

@@ -35,10 +35,8 @@ export default {
 
 <style lang="less">
 #app {
-  width: 100%;
-  height: 100vh;
-  min-width: 1918px;
-  min-height: 900px;
+width: 100%;
+height: 100%;
 }
 
 .banbentips{

+ 1 - 2
src/views/scene/index.vue

@@ -64,8 +64,7 @@ export default {
 <style lang="less" scoped>
 .scene-body {
   width: 100%;
-  height: calc(100vh - 80px);
-  margin-top: 80px;
+  height: 100%;
   padding-top: 0;
   position: relative;
   overflow: hidden;

+ 1 - 2
src/views/scene1/index.vue

@@ -20,8 +20,7 @@ export default {
 <style lang="less" scoped>
 .scene-body{
     width: 100%;
-    height: calc(100vh - 80px);
-    margin-top: 80px;
+    height: 100%;
     padding-top: 0;
     position: relative;
     overflow: hidden;