98 lines
8.3 KiB
HTML
98 lines
8.3 KiB
HTML
<!doctype html>
|
|
<html lang="zh-Hans">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Cache-Control" content="no-siteapp" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
|
<meta name="renderer" content="webkit" />
|
|
<meta name="viewport" content="width=1240" />
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<meta name="format-detection" content="email=no" />
|
|
<meta http-equiv="Pragma" content="no-cache">
|
|
<meta http-equiv="Cache-Control" content="no-cache">
|
|
<meta http-equiv="Expires" content="0">
|
|
<meta content="" name="keywords" />
|
|
<meta content="" name="description" />
|
|
<script src="https://res2.kongfz.com/mobile/js/track.js?2019070314"></script>
|
|
<script type="module" crossorigin src="https://static.kongfz.com/search-v2/assets/product.b6c17ed0.js"></script>
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v2/assets/chunk-button.eb8c6a0f.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v2/assets/chunk-vendor.eca28747.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v2/assets/chunk-ElementUI.a8f8e446.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v2/assets/chunk-iconfont.dd101a92.js">
|
|
<link rel="stylesheet" href="https://static.kongfz.com/search-v2/assets/button-5a1c117f.css">
|
|
<link rel="stylesheet" href="https://static.kongfz.com/search-v2/assets/iconfont-c477feab.css">
|
|
<link rel="stylesheet" href="https://static.kongfz.com/search-v2/assets/index-0ee4c2c2.css">
|
|
<script type="module">try{import.meta.url;import("_").catch(()=>1);}catch(e){}window.__vite_is_modern_browser=true;</script>
|
|
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy build because dynamic import or import.meta.url is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
|
|
</head>
|
|
<body>
|
|
<div id="__ieCheck"></div>
|
|
<div id="__ieCheck_mask"></div>
|
|
<div id="app"></div>
|
|
<script type="text/javascript">
|
|
function _getUrlKeyVal(name) {
|
|
var regex = new RegExp("[?&]" + encodeURIComponent(name) + "\\=([^&#]+)");
|
|
var value = (location.search.match(regex) || ["", ""])[1];
|
|
return decodeURIComponent(value)
|
|
}
|
|
function _closeLayer() {
|
|
document.getElementById('__ieCheck_mask').style.display = 'none'
|
|
document.getElementById('__ieCheck').style.display = 'none'
|
|
location.href = 'https://www.kongfz.com/'
|
|
}
|
|
function _layerUpdate(){
|
|
var templeteHtml =
|
|
'<div style="position:fixed;left:50%;top:50%;width:680px;height:400px;margin-left:-340px;margin-top:-200px;border-radius: 4px;background:#fff;overflow:hidden;z-index:100000001;">' +
|
|
'<div style="width:100%;height:70px;text-align:center;line-height:70px;font-size:22px;background:#EDF6FF;">浏览器升级提示</div>' +
|
|
'<div style="width:592px;height:216px;border-bottom:1px solid #E5E5E5;margin:0 auto;overflow:hidden;">' +
|
|
'<div style="float:left;width:400px;height:180px;margin-top:30px;font-size:16px;color: #262626;line-height: 22px;">' +
|
|
'<p style="margin: 10px 0;">您的浏览器版本过低</p>' +
|
|
'<p style="margin: 10px 0;">为避免购物时可能存在的安全风险,建议您升级浏览器。</p>' +
|
|
'<p style="margin: 10px 0;">如您开启了浏览器兼容模式,建议切换到极速模式,可以享受到更流畅的操作体验。</p>' +
|
|
'<p style="margin:20px 0 20px 0;"><a <a href="javascript:;" onClick="_closeLayer()" style="font-size:14px;color:#105FB3">返回首页</a></p>' +
|
|
'</div>' +
|
|
'<div style="float:right;width:120px;font-size:0;margin-top:41px;text-align:center;">' +
|
|
'<img src="https://res.kongfz.com/img/ie-check/kfzapp.png" width="120" height="120" style="width:120px;height:120px;" alt="">' +
|
|
'<span style="font-size:12px;color:#999999;line-height:34px;">下载孔夫子旧书网App</span>' +
|
|
'</div>' +
|
|
'</div>' +
|
|
'<div style="width:592px;margin:0 auto;">' +
|
|
'<div style="font-size:12px;color:#999999;margin-top:10px;">或者您还可以下载:</div>' +
|
|
'<div style="width:100%;margin-top:6px;line-height: 0px;text-align:center;">' +
|
|
'<div style="float:left;width:50px;text-decoration:none;line-height:0px;text-align:center;margin-right: 27px;"><a target="_blank" href="https://www.google.cn/chrome/" ><div><img width="40" height="40" style="width:40px;height:40px;" src="https://res.kongfz.com/img/ie-check/google.png" alt=""></div><span style="font-size:12px;color:#999999;line-height:20px;">Chrome</span></a></div>' +
|
|
'<div style="float:left;width:50px;text-decoration:none;line-height:0px;text-align:center;margin-right: 27px;"><a target="_blank" href="https://ie.sogou.com/"><div><img width="40" height="40" style="width:40px;height:40px;" src="https://res.kongfz.com/img/ie-check/sougou.png" alt=""></div><span style="font-size:12px;color:#999999;line-height:20px;">搜狗</span></a></div>' +
|
|
'<div style="float:left;width:50px;text-decoration:none;line-height:0px;text-align:center;margin-right: 27px;"><a target="_blank" href="https://browser.qq.com/?adtag=SEM1"><div><img width="40" height="40" style="width:40px;height:40px;" src="https://res.kongfz.com/img/ie-check/qq.png" alt=""></div><span style="font-size:12px;color:#999999;line-height:20px;">QQ</span></a></div>' +
|
|
'<div style="float:left;width:50px;text-decoration:none;line-height:0px;text-align:center;margin-right: 27px;"><a target="_blank" href="https://browser.360.cn/se/"><div><img width="40" height="40" style="width:40px;height:40px;" src="https://res.kongfz.com/img/ie-check/360.png" alt=""></div><span style="font-size:12px;color:#999999;line-height:20px;">360</span></a></div>' +
|
|
'<div style="float:left;width:50px;text-decoration:none;line-height:0px;text-align:center;margin-right: 27px;"><a target="_blank" href="https://www.liebao.cn/"><div><img width="40" height="40" style="width:40px;height:40px;" src="https://res.kongfz.com/img/ie-check/liebao.png" alt=""></div><span style="font-size:12px;color:#999999;line-height:20px;">猎豹</span></a></div>' +
|
|
'<div style="float:left;width:50px;text-decoration:none;line-height:0px;text-align:center;margin-right: 27px;"><a target="_blank" href="http://www.firefox.com.cn/"><div><img width="40" height="40" style="width:40px;height:40px;" src="https://res.kongfz.com/img/ie-check/firefox.png" alt=""></div><span style="font-size:12px;color:#999999;line-height:20px;">Firefox</span></a></div>' +
|
|
'</div>' +
|
|
'</div>' +
|
|
'</div>'
|
|
var mask =
|
|
'<div style="position: fixed;top: 0px;left: 0px;z-index: 100000000;width: 100%;height: 100%;background-color: #000;filter: alpha(opacity=50); opacity: .5;"></div>'
|
|
document.getElementById('__ieCheck_mask').innerHTML = mask
|
|
document.getElementById('__ieCheck').innerHTML = templeteHtml
|
|
}
|
|
//浏览器检查
|
|
function _browserCheck(){
|
|
var _ua = navigator.userAgent.toLowerCase(),
|
|
isXP = _ua && _ua.indexOf('windows nt 5') != -1,
|
|
isIE7 = _ua && _ua.indexOf('msie 7.0') != -1,
|
|
isIE8 = _ua && _ua.indexOf('msie 8.0') != -1,
|
|
isIE9 = _ua && _ua.indexOf('msie 9.0') != -1,
|
|
isIE10 = _ua && _ua.indexOf('msie 10.0') != -1,
|
|
isIE11 = _ua && _ua.indexOf('trident/') != -1 && _ua.indexOf('rv:11.') != -1;
|
|
if (isIE7 || isIE8 || isIE9) {
|
|
_layerUpdate()
|
|
}
|
|
}
|
|
_browserCheck();
|
|
</script>
|
|
|
|
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
|
|
<script nomodule crossorigin id="vite-legacy-polyfill" src="https://static.kongfz.com/search-v2/assets/polyfills-legacy.ba0a0481.js"></script>
|
|
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://static.kongfz.com/search-v2/assets/product-legacy.e91e506f.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
|
</body>
|
|
|
|
</html> |