Browse Source

设备设施 系统选择 1366适配

yx 4 years ago
parent
commit
dc736126af
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/views/equipment/index.vue

+ 7 - 1
src/views/equipment/index.vue

@@ -182,7 +182,7 @@ export default {
     overflow: hidden;
     color: #1f2429;
     .eq-top {
-        // margin-left: 260px;
+        margin-left: 260px;
         padding-top: 24px;
         position: fixed;
         z-index: 3;
@@ -349,6 +349,12 @@ export default {
         }
     }
 }
+@media screen and (max-width: 1366px) {
+    /*当屏幕尺寸小于1366px时,应用下面的CSS样式*/
+    .eq-top {
+        margin-left: 0 !important;
+    }
+}
 </style>
 <style lang="less">
 .el-table {