shuhao 5 months ago
parent
commit
8087d7956b
1 changed files with 11 additions and 3 deletions
  1. 11 3
      src/views/authentic/Pdf.vue

+ 11 - 3
src/views/authentic/Pdf.vue

@@ -41,8 +41,10 @@
               </tr>
             </table>
             <div class="a4_sub_title">地块四至图</div>
-            <img class="img" style="z-index: 9999" width="595" height="500" v-if="imgUrl"  :src="imgUrl" />
-            <div class="img" v-if="!imgUrl" ref="mapRef" id="mapRefId"></div>
+            <div class="img_box" >
+              <img class="img-content" style="z-index: 9999" width="595" height="500" v-if="imgUrl"  :src="imgUrl" />
+              <div class="img-content" v-if="!imgUrl" ref="mapRef" id="mapRefId"></div>
+            </div>
             <div class="signature">签名:______________</div>
           </div>
         </div>
@@ -256,10 +258,16 @@ $body-height:calc(100% - $title-height);
         box-sizing: border-box;
       }
     }
-    .img{
+    .img_box{
+      position: relative;
       width:595px;
       height: 500px;
       z-index: 1000;
+      .img-content{
+        position: absolute;
+        width:595px;
+        height: 500px;
+      }
     }
     .signature{
       width:595px;