首先下载pdf插件
在需要预览的地方用iframe引用pdf.html传file参数即可
<iframe id="iframe" src="/tfpdf/pdf.html?file={$list.file}" style="width: 100%;"></iframe>
首先下载pdf插件
在需要预览的地方用iframe引用pdf.html传file参数即可
<iframe id="iframe" src="/tfpdf/pdf.html?file={$list.file}" style="width: 100%;"></iframe>