| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <!-- 外部链接图片加载 -->
- <meta name="referrer" content="no-referrer"/>
- <!-- <link rel ="shortcut icon" type="image/x-icon" href="static/logo.gif">-->
- <title>智能客服系统</title>
- </head>
- <script src="./url_config.js"></script>
- <!-- <script>
- window.url_https_ajax = 'https://manage.281570.com';
- window.url_https_wss = 'link.281570.com';
- </script> -->
- <body>
- <div id="app"></div>
- <!-- built files will be auto injected -->
- </body>
- <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 = "无效访问地址";
- }
- function getQueryString(name) {
- var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
- var r = window.location.search.substr(1).match(reg);
- if (r != null) {
- return unescape(r[2]);
- }
- 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>
|