From c73eeea98d67d235661cc0268c925b2df924b209 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Thu, 26 Jun 2025 15:49:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20mobile=20nas=E4=B8=93=E9=A2=98=20?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E9=A1=B5=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index/mobile/css/topic_nas_download.css | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) 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 From d5d731c2fceadc7b5efef560d54cc2d315005de2 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Thu, 26 Jun 2025 16:04:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E8=B7=B3=E8=BD=ACmtpl=E6=97=B6?= =?UTF-8?q?=E4=BC=9A=E5=8E=BB=E6=8E=89=E6=AD=A3=E5=B8=B8=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/pc/public/base.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; + } } })