PPT预览水印

pull/29/MERGE
陈精华 2 years ago
parent 4db74d0931
commit 99b1f83e50
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D

File diff suppressed because one or more lines are too long

@ -9,7 +9,6 @@ var slideThumbUrls = new Array();
var curSlide = 1; var curSlide = 1;
var totalSize = 1; // PPT当前获取到的总页数 var totalSize = 1; // PPT当前获取到的总页数
var slideCount = 1; // PPT文件总页数 var slideCount = 1; // PPT文件总页数
var size = (!!$.url().param('size') ? $.url().param('size') : 0);
$(document).ready(function () { $(document).ready(function () {
var data = resultData var data = resultData

@ -16,21 +16,8 @@
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">
.thumbnail {
/*
max-width: 200px;
*/
cursor: pointer;
}
</style>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="/static/bootstrap/js/html5shiv.js"></script> <script src="/static/bootstrap/js/html5shiv.js"></script>
<![endif]--> <![endif]-->
@ -68,13 +55,6 @@
<div class="row-fluid"> <div class="row-fluid">
<div class="span2 hidden-phone" <div class="span2 hidden-phone"
style="position: fixed; top: 60px; left: 20px; bottom: 20px; padding-right: 10px; border-right: 3px solid #c8c8c8; max-height: 100%; overflow: auto; text-align: center;"> style="position: fixed; top: 60px; left: 20px; bottom: 20px; padding-right: 10px; border-right: 3px solid #c8c8c8; max-height: 100%; overflow: auto; text-align: center;">
<!--Sidebar content-->
<!--
<div class="thumbnail">
<img src="">
</div>
1/20<br />
-->
</div> </div>
<div class="span9 offset2"> <div class="span9 offset2">
<div class="slide-img-container"> <div class="slide-img-container">
@ -103,7 +83,8 @@
<script src="pptx/jquery-3.5.1.min.js"></script> <script src="pptx/jquery-3.5.1.min.js"></script>
<script src="pptx/jquery.contextMenu.js?v=11.2.5_20210128"></script> <script src="pptx/jquery.contextMenu.js?v=11.2.5_20210128"></script>
<script src="pptx/idocv/idocv_common.min.js"></script> <script src="pptx/idocv/idocv_common.min.js"></script>
<script src="pptx/jquery.mobile-events.min.js"></script>
<script src="pptx/ppt.js"></script>
<script> <script>
var resultData = { var resultData = {
"code": 1, "code": 1,
@ -155,9 +136,10 @@
if (!!reqUrlMd5 && !!authMapStr) { if (!!reqUrlMd5 && !!authMapStr) {
authMap = JSON.parse(authMapStr); authMap = JSON.parse(authMapStr);
} }
window.onload = function () {
initWaterMark();
}
</script> </script>
<!-- JS -->
<script src="pptx/jquery.mobile-events.min.js"></script>
<script src="pptx/ppt.js"></script>
</body> </body>
</html> </html>

Loading…
Cancel
Save