소스 검색

预览页面样式修改,灰色标签颜色修改

luolei 5 년 전
부모
커밋
050e1c0cd2
4개의 변경된 파일41개의 추가작업 그리고 12개의 파일을 삭제
  1. 1 1
      src/common/less/variables.less
  2. 26 5
      src/components/Information/index.less
  3. 1 1
      src/components/PreviewBody/index.jsx
  4. 13 5
      src/components/PreviewBody/index.less

+ 1 - 1
src/common/less/variables.less

@@ -18,7 +18,7 @@
 
 @btn-text-color: #fff;
 @text-color: #333;
-@placeholder-color: #bfbfbf;
+@placeholder-color: #716e6e;
 
 @link-hover-decoration: underline;
 

+ 26 - 5
src/components/Information/index.less

@@ -1,18 +1,39 @@
 .title {
   clear: both;
-  font-size: 24px;
-  margin-bottom: 30px;
+  font-size: 22px;
+  margin-bottom: 15px;
   text-align:center;
   padding-top: 15px;
 }
 .patInfo {
-  margin: 0px 0px 30px 0px;
+  margin: 0px 0px 15px 0px;
   td {
     border: 1px solid #aaa;
-    padding: 8px 10px;
+    padding: 4px 8px;
     font-size: 14px;
   }
   tr td:first-child{
-    width: 31%;
+    width: 35%;
   }
 }
+@media print{
+  .title {
+    clear: both;
+    font-size: 22px;
+    margin-bottom: 15px;
+    text-align:center;
+    padding-top: 15px;
+  }
+  .patInfo {
+    margin: 0px 0px 15px 0px;
+    td {
+      border: 1px solid #aaa;
+      padding: 2px 8px;
+      font-size: 12px;
+    }
+    tr td:first-child{
+      width: 36%;
+    }
+  }
+}
+

+ 1 - 1
src/components/PreviewBody/index.jsx

@@ -6,7 +6,7 @@ import Information from '../Information';
 import PreviewInspect from './Inspect';
 import ItemPart from './ItemPart';
 import $ from "jquery";
-import AssessResultHis from '@containers/AssessResultHis'
+import AssessResultHis from '@containers/AssessResultHis';
 
 class PreviewBody extends Component {
   constructor(props) {

+ 13 - 5
src/components/PreviewBody/index.less

@@ -147,11 +147,7 @@ table{
     border-bottom: 1px solid #333;
   }
 }
-@media print{
-  .printBtn {
-    display: none !important;
-  }
-}
+
 .printBtn {
   padding: 10px 20px;
   float: right;
@@ -162,4 +158,16 @@ table{
   cursor: pointer;
   position: absolute;
   right: -40px;
+}
+@media print{
+  .printBtn {
+    display: none !important;
+  }
+  .infos {
+    td {
+      font-size: 12px !important;
+      padding: 4px 5px 4px 0px !important;
+      line-height: 18px !important;
+    }
+  }
 }