fix: mobile nas专题header头
This commit is contained in:
@@ -14,6 +14,18 @@
|
||||
<link rel="stylesheet" type="text/css" href="__CSS__/orico_footer.css" />
|
||||
{block name="style"}{/block}
|
||||
<script type="text/javascript" src='https://code.jquery.com/jquery-3.6.0.min.js'></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 || [];
|
||||
|
||||
Reference in New Issue
Block a user