Browse Source

样式调整

zpf 1 year ago
parent
commit
0e00132d71
2 changed files with 6 additions and 7 deletions
  1. 3 2
      src/views/cockpit/bjxm.vue
  2. 3 5
      src/views/cockpit/hysy.vue

+ 3 - 2
src/views/cockpit/bjxm.vue

@@ -394,8 +394,9 @@ export default {
 <style lang="scss" scoped>
 .bjxm {
   position: absolute;
-  width: 22rem;
-  height: 19rem;
+  width: 22vw;
+  border: 1px solid red;
+  height: 17rem;
   top: 38.5rem;
   left: 26.5rem;
   border-radius: 0px;

+ 3 - 5
src/views/cockpit/hysy.vue

@@ -166,8 +166,9 @@ export default {
 .hysy {
     position: absolute;
     top: 38.4rem;
-    left: 47.5rem;
-    width: 23rem;
+    left: 49.5vw;
+    width: 24vw;
+
     height: 17rem;
     z-index: 100;
     border: 1px solid red;
@@ -223,7 +224,4 @@ export default {
         color: #68f4fb;
     }
 }
-
-
-
 </style>