Forráskód Böngészése

评分详情样式优化

zhouna 5 éve
szülő
commit
e7c814e2a3
2 módosított fájl, 4 hozzáadás és 2 törlés
  1. 3 2
      src/css/qcScore.less
  2. 1 0
      src/js/qcScore.js

+ 3 - 2
src/css/qcScore.less

@@ -303,7 +303,7 @@
         box-sizing: border-box;
         padding-left: 5px;
         &.active{
-          background: #FFF0DA;
+          background: #FEE6C4;
         }
         span{
           line-height: 20px;
@@ -411,7 +411,7 @@
           margin-right: 6px;
         }
         &.active{
-          background: #FFF0DA;
+          background: #FEE6C4;
         }
       }
     }
@@ -575,6 +575,7 @@
 
 /********缺陷总览*********/
 .flaw-table{
+  display: none;
   height: 97%;
   overflow-y: auto;
   /*margin: 0 30px 0 20px;*/

+ 1 - 0
src/js/qcScore.js

@@ -167,6 +167,7 @@ function formatInfoData(k,data){
 function initList(data){
   //$("#flawTotalList").tmpl({title:"缺陷总览",data:data}).appendTo(".flaw-table");
   formatSpecPage(data,"缺陷总览");
+  $(".flaw-table").show();
   $(".flaw-table .page-item[code="+global_activeTab+"]").show();
   $(".slide-up").off("click").on("click",function(){
     const name = $(this).text();