style:样式修改

This commit is contained in:
2025-06-26 15:02:10 +08:00
parent 153c70e3bc
commit 33e709e7b7
3 changed files with 44 additions and 17 deletions

View File

@@ -61,17 +61,17 @@
}
}
// $(window).ready(function () {
// const deviceType = detectDeviceByResolution();
// if (deviceType=='tablet') {
// window.location.href = '?mtpl=1';
// }
// })
$(window).ready(function () {
if ($(window).width() < 1024) {
const deviceType = detectDeviceByResolution();
if (deviceType=='tablet') {
window.location.href = '?mtpl=1';
}
})
// $(window).ready(function () {
// if ($(window).width() < 1024) {
// window.location.href = '?mtpl=1';
// }
// })
</script>
</head>