Commit 600dc349 authored by liangjf's avatar liangjf

fix: ppt左边显示问题

parent e8beb6cb
......@@ -65,7 +65,9 @@ public class OnlinePreviewController {
model.addAttribute("file", fileAttribute);
FilePreview filePreview = previewFactory.get(fileAttribute);
logger.info("预览文件url:{},previewType:{}", fileUrl, fileAttribute.getType());
return filePreview.filePreviewHandle(fileUrl, model, fileAttribute);
String index = filePreview.filePreviewHandle(fileUrl, model, fileAttribute);
logger.info("访问.{}ftl",index);
return index;
}
@RequestMapping(value = "/picturesPreview")
......
......@@ -32,8 +32,7 @@
<div class="container">
<img src="images/sorry.jpg" />
<p>
预览源文件来自不受信任的站点:<span style="color: red; display: inline;">${current_host}</span> ,请联系管理员 <br>
有任何疑问,请加&nbsp;<a href="https://jq.qq.com/?_wv=1027&k=5c0UAtu">官方QQ群:613025121</a>&nbsp;咨询
预览源文件来自不受信任的站点:<span style="color: red; display: inline;">${current_host}</span>
</p>
</div>
</body>
......
......@@ -67,6 +67,10 @@
*/
cursor: pointer;
}
.thumbnail>img {
height: 100%;
}
</style>
<!--[if lt IE 9]>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment