ソースを参照

修改巡检报告打印样式

seimin 2 年 前
コミット
0b4d185064
共有1 個のファイルを変更した7 個の追加3 個の削除を含む
  1. 7 3
      assets/views/inspect/inspectReport.html

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

@@ -149,14 +149,17 @@
149 149
         #print .fm h1{
150 150
           font-size: 80px;
151 151
           margin-top: 40mm;
152
+          text-align: center;
152 153
         }
153 154
         #print .fm h2{
154
-          width: 20px;
155
+          width: 240mm;
155 156
           word-wrap: break-word;
156 157
           font-size: 60px;
158
+          margin-bottom: 200mm;
159
+          text-align: center;
157 160
         }
158 161
         #print .fm h3{
159
-          font-size: 18px;
162
+          font-size: 24px;
160 163
           margin-left: auto;
161 164
           margin-right: 5mm;
162 165
           margin-bottom: 5mm;
@@ -203,7 +206,8 @@
203 206
       </style>
204 207
       <div class="fm">
205 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 211
         <h3>批次号:{{queryList.batchNo?queryList.batchNo.name:''}}</h3>
208 212
       </div>
209 213
       <table>