100 lines
4.2 KiB
HTML
100 lines
4.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{$seo.lang|default='zh-CN'}" style="height:100%;">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<script src="/static/home/js/jquery.js"></script>
|
|
<script src="/static/home/js/pub.js"></script>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="applicable-device" content="{$seo.applicable_device|default='pc,mobile'}">
|
|
<meta name="robots" content="{$seo.robots|default='noindex,follow'}">
|
|
<title>{$seo.title}</title>
|
|
<meta name="description" content="{$seo.description}">
|
|
<meta name="keywords" content="{$seo.keywords}">
|
|
{notempty name="seo.canonical"}
|
|
<link rel="canonical" href="{$seo.canonical}">
|
|
{/notempty}
|
|
{notempty name="seo.baidu_site_verification"}
|
|
<meta name="baidu-site-verification" content="{$seo.baidu_site_verification}">
|
|
{/notempty}
|
|
<link rel="icon" type="image/png" href="{$logo_icon|default='/static/home/images/evus-icon.png'}">
|
|
<link rel="stylesheet" href="/static/css/self.css?v={$asset_version}">
|
|
<link rel="stylesheet" href="/static/home/css/reset.css">
|
|
<link rel="stylesheet" href="/static/home/css/style.css?v={$asset_version}-subdir1">
|
|
<link rel="stylesheet" href="/static/ym/detail/main.css?v={$asset_version}">
|
|
<link rel="stylesheet" href="/static/layui/css/layui.css?v={$asset_version}" />
|
|
<script src="/static/layui/layui.js"></script>
|
|
<script src="/static/home/js/jquery-weui.min.js"></script>
|
|
<script src="/static/js/passport-ocr-sdk.min.js?v=1"></script>
|
|
|
|
<script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
|
|
<script>LA.init({id:"3RUd6ZreOhSLFHFI",ck:"3RUd6ZreOhSLFHFI"})</script>
|
|
<script>
|
|
(function () {
|
|
function detectBasePath() {
|
|
var pathname = window.location.pathname || '';
|
|
var match = pathname.match(/^\/[^\/]+(?=\/home\/|\/static\/|\/json\/|\/$)/);
|
|
return match ? match[0] : '';
|
|
}
|
|
function normalizeBasePath(base) {
|
|
base = (base || '').trim();
|
|
|
|
// 模板变量未渲染时,退回到 URL 推断
|
|
if (!base || base === '/' || base.charAt(0) === '{') {
|
|
base = detectBasePath();
|
|
}
|
|
|
|
return base.replace(/\/+$/, '');
|
|
}
|
|
window.__BASE_PATH__ = normalizeBasePath('{$base_path}');
|
|
window.withBase = function (url) {
|
|
if (!url) {
|
|
return url;
|
|
}
|
|
if (/^(?:[a-z][a-z0-9+\-.]*:)?\/\//i.test(url) || /^[a-z][a-z0-9+\-.]*:/i.test(url)) {
|
|
return url;
|
|
}
|
|
if (url.charAt(0) !== '/') {
|
|
return url;
|
|
}
|
|
var base = window.__BASE_PATH__ || '';
|
|
if (!base) {
|
|
return url;
|
|
}
|
|
if (url === base || url.indexOf(base + '/') === 0) {
|
|
return url;
|
|
}
|
|
return base + url;
|
|
};
|
|
function attachAjaxPrefilter(jq) {
|
|
if (!jq || !jq.ajaxPrefilter || jq.__with_base_prefilter_attached__) {
|
|
return;
|
|
}
|
|
jq.__with_base_prefilter_attached__ = true;
|
|
jq.ajaxPrefilter(function (options) {
|
|
if (options && options.url) {
|
|
options.url = window.withBase(options.url);
|
|
}
|
|
});
|
|
}
|
|
attachAjaxPrefilter(window.jQuery);
|
|
attachAjaxPrefilter(window.$);
|
|
// 兼容 layui 可能持有独立 jQuery 实例
|
|
if (window.layui && window.layui.$) {
|
|
attachAjaxPrefilter(window.layui.$);
|
|
}
|
|
})();
|
|
</script>
|
|
<link rel="stylesheet" href="/static/home/css/agreement-layer.css?v=1">
|
|
|
|
<script>
|
|
window.agreementLayerSkin = 'agreement-layer';
|
|
window.getAgreementLayerArea = function (hasFooter) {
|
|
if (window.innerWidth < 768) {
|
|
return ['90%', hasFooter ? '72vh' : '76vh'];
|
|
}
|
|
return ['720px', hasFooter ? '66vh' : '70vh'];
|
|
};
|
|
|
|
</script>
|
|
</head>
|