소스 검색

1.3.3完成

luolei 5 년 전
부모
커밋
fb8dfc7eb7
2개의 변경된 파일17개의 추가작업 그리고 7개의 파일을 삭제
  1. 16 6
      src/css/deptConsole.less
  2. 1 1
      src/html/deptConsole.html

+ 16 - 6
src/css/deptConsole.less

@@ -227,15 +227,15 @@ body.console {
   .monthYear {
     float: right;
     margin-right: 20px;
-    height: 30px;
-    line-height: 30px;
+    height: 28px;
+    line-height: 26px;
     cursor: pointer;
     margin-top: 7px;
     border: 0 none;
     span {
       width: 48px;
       height: 28px;
-      line-height: 28px;
+      line-height: 26px;
       display: inline-block;
       text-align: center;
       font-weight: normal;
@@ -248,15 +248,24 @@ body.console {
       border-left: 0 none;
       border-radius:0 4px 4px 0;
       overflow: hidden;
+      box-sizing: border-box;
     }
     .mon {
       border: 1px solid @secColor;
       border-radius: 4px 0 0 4px;
       border-right: 0 none;
       color: @secColor;
+      box-sizing: border-box;
     }
   }
 }
+.deptConsoleLis {
+  width: 170px;
+  li {
+    width: 170px !important;
+    box-sizing: border-box;
+  }
+}
 .partTitles {
   height: 44px;
   line-height: 44px;
@@ -582,7 +591,7 @@ body.console {
   margin-top: 6px;
   p {
     width: 170px;
-    height: 30px;
+    height: 28px;
     line-height: 28px;
     border: 1px solid #E2E5EF;
     padding-right: 20px;
@@ -591,10 +600,11 @@ body.console {
     font-size: 14px;
     border-radius: 4px;
     font-weight: normal;
+    box-sizing: border-box;
     span {
       width: 155px;
-      height: 30px;
-      line-height: 30px;
+      height: 28px;
+      line-height: 28px;
       display: inline-block;
       overflow: hidden;
       text-overflow: ellipsis;

+ 1 - 1
src/html/deptConsole.html

@@ -17,7 +17,7 @@
       <span class="mon">本月</span>
       <span class="year">本年</span>
     </div> 
-    <div class="toggleSlide fr">
+    <div class="toggleSlide deptConsoleLis fr">
       <p><span>平均住院天数</span><img src="../images/arrow_down.png" alt=""> </p>
       <ul>
         <li class="toggleAverge toggleSlide1" data-str="平均住院天数" data-type="1">平均住院天数</li>