|
|
@@ -8,11 +8,11 @@
|
|
|
<!-- <link rel ="shortcut icon" type="image/x-icon" href="static/logo.gif">-->
|
|
|
<title>智能客服系统</title>
|
|
|
</head>
|
|
|
-<script src="./url_config.js"></script>
|
|
|
-<!-- <script>
|
|
|
+<!-- <script src="./url_config.js"></script> -->
|
|
|
+<script>
|
|
|
window.url_https_ajax = 'https://manage.281570.com';
|
|
|
window.url_https_wss = 'link.281570.com';
|
|
|
-</script> -->
|
|
|
+</script>
|
|
|
<body>
|
|
|
<div id="app"></div>
|
|
|
<!-- built files will be auto injected -->
|
|
|
@@ -20,15 +20,15 @@
|
|
|
<script>
|
|
|
let name = getQueryString('pid');
|
|
|
// console.log(unescape(name))
|
|
|
- if(unescape(name) == "这就是一个编码没有什么用啊"){
|
|
|
- // console.log(name)
|
|
|
- }else {
|
|
|
- document.getElementById("app").remove();
|
|
|
- var parent = document.body;
|
|
|
- var div = document.createElement("div");
|
|
|
- parent.appendChild(div)
|
|
|
- div.innerHTML = "无效访问地址";
|
|
|
- }
|
|
|
+ // if(unescape(name) == "这就是一个编码没有什么用啊"){
|
|
|
+ // // console.log(name)
|
|
|
+ // }else {
|
|
|
+ // document.getElementById("app").remove();
|
|
|
+ // var parent = document.body;
|
|
|
+ // var div = document.createElement("div");
|
|
|
+ // parent.appendChild(div)
|
|
|
+ // div.innerHTML = "无效访问地址";
|
|
|
+ // }
|
|
|
function getQueryString(name) {
|
|
|
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
|
|
|
var r = window.location.search.substr(1).match(reg);
|
|
|
@@ -38,48 +38,5 @@
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- // !function (window) {
|
|
|
- // /* 设计图文档宽度 */
|
|
|
- // var docWidth = 100/1920;
|
|
|
-
|
|
|
- // var doc = window.document,
|
|
|
- // docEl = doc.documentElement,
|
|
|
- // resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
|
|
|
-
|
|
|
- // var recalc = (function refreshRem () {
|
|
|
-
|
|
|
- // let client_width = document.body.clientWidth
|
|
|
- // console.log(client_width)
|
|
|
- // /* 8.55:小于320px不再缩小,11.73:大于440px不再放大 */
|
|
|
- // if(client_width <500){
|
|
|
- // docWidth = 10/750
|
|
|
- // //var clientWidth = docEl.getBoundingClientRect().width;
|
|
|
- // ///docEl.style.fontSize = Math.max(Math.min(20 * (clientWidth / docWidth), 11.73), 8.55) * 5 + 'px';
|
|
|
- // docEl.style.fontSize =parseInt(414/750*100) +'px';
|
|
|
- // }else{
|
|
|
-
|
|
|
- // docEl.style.fontSize =docWidth*1920 + 'px';//pcduan
|
|
|
- // }
|
|
|
- // console.log('11',docEl.style.fontSize)
|
|
|
- // return refreshRem;
|
|
|
- // })();
|
|
|
-
|
|
|
- // /* 添加倍屏标识,安卓为1 */
|
|
|
- // docEl.setAttribute('data-dpr', window.navigator.appVersion.match(/iphone/gi) ? window.devicePixelRatio : 1);
|
|
|
-
|
|
|
- // if (/iP(hone|od|ad)/.test(window.navigator.userAgent)) {
|
|
|
- // /* 添加IOS标识 */
|
|
|
- // doc.documentElement.classList.add('ios');
|
|
|
- // /* IOS8以上给html添加hairline样式,以便特殊处理 */
|
|
|
- // if (parseInt(window.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/)[1], 10) >= 8)
|
|
|
- // doc.documentElement.classList.add('hairline');
|
|
|
- // }
|
|
|
-
|
|
|
- // if (!doc.addEventListener) return;
|
|
|
- // window.addEventListener(resizeEvt, recalc, false);
|
|
|
- // doc.addEventListener('DOMContentLoaded', recalc, false);
|
|
|
-
|
|
|
- // }(window);
|
|
|
-
|
|
|
</script>
|
|
|
</html>
|