From 12e46c7405414270b8e5ed4a212442bc674fb0ab Mon Sep 17 00:00:00 2001 From: liangjiami <2249412933@qq.com> Date: Thu, 26 Jun 2025 15:22:28 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/pc/public/base.html | 15 +++--- .../index/mobile/css/topic_nas_download.css | 38 +++++++++++++++ .../index/pc/css/topic_nas_download.css | 46 ++++--------------- 3 files changed, 55 insertions(+), 44 deletions(-) diff --git a/app/index/view/pc/public/base.html b/app/index/view/pc/public/base.html index 1400c8ab..ad5e3540 100644 --- a/app/index/view/pc/public/base.html +++ b/app/index/view/pc/public/base.html @@ -60,18 +60,17 @@ return 'unknown'; } } - - $(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'; + } + }) diff --git a/public/static/index/mobile/css/topic_nas_download.css b/public/static/index/mobile/css/topic_nas_download.css index 343bcbfd..1cfed0e5 100644 --- a/public/static/index/mobile/css/topic_nas_download.css +++ b/public/static/index/mobile/css/topic_nas_download.css @@ -88,6 +88,7 @@ align-items: center; cursor: pointer; margin-bottom: 0.625rem; + flex-direction: column; } .narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg img { @@ -114,4 +115,41 @@ .narssbshow .nrowimg img { 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 { + font-size: 1rem; + padding-bottom: 10px; + padding-top: 5px; + color: #000; + font-weight: bold; +} +.narswljshow .nDtopIt2 .nDitImg .nDitImg img { + width: 3.25rem; + height: 3.25rem; + padding: 1.25rem; + padding-bottom: 0.5rem; +} +.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%; } \ No newline at end of file diff --git a/public/static/index/pc/css/topic_nas_download.css b/public/static/index/pc/css/topic_nas_download.css index 0c15c3a4..d395259e 100755 --- a/public/static/index/pc/css/topic_nas_download.css +++ b/public/static/index/pc/css/topic_nas_download.css @@ -83,32 +83,11 @@ justify-content: center; align-items: center; cursor: pointer; - flex-direction: column; } .narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg img { - width: 3.25rem; - height: 3.25rem; - padding: 1.25rem; - padding-bottom: 0.5rem; -} - -.narswljshow .nDtopIt2 .nDitImg .yy_name { - font-size: 1rem; - padding-bottom: 10px; - padding-top: 5px; - color: #000; - font-weight: bold; -} - -.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%; + width: 126px; + height: 126px; } .narswljshow { @@ -120,17 +99,14 @@ display: flex; flex-direction: column; } - -.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg1 { - width: 291px; +.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg1{ + width: 291px; } - -.narsDowloadPc .narssben-us .nDtopIt2 .nDitImg img { - width: 70px !important; - height: 70px !important; +.narsDowloadPc .narssben-us .nDtopIt2 .nDitImg img{ + width:70px !important; + height:70px!important; } - -.narsDowloadPc .narssben-us .nDtopIt2 .dwbt { +.narsDowloadPc .narssben-us .nDtopIt2 .dwbt { padding: 6px 38px; background: #a1a7bf; border-radius: 20px; @@ -139,14 +115,12 @@ font-size: 16px; cursor: pointer; } - -.narssbshow .nDtopIt2 .dwbtactive { +.narssbshow .nDtopIt2 .dwbtactive { background: #004cfa; } - .narssbshow .nDtopIt2 .nDitImg .yy_name { font-size: 18px; padding-bottom: 10px; padding-top: 5px; font-weight: bold; -} \ No newline at end of file +}