فهرست منبع

PPT预览水印

陈精华 3 سال پیش
والد
کامیت
99b1f83e50

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 132
server/src/main/resources/static/pptx/idocv/idocv_common.min.js


+ 0 - 1
server/src/main/resources/static/pptx/ppt.js

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

+ 6 - 24
server/src/main/resources/web/ppt.ftl

@@ -16,21 +16,8 @@
             var redirectUrl = window.location.pathname + '?type=mobile' + (!!searchStr ? ('&' + searchStr) : '');
             window.location.replace(redirectUrl);
         }
-        /*初始化水印*/
-        window.onload = function () {
-            initWaterMark();
-        }
     </script>
 
-    <style type="text/css">
-        .thumbnail {
-            /*
-            max-width: 200px;
-            */
-            cursor: pointer;
-        }
-    </style>
-
     <!--[if lt IE 9]>
     <script src="/static/bootstrap/js/html5shiv.js"></script>
     <![endif]-->
@@ -68,13 +55,6 @@
     <div class="row-fluid">
         <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;">
-            <!--Sidebar content-->
-            <!--
-            <div class="thumbnail">
-              <img src="">
-            </div>
-            1/20<br />
-            -->
         </div>
         <div class="span9 offset2">
             <div class="slide-img-container">
@@ -103,7 +83,8 @@
 <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/idocv/idocv_common.min.js"></script>
-
+<script src="pptx/jquery.mobile-events.min.js"></script>
+<script src="pptx/ppt.js"></script>
 <script>
     var resultData = {
         "code": 1,
@@ -155,9 +136,10 @@
     if (!!reqUrlMd5 && !!authMapStr) {
         authMap = JSON.parse(authMapStr);
     }
+
+    window.onload = function () {
+        initWaterMark();
+    }
 </script>
-<!-- 客户自定义JS -->
-<script src="pptx/jquery.mobile-events.min.js"></script>
-<script src="pptx/ppt.js"></script>
 </body>
 </html>

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است