Browse Source

ppt预览水印

pull/29/MERGE
陈精华 2 years ago
parent
commit
9860df9b6d
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
  1. 6
      server/src/main/resources/web/ppt.ftl

6
server/src/main/resources/web/ppt.ftl

@ -7,7 +7,7 @@
<link href="pptx/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="pptx/idocv/idocv_common.min.css" rel="stylesheet">
<link href="pptx/jquery.contextMenu.css" rel="stylesheet">
<#include "*/commonHeader.ftl">
<#-- 手机端预览兼容 -->
<script type="text/javascript">
var windowWidth = document.documentElement.clientWidth;
@ -16,6 +16,10 @@
var redirectUrl = window.location.pathname + '?type=mobile' + (!!searchStr ? ('&' + searchStr) : '');
window.location.replace(redirectUrl);
}
/*初始化水印*/
window.onload = function () {
initWaterMark();
}
</script>
<style type="text/css">

Loading…
Cancel
Save