156 lines
7.7 KiB
HTML
156 lines
7.7 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 content="" name="keywords" />
|
|
<meta content="" name="description" />
|
|
<script type="text/javascript">
|
|
//跳转到vue2版页面
|
|
function toVue2Page() {
|
|
var _domain = 'https://search.kongfz.com';
|
|
var url = _domain + '/ie/product';
|
|
if (location.pathname.indexOf('category') !== -1) {
|
|
url += '/category';
|
|
} else if(location.pathname.indexOf('latest') !== -1) {
|
|
url += '/latest';
|
|
} else if(location.pathname.indexOf('more') !== -1) {
|
|
url += '/more';
|
|
}
|
|
location.href = url + location.search || '';
|
|
}
|
|
//浏览器检查
|
|
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,
|
|
isUBrowser = _ua && _ua.indexOf('ubrowser') != -1, //UBrowser uc
|
|
isTheWorld = _ua && _ua.indexOf('theworld') != -1; //世界之窗
|
|
var isChrome = _ua && _ua.match(/chrome\/(\d+)\./),
|
|
isLowChrome = false;//low Chrome
|
|
if (isChrome && isChrome.length > 1 && Number(isChrome[1]) < 69) {
|
|
isLowChrome = true
|
|
}
|
|
var isSafari = _ua && _ua.match(/version\/(\d+)\./),
|
|
isLowSafari = false; //low safari
|
|
if (isSafari && isSafari.length > 1 && Number(isSafari[1]) < 11) {
|
|
isLowSafari = true
|
|
}
|
|
if (isIE9 || isIE10 || isIE11 || isLowChrome || isLowSafari || isUBrowser || isTheWorld) {
|
|
toVue2Page()
|
|
}
|
|
}
|
|
_browserCheck();
|
|
|
|
function supportJs() {
|
|
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,
|
|
isUBrowser = _ua && _ua.indexOf('ubrowser') != -1, //UBrowser uc
|
|
isTheWorld = _ua && _ua.indexOf('theworld') != -1; //世界之窗
|
|
var isChrome = _ua && _ua.match(/chrome\/(\d+)\./),
|
|
isLowChrome = false;//low Chrome
|
|
if (isChrome && isChrome.length > 1 && Number(isChrome[1]) < 69) {
|
|
isLowChrome = true
|
|
}
|
|
var isSafari = _ua && _ua.match(/version\/(\d+)\./),
|
|
isLowSafari = false; //low safari
|
|
if (isSafari && isSafari.length > 1 && Number(isSafari[1]) < 11) {
|
|
isLowSafari = true
|
|
}
|
|
if (isIE7 || isIE8) {
|
|
return 'jquery'
|
|
} else if (isIE9 || isIE10 || isIE11 || isLowChrome || isLowSafari || isUBrowser || isTheWorld) {
|
|
return 'vue2'
|
|
} else {
|
|
return 'vue3'
|
|
}
|
|
}
|
|
|
|
</script>
|
|
<script type="text/javascript">
|
|
window.KFZ_PAGE_INIT_TIME = new Date().getTime();
|
|
</script>
|
|
<script type="module" crossorigin src="https://static.kongfz.com/search-v3/assets/product-BETIuZ_J.js"></script>
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v3/assets/chunk-vendor.BEvyqpzI.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v3/assets/chunk-elementPlus.BwuzvisO.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v3/assets/chunk-preload-helper.C2F1rpzq.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v3/assets/chunk-object.BU-HPFRj.js">
|
|
<link rel="modulepreload" crossorigin href="https://static.kongfz.com/search-v3/assets/chunk-SearchTypeEnum.DVsuZ0pI.js">
|
|
<link rel="stylesheet" crossorigin href="https://static.kongfz.com/search-v3/assets/preload-helper-pD0ob2W0.css">
|
|
<link rel="stylesheet" crossorigin href="https://static.kongfz.com/search-v3/assets/SearchTypeEnum-iU9jAdZr.css">
|
|
<link rel="stylesheet" crossorigin href="https://static.kongfz.com/search-v3/assets/product-BbGyCC7j.css">
|
|
<link rel="stylesheet" crossorigin href="https://static.kongfz.com/search-v3/assets/el-select-jitKNRXQ.css">
|
|
<script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
|
|
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below 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="app"></div>
|
|
<script type="text/javascript">
|
|
(function (win) {
|
|
var _selfUrl = encodeURIComponent(location.href),
|
|
_refUrl = encodeURIComponent(document.referrer),
|
|
winWidth = window.screen.width,
|
|
winHeight = window.screen.height;
|
|
var commonData = {
|
|
resolution: winWidth + 'x' + winHeight,
|
|
selfUrl: _selfUrl,
|
|
refUrl: _refUrl,
|
|
utmSource: ''
|
|
};
|
|
var track = function () {
|
|
this.v = '1.0.2';
|
|
};
|
|
track.prototype.send = function (ev, data) {
|
|
var dataStr = '';
|
|
if (data && typeof data == 'object') {
|
|
dataStr = encodeURIComponent(JSON.stringify(data));
|
|
}
|
|
var __imgurl = '//tj.kongfz.com/web/collect/1.gif';
|
|
if (window.location.href.indexOf('neibu') > -1) {
|
|
__imgurl = '//neibutj.kongfz.com/web/collect/1.gif';
|
|
}
|
|
//utm_source
|
|
var locSearch = window.location.search;
|
|
var locHost = window.location.host;
|
|
if (locHost == 'item.kongfz.com' && locSearch.indexOf('utm_source') > -1) {
|
|
commonData.utmSource = locSearch.substring(locSearch.indexOf('utm_source')).split('=')[1];
|
|
}
|
|
__imgurl += '?event=' + ev + '&resolution=' + commonData.resolution + '&selfUrl=' + commonData.selfUrl + '&refUrl=' + commonData.refUrl + '&eventAttr=' + dataStr + "&utmSource=" + commonData.utmSource + "&n_" + Math.random();
|
|
|
|
// 由于服务器采集端 (.gif) 可能不支持 POST 请求导致 sendBeacon 报 405 错误,
|
|
// 这里统一使用创建独立 Image 对象的方式发送 GET 请求。
|
|
// 这种方式既能保证请求是 GET 类型,又能通过独立实例避免请求被后续调用取消。
|
|
var _img = new Image();
|
|
_img.onload = _img.onerror = function() {
|
|
_img = null; // 释放内存
|
|
};
|
|
_img.src = __imgurl;
|
|
};
|
|
win.trackPro = new track();
|
|
})(window);
|
|
</script>
|
|
<!-- <script src="https://res2.kongfz.com/mobile/js/track.js?2019070314"></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-v3/assets/polyfills-legacy-BcS4InRA.js"></script>
|
|
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://static.kongfz.com/search-v3/assets/product-legacy-CaSSjz0m.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
|
|
</body>
|
|
<link rel="stylesheet" href="https://res2.kongfz.com/common/popover/popover.css?v=202603051423">
|
|
<script src="https://res2.kongfz.com/common/popover/popover.js?v=202603051423"></script>
|
|
|
|
</html> |