compile
This commit is contained in:
@@ -26,3 +26,17 @@ function openPdfFullscreen(pdfUrl) {
|
|||||||
// window.open(pdfUrl, '_blank');
|
// window.open(pdfUrl, '_blank');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<!-- 将iframe放在一个可点击的容器中 -->
|
||||||
|
<div class="pdf-preview" onclick="window.open('cv_tiny.pdf', '_blank')">
|
||||||
|
<iframe
|
||||||
|
src="cv_tiny.pdf#toolbar=0&navpanes=0"
|
||||||
|
width="100%"
|
||||||
|
height="600px"
|
||||||
|
style="border: none; cursor: pointer;"
|
||||||
|
title="点击在新窗口全屏查看PDF">
|
||||||
|
</iframe>
|
||||||
|
<div class="pdf-overlay">
|
||||||
|
<div class="pdf-tooltip">点击在新窗口全屏查看</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user