From 5e8f7549e004e1911f1cf481c70b329a93ce1ae3 Mon Sep 17 00:00:00 2001 From: liangjiami <2249412933@qq.com> Date: Thu, 26 Jun 2025 15:02:10 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=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 | 14 +++--- public/static/index/mobile/css/style.css | 1 + .../index/pc/css/topic_nas_download.css | 46 +++++++++++++++---- 3 files changed, 44 insertions(+), 17 deletions(-) diff --git a/app/index/view/pc/public/base.html b/app/index/view/pc/public/base.html index 0571ebfe..1400c8ab 100644 --- a/app/index/view/pc/public/base.html +++ b/app/index/view/pc/public/base.html @@ -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'; + // } + // }) diff --git a/public/static/index/mobile/css/style.css b/public/static/index/mobile/css/style.css index ef6d49ac..9ce6c691 100755 --- a/public/static/index/mobile/css/style.css +++ b/public/static/index/mobile/css/style.css @@ -676,6 +676,7 @@ video img { padding-bottom: 56.25%; /* 16:9 */ height: 0; margin: 1rem 0 1.5rem; + z-index: 1; } .vedio_in img { position: absolute; diff --git a/public/static/index/pc/css/topic_nas_download.css b/public/static/index/pc/css/topic_nas_download.css index 33fc4917..0c15c3a4 100755 --- a/public/static/index/pc/css/topic_nas_download.css +++ b/public/static/index/pc/css/topic_nas_download.css @@ -83,11 +83,32 @@ justify-content: center; align-items: center; cursor: pointer; + flex-direction: column; } .narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg img { - width: 126px; - height: 126px; + 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%; } .narswljshow { @@ -99,14 +120,17 @@ 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 .nDitImg .dwbt { + +.narsDowloadPc .narssben-us .nDtopIt2 .dwbt { padding: 6px 38px; background: #a1a7bf; border-radius: 20px; @@ -115,12 +139,14 @@ font-size: 16px; cursor: pointer; } -.narssbshow .nDtopIt2 .nDitImg .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