Ver código fonte

保健项目样式修改

zpf 11 meses atrás
pai
commit
f62c201021

+ 7 - 9
src/views/cockpit/bjxm.vue

@@ -175,10 +175,10 @@ export default {
           // }
         },
         grid: {
-          left: '10%',
+          left: '1%',
           right: '10%',
-          bottom: 20,
-          top: 30,
+          bottom: 10,
+          top: 10,
           containLabel: true
         },
         xAxis: {
@@ -392,18 +392,16 @@ export default {
 </script>
 <style lang="scss" scoped>
 .bjxm {
-  border-width: 0px;
   position: absolute;
   width: 430px;
   height: 310px;
-  top: 67%;
+  top: 43rem;
   left: 30rem;
-  background: inherit;
-  border: none;
   border-radius: 0px;
   -webkit-box-shadow: none;
   box-shadow: none;
   z-index: 100;
+  border: 1px red solid;
 }
 
 .title {
@@ -573,7 +571,7 @@ export default {
 #bjxm_echart {
   position: relative;
   top: 0;
-  width: 23.5rem;
-  height: 11rem;
+  width: 25.5rem;
+  height: 13rem;
 }
 </style>

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

@@ -504,16 +504,16 @@ export default {
 
 <style lang="scss"  scoped>
 .hysy {
-    border-width: 0px;
-    position: fixed;
-    left: 55rem;
-    top: 69%;
+    position: relative;
+    left: 57rem;
+    top: 43rem;
     width: 559px;
-    height: 270px;
+    height: 310px;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     z-index: 100;
+    border: 1px solid red;
 }
 
 

+ 1 - 1
src/views/cockpit/tdsy.vue

@@ -710,7 +710,7 @@ export default {
 .tdsy {
   position: relative;
   left: 1rem;
-  top: 43rem;
+  top: 24rem;
   z-index: 100;
   border: 1px red solid;
   width: 416px;