Ver Fonte

样式调整

gcz há 2 anos atrás
pai
commit
d6e2fb3719

+ 3 - 0
src/assets/scss/media.scss

@@ -1,4 +1,7 @@
 @media only screen and (max-width : 1200px) {
+    .left-wrap{
+        width: 400px;
+    }
     //小班滚动
     .right-wrap{
         .scroll-board-wrap{

+ 3 - 45
src/components/numerical.vue

@@ -79,7 +79,7 @@
         }
     }
 }
-@media only screen and (max-width : 1200px) {
+@media only screen and (max-width : 1280px) {
   //概况
     .numerical{
 
@@ -87,29 +87,10 @@
             .numerical-item{
                 padding: 0 0 15px 5px;
                 .name{
-                    font-size: 14px;
-                }
-                .number{
-                    font-size: 20px;
-                }
-                .unit{
-                    font-size: 14px;
-                }
-            }
-        }
-    }
-}
-@media only screen and (max-height:900px) {
-    .numerical{
-
-        .item-wrap{
-            .numerical-item{
-                padding: 0 0 15px 5px;
-                .name{
-                    font-size: 14px;
+                    font-size: 16px;
                 }
                 .number{
-                    font-size: 20px;
+                    font-size: 24px;
                 }
                 .unit{
                     font-size: 16px;
@@ -117,29 +98,6 @@
             }
         }
     }
-
 }
-@media only screen and (min-height : 768px) and (max-width : 1024px) {
 
-    .numerical{
-
-        .item-wrap{
-            .numerical-item{
-                padding: 0 0 15px 5px;
-                .name{
-                    font-size: 14px;
-                }
-                .number{
-                    font-size: 14px;
-                    margin-right: auto;
-                }
-                .unit{
-                    font-size: 14px;
-                }
-            }
-        }
-    }
-
-
-}
 </style>

+ 1 - 1
src/dataSchema/scrollEventSchema.js

@@ -16,7 +16,7 @@ let scrollEventSchema = {
     oddRowBGC: 'transparent',//奇数行背景色
     evenRowBGC: 'rgba(0,175,169,.15)',//偶数行背景色	
     align: ['center', 'center', 'center', 'center', 'center'],//列对齐方式
-    columnWidth: [95, 150],
+    columnWidth: [95, 120],
     rowNum: 5,//表行数	
 }
 export default scrollEventSchema