文件预览:xi修复各分支不一致的问题

This commit is contained in:
HappyTree
2017-12-30 22:04:17 +08:00
committed by klboke
parent 3a9055ce35
commit eb3d36e5fd
7 changed files with 52 additions and 230 deletions

View File

@@ -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>