Browse Source

修改巡检报告打印样式

seimin 2 years ago
parent
commit
0b4d185064
1 changed files with 7 additions and 3 deletions
  1. 7 3
      assets/views/inspect/inspectReport.html

+ 7 - 3
assets/views/inspect/inspectReport.html

@@ -149,14 +149,17 @@
149
         #print .fm h1{
149
         #print .fm h1{
150
           font-size: 80px;
150
           font-size: 80px;
151
           margin-top: 40mm;
151
           margin-top: 40mm;
152
+          text-align: center;
152
         }
153
         }
153
         #print .fm h2{
154
         #print .fm h2{
154
-          width: 20px;
155
+          width: 240mm;
155
           word-wrap: break-word;
156
           word-wrap: break-word;
156
           font-size: 60px;
157
           font-size: 60px;
158
+          margin-bottom: 200mm;
159
+          text-align: center;
157
         }
160
         }
158
         #print .fm h3{
161
         #print .fm h3{
159
-          font-size: 18px;
162
+          font-size: 24px;
160
           margin-left: auto;
163
           margin-left: auto;
161
           margin-right: 5mm;
164
           margin-right: 5mm;
162
           margin-bottom: 5mm;
165
           margin-bottom: 5mm;
@@ -203,7 +206,8 @@
203
       </style>
206
       </style>
204
       <div class="fm">
207
       <div class="fm">
205
         <h1>巡&nbsp;&nbsp;检&nbsp;&nbsp;报&nbsp;&nbsp;告</h1>
208
         <h1>巡&nbsp;&nbsp;检&nbsp;&nbsp;报&nbsp;&nbsp;告</h1>
206
-        <h2>{{queryList.title?queryList.title.title.split('').join('&nbsp;'):''}}</h2>
209
+          <!-- <div class="h2">{{queryList.title?queryList.title.title.split('').join('&nbsp;'):''}}</div> -->
210
+        <h2>我&nbsp是&nbsp你&nbsp的&nbsp小&nbsp平&nbsp阿&nbsp松&nbsp大&nbsp大&nbsp大&nbsp大</h2>
207
         <h3>批次号:{{queryList.batchNo?queryList.batchNo.name:''}}</h3>
211
         <h3>批次号:{{queryList.batchNo?queryList.batchNo.name:''}}</h3>
208
       </div>
212
       </div>
209
       <table>
213
       <table>