Browse Source

空间规划指标样式调整

maxiaoxiao 4 months ago
parent
commit
ad771c5011
1 changed files with 13 additions and 13 deletions
  1. 13 13
      src/views/cockpit/kjgh.vue

+ 13 - 13
src/views/cockpit/kjgh.vue

@@ -206,15 +206,16 @@ export default {
 
 .icon {
   width: 50px;
-  padding: 1.5% 15px;
+  // padding: 1.5% 15px;
   border-radius: 8px;
-  display: inline-block;
-  height: 50px
+  // display: inline-block;
+  height: 50px;
+  margin: 0 auto;
 }
 
 .box_bottom {
-  position: fixed;
-  width: 25vw;
+  // position: fixed;
+  width: 100%;
   height: 5vh;
   background: no-repeat;
   background-image: url("/static/images/overview/gkzb_back.png");
@@ -237,17 +238,17 @@ export default {
 }
 
 .box_text {
-  width: 23.4375vw;
-  margin-left: 4.5rem;
+  width: 100%;
+  // margin-left: 4.5rem;
 
   p {
     font-size: 12px;
-    position: relative;
-    right: 3rem;
+    // position: relative;
+    // right: 3rem;
   }
 
   .text {
-    width: 160px;
+    width: 180px;
 
   }
 }
@@ -334,9 +335,8 @@ export default {
 
 .text {
   display: inline-block;
-  // border: #00FFFF 1px solid;
-  width: 130px;
-
+  width: 100%;
+  text-align: center; 
   p {
     font-kerning: normal;
     font-family: 'Arial Negreta', 'Arial Normal', 'Arial';