ppt预览水印

This commit is contained in:
陈精华 2022-12-12 17:40:36 +08:00
parent 4c225b030d
commit 9860df9b6d
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
1 changed files with 5 additions and 1 deletions

View File

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