mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-03-27 11:33:49 +08:00
文件预览:xi修复各分支不一致的问题
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
<h1>如果图片质量很好,首次加载图片时间可能会有点长,请耐心等待</h1>
|
||||
|
||||
<ul id="dowebok">
|
||||
<li><img id="Imgbox" src="#" width="800px" height="550px"></li>
|
||||
<#--<li><img id="Imgbox" src="#" width="800px" height="550px"></li>-->
|
||||
|
||||
<li><img id="Imgbox" src="#" width="800px" height="auto"></li>
|
||||
|
||||
</ul>
|
||||
<script src="js/viewer.min.js"></script>
|
||||
@@ -26,6 +28,7 @@
|
||||
document.getElementById("Imgbox").src =document.getElementById("url").value;
|
||||
}
|
||||
var viewer = new Viewer(document.getElementById('dowebok'), {url: 'src'});
|
||||
viewer.show();
|
||||
</script>
|
||||
<input name="url" value="${imgurl}" type="hidden" id="url" >
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user