Browse Source

内容样式修改

zhouna 5 years ago
parent
commit
d4b862b969
2 changed files with 19 additions and 2 deletions
  1. 17 1
      src/css/qcScore.less
  2. 2 1
      src/html/qcScore.html

+ 17 - 1
src/css/qcScore.less

@@ -82,6 +82,7 @@
       width: 100%;
       color: #333333;
       font-size: 16px;
+      text-align: center;
       font-weight: bold;
       height: 44px;
       line-height: 44px;
@@ -90,10 +91,25 @@
     }
     .container{
       margin-top: 45px;
-      padding-top: 20px;
+      padding: 20px 30px 0;
       height: 100%;
       overflow-y: auto;
     }
+    .cont{
+      display: inline-block;
+      min-width: 33%;
+      margin-bottom: 15px;
+      span{
+        line-height: 20px;
+        vertical-align: middle;
+      }
+      .label{
+        display: inline-block;
+        min-width: 70px;
+        font-weight: bold;
+        overflow-x: hidden;
+      }
+    }
   }
   .operation{
     width:28%;

+ 2 - 1
src/html/qcScore.html

@@ -34,7 +34,8 @@
                 {{each(i,val) info}}
                 {{each(k,text) val}}
                 <div class="cont">
-                    <b>${k}:</b>${text}
+                    <span class="label">${k}:</span>
+                    <span>${text}</span>
                 </div>
                 {{/each}}
                 {{/each}}