diff --git a/app/index/view/pc/public/base.html b/app/index/view/pc/public/base.html index ad5e3540..2d3862f4 100644 --- a/app/index/view/pc/public/base.html +++ b/app/index/view/pc/public/base.html @@ -68,7 +68,12 @@ // }) $(window).ready(function () { if ($(window).width() < 1024) { - window.location.href = '?mtpl=1'; + 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; + } } }) diff --git a/public/static/index/mobile/css/topic_nas_download.css b/public/static/index/mobile/css/topic_nas_download.css index 7d83b073..2df89bad 100644 --- a/public/static/index/mobile/css/topic_nas_download.css +++ b/public/static/index/mobile/css/topic_nas_download.css @@ -120,35 +120,21 @@ width: 50%; height: 50%; } -.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg -.narswljshow .nDtopIt2 .nDitImg .dwbt { - padding: 0.5rem 1.8rem; - background: #A1A7BF; - border-radius: 1.85rem; - color: #fff; - font-size: 0.85rem; - cursor: pointer; - margin-bottom: 14%; -} -.narswljshow .nDtopIt2 .nDitImg .dwbtactive { - background: #004CFA; -} - -.narswljshow .nDtopIt2 .nDitImg .yy_name { +.narssbshow .nDtopIt2 .nDitImg .yy_name { font-size: 1rem; padding-bottom: 10px; padding-top: 5px; color: #000; font-weight: bold; } -.narswljshow .nDtopIt2 .nDitImg .nDitImg img { +.narssbshow .nDtopIt2 .nDitImg .nDitImg:has(+div.yy_name) img { width: 3.25rem; height: 3.25rem; padding: 1.25rem; padding-bottom: 0.5rem; } -.narswljshow .nDtopIt2 .nDitImg .dwbt { +.narssbshow .nDtopIt2 .nDitImg .dwbt { padding: 0.5rem 1.8rem; background: #A1A7BF; border-radius: 1.85rem; @@ -156,4 +142,11 @@ font-size: 0.85rem; cursor: pointer; margin-bottom: 14%; +} + +.narswljshow .nDtopIt2 .nDitImg .nDitImg img { + width: 3.25rem; + height: 3.25rem; + padding: 1.25rem; + padding-bottom: 0.5rem; } \ No newline at end of file