图片预览可在viewjs中大图预览&翻页

This commit is contained in:
陈精华
2019-04-26 14:10:37 +08:00
committed by kl
parent ae40d0233b
commit a49ee9d726
3 changed files with 13 additions and 8 deletions

View File

@ -18,7 +18,7 @@
</#if>
<iframe src="/pdfjs/web/viewer.html?file=${finalUrl}" width="100%" frameborder="0"></iframe>
<img src="images/right.png" style="position: fixed; cursor: pointer; top: 40%; right: 50px; z-index: 999;" alt="图片预览" onclick="goForImage()"/>
<img src="images/left.png" style="position: fixed; cursor: pointer; top: 40%; right: 70px; z-index: 999;" alt="使用图片预览" title="使用图片预览" onclick="goForImage()"/>
</body>
<script type="text/javascript">