iframe 弹窗预览pdf文件
let url = '预览的pdf路径'
<div id="pdfView" style="position: fixed;top:0;left:0;width:100%;height:100%">
<div id="pdfContent">
<iframe src="'+ url +'" style="width: 100vw; height: 100vh"></iframe>
</div>
<button style="position: fixed;bottom:20px;right:20px;z-index: 99;background: #db1e1e;color: #fff" id="closeContent">关闭</button>
</div>