80 lines
2.9 KiB
HTML
80 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
{block name="title"}<title>{$basic_config['website_seo_title']['value']}</title>{/block}
|
|
{block name="seo"}
|
|
<meta name="keywords" content="{$basic_config['website_seo_keyword']['value']}" />
|
|
<meta name="description" content="{$basic_config['website_seo_description']['value']}" />
|
|
{/block}
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/public.css" />
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/fonts.css" />
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/topic_nas_header.css" />
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/orico_footer.css" />
|
|
{block name="style"}{/block}
|
|
<script src="__JS__/jquery-3.6.0.min.js"></script>
|
|
<script>
|
|
// 增强型 UC 浏览器检测
|
|
function isUCBrowser() {
|
|
const ua = navigator.userAgent.toLowerCase();
|
|
return ua.includes('ubrowser');
|
|
}
|
|
|
|
// 直接输出对应的 HTML 标签
|
|
if (isUCBrowser()) {
|
|
document.write(`
|
|
<link rel="stylesheet" href="__JS__/swiper-bundle8.4.7.min.css">
|
|
<script type="text/javascript" src="__JS__/swiper-bundle8.4.7.min.js"><\/script>
|
|
`);
|
|
} else {
|
|
document.write(`
|
|
<link rel="stylesheet" href="__JS__/swiper-bundle9.4.1.min.css">
|
|
<script type="text/javascript" src="__JS__/swiper-bundle9.4.1.min.js"><\/script>
|
|
`);
|
|
}
|
|
</script>
|
|
<script>
|
|
$(window).ready(function () {
|
|
if ($(window).width() < 1024) {
|
|
var locationURL = new URL(window.location.href);
|
|
var mtpl = locationURL.searchParams.get("mtpl");
|
|
if (mtpl == null) {
|
|
locationURL.searchParams.set("mtpl", "1");
|
|
window.location.href = locationURL.href;
|
|
}
|
|
}
|
|
})
|
|
</script>
|
|
<!-- Matomo -->
|
|
<script>
|
|
var _paq = window._paq = window._paq || [];
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
_paq.push(['trackPageView']);
|
|
_paq.push(['enableLinkTracking']);
|
|
(function() {
|
|
var u="//analytics.f2b211.com/";
|
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
|
_paq.push(['setSiteId', '2']);
|
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
|
})();
|
|
</script>
|
|
<!-- End Matomo Code -->
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
<!-- Matomo Image Tracker-->
|
|
<img referrerpolicy="no-referrer-when-downgrade" src="https://analytics.f2b211.com/matomo.php?idsite=2&rec=1" style="border:0" alt="" />
|
|
<!-- End Matomo -->
|
|
</noscript>
|
|
{block name="header"}
|
|
{include file="public/nas_header"/}
|
|
{/block}
|
|
{block name="main"}{/block}
|
|
{block name="footer"}
|
|
{include file="public/nas_footer"/}
|
|
{/block}
|
|
{block name="script"}{/block}
|
|
</body>
|
|
</html> |