Browse Source

p1.0.29c1.0.10 -common

anderx 2 years ago
parent
commit
2442358456
1 changed files with 25 additions and 24 deletions
  1. 25 24
      src/main/webapp/WEB-INF/views/common.html

+ 25 - 24
src/main/webapp/WEB-INF/views/common.html

@@ -8,7 +8,8 @@
     <th:block th:replace="${title}" />
     <meta name="applicable-device" content="pc,mobile">
     <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
-    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/>
+    <!--http 升级https-->
+<!--    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/>-->
     <link rel="icon" th:href="${portalHost+'/images/icon/kedexinxi.ico'}"  type="image/x-icon">
     <!--Bootstrap CSS 文件 -->
     <link rel="stylesheet" th:href="${portalHost+'/css/bootstrap.min.css'}">
@@ -687,29 +688,29 @@
         }
         /*]]>*/
     </script>
-
-    <script th:if="${type}!='houtai'">
-        var _hmt = _hmt || [];
-        (function() {
-            var hm = document.createElement("script");
-            if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
-                hm.src = "https://hm.baidu.com/hm.js?c2a7fd3c1093d8dbd0be9106b4027797"; //移动
-                document.getElementById('onlineConsultation').onclick=function(){document.getElementById('nb_toolbar_onlineConsult').click()}
-            }else{
-                hm.src = "https://hm.baidu.com/hm.js?e20e700f2bb1656e3253cb466c60f15b"; //pc
-            }
-            var s = document.getElementsByTagName("script")[0];
-            s.parentNode.insertBefore(hm, s);
-        })();
-    </script>
-    <script th:if="${type}!='houtai'">
-        (function(){
-            var bp = document.createElement('script');
-            bp.src = '//push.zhanzhang.baidu.com/push.js';
-            var s = document.getElementsByTagName("script")[0];
-            s.parentNode.insertBefore(bp, s);
-        })();
-    </script>
+<!--第三方插件,客服模块-->
+<!--    <script th:if="${type}!='houtai'">-->
+<!--        var _hmt = _hmt || [];-->
+<!--        (function() {-->
+<!--            var hm = document.createElement("script");-->
+<!--            if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {-->
+<!--                hm.src = "https://hm.baidu.com/hm.js?c2a7fd3c1093d8dbd0be9106b4027797"; //移动-->
+<!--                document.getElementById('onlineConsultation').onclick=function(){document.getElementById('nb_toolbar_onlineConsult').click()}-->
+<!--            }else{-->
+<!--                hm.src = "https://hm.baidu.com/hm.js?e20e700f2bb1656e3253cb466c60f15b"; //pc-->
+<!--            }-->
+<!--            var s = document.getElementsByTagName("script")[0];-->
+<!--            s.parentNode.insertBefore(hm, s);-->
+<!--        })();-->
+<!--    </script>-->
+<!--    <script th:if="${type}!='houtai'">-->
+<!--        (function(){-->
+<!--            var bp = document.createElement('script');-->
+<!--            bp.src = '//push.zhanzhang.baidu.com/push.js';-->
+<!--            var s = document.getElementsByTagName("script")[0];-->
+<!--            s.parentNode.insertBefore(bp, s);-->
+<!--        })();-->
+<!--    </script>-->
     <th:block th:replace="${scripts}" />
 </th:block>