From 93682ca5bbfc05c74ff853d03a014e6946e659a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=B9=E5=8D=8E?= <14641717+yang-danhua@user.noreply.gitee.com> Date: Thu, 22 May 2025 17:14:13 +0800 Subject: [PATCH] =?UTF-8?q?stlye:=E9=A6=96=E9=A1=B5=20nas=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/index/index.html | 5 +++-- app/index/view/topic_nas/download.html | 4 ++-- public/static/index/css/article_category.css | 10 +++++++++- public/static/index/css/index.css | 12 ++++++++++-- public/static/index/css/topic_nas_download.css | 4 ++++ 5 files changed, 28 insertions(+), 7 deletions(-) diff --git a/app/index/view/index/index.html b/app/index/view/index/index.html index 8b412c6f..1beb6ecd 100644 --- a/app/index/view/index/index.html +++ b/app/index/view/index/index.html @@ -349,8 +349,9 @@ if (slideCount === 0) return; // 计算分页点间距 const bulletMargin = ((100 / slideCount) - 2) + "%"; - $(".orico_Page_index .pageMain .brandStory .bs_swiperasd .bs_swcontainer .bs_pagination .swiper-pagination-bullet") - .css("margin-right", bulletMargin); + $(".orico_Page_index .pageMain .brandStory .bs_swiperasd .bs_swcontainer .bs_pagination .swiper-pagination-bullet").css("margin-right", bulletMargin); + // 最后一个分页点的 margin-right 设为 0 + $(".orico_Page_index .pageMain .brandStory .bs_swiperasd .bs_swcontainer .bs_pagination .swiper-pagination-bullet:last-child").css("margin-right", "0"); // 计算年份位置(固定间隔21%) const timeSpans = $(".orico_Page_index .pageMain .brandStory .bs_swiperasd .bs_swcontainer .time"); var tag = 0 diff --git a/app/index/view/topic_nas/download.html b/app/index/view/topic_nas/download.html index 16939048..b50c8d58 100644 --- a/app/index/view/topic_nas/download.html +++ b/app/index/view/topic_nas/download.html @@ -51,10 +51,10 @@ {/notempty} {notempty name="data.weline.down_items"} -
+
{volist name="data.weline.down_items" id="it"} -
+
{/volist}
diff --git a/public/static/index/css/article_category.css b/public/static/index/css/article_category.css index 0ebf3e53..832bb415 100755 --- a/public/static/index/css/article_category.css +++ b/public/static/index/css/article_category.css @@ -83,7 +83,7 @@ height: auto; margin: 0 0 1.4% 0; background: #f5f5f5; - padding: 1rem; + padding: 1.2%; position: relative; /* min-height: 32rem; */ overflow: hidden; @@ -157,3 +157,11 @@ background-color: #444444; color: #ffffff; } +/*屏幕兼容性*/ +@media screen and (min-width:750px) and (max-width:1280px){} +@media screen and (min-width:1281px) and (max-width:1360px) {} +@media screen and (min-width:1361px) and (max-width:1460px) {} +@media screen and (min-width:1461px) and (max-width:1660px) {} +@media screen and (min-width:1661px) and (max-width:1760px) {} +@media screen and (min-width:1761px) and (max-width:1960px) {} +@media screen and (min-width:1980px) {} \ No newline at end of file diff --git a/public/static/index/css/index.css b/public/static/index/css/index.css index bcd8cd4f..9391fc65 100755 --- a/public/static/index/css/index.css +++ b/public/static/index/css/index.css @@ -339,7 +339,7 @@ } .orico_Page_index .pageMain .featuredProducts .fpSwiper .swiperasd { display: flex; - width: 85%; + width: 75%; position: relative; height: 6.25rem; } @@ -1132,4 +1132,12 @@ } .orico_Page_index .ba-slider .handle.ba-draggable:after { transform: scale(.8) -} \ No newline at end of file +} +/*屏幕兼容性*/ +@media screen and (min-width:750px) and (max-width:1280px){} +@media screen and (min-width:1281px) and (max-width:1360px) {} +@media screen and (min-width:1361px) and (max-width:1460px) {} +@media screen and (min-width:1461px) and (max-width:1660px) {} +@media screen and (min-width:1661px) and (max-width:1760px) {} +@media screen and (min-width:1761px) and (max-width:1960px) {} +@media screen and (min-width:1980px) {} \ No newline at end of file diff --git a/public/static/index/css/topic_nas_download.css b/public/static/index/css/topic_nas_download.css index fc8206c1..33fc4917 100755 --- a/public/static/index/css/topic_nas_download.css +++ b/public/static/index/css/topic_nas_download.css @@ -93,11 +93,15 @@ .narswljshow { display: none; } + .narsDowloadPc .narssben-us .nDtopIt2 .nDitImg { width: 291px; display: flex; flex-direction: column; } +.narsDowloadPc .nDtopCtMian .nDtopIt2 .nDitImg1{ + width: 291px; +} .narsDowloadPc .narssben-us .nDtopIt2 .nDitImg img{ width:70px !important; height:70px!important;