style:样式问题修改

This commit is contained in:
2025-07-01 11:27:56 +08:00
parent 642b813a18
commit 123dc9c871
14 changed files with 56 additions and 45 deletions

View File

@@ -86,7 +86,7 @@
<p class="thtitle">{:lang_i18n('你可能还喜欢')}</p> <p class="thtitle">{:lang_i18n('你可能还喜欢')}</p>
<p><img src="__IMAGES__/1line.webp"></p> <p><img src="__IMAGES__/1line.webp"></p>
</div> </div>
<div class="swiper-container loveswiper"> <div class="swiper loveswiper">
<div class="swiper-wrapper"> <div class="swiper-wrapper">
{volist name="recommends" id="vo"} {volist name="recommends" id="vo"}
<div class="swiper-slide"> <div class="swiper-slide">
@@ -136,10 +136,6 @@
// 配置选项 // 配置选项
slidesPerView: 2, slidesPerView: 2,
spaceBetween: 30, spaceBetween: 30,
loop: true,
autoplay: {
delay: 3000,
},
pagination: { pagination: {
el: '.swiper-pagination', el: '.swiper-pagination',
} }

View File

@@ -44,6 +44,8 @@
</div> </div>
<!-- 分页--> <!-- 分页-->
<div>{$articles|raw}</div> <div>{$articles|raw}</div>
{else/}
<div style="text-align: center; padding: 10%;">暂无数据</div>
</div> </div>
{/notempty} {/notempty}
</div> </div>

View File

@@ -332,8 +332,6 @@
slidesPerView: 3, slidesPerView: 3,
spaceBetween: 30, spaceBetween: 30,
slidesPerGroup: 3, slidesPerGroup: 3,
loop: true,
loopFillGroupWithBlank: true,
navigation: { navigation: {
nextEl: '.swiper-button-next', nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev', prevEl: '.swiper-button-prev',

View File

@@ -51,10 +51,10 @@
<ul> <ul>
{volist name="contact_config" id="vo"} {volist name="contact_config" id="vo"}
<li> <li>
{if condition="$vo.type == 'image'"}
<img src="{$vo.value}" {if condition="!empty($vo.extra)" }style="{$vo.extra}" {/if} />
{else/}
<a href="javascript:void(0);" class="fline"> <a href="javascript:void(0);" class="fline">
{if condition="$vo.type == 'image'"}
<img src="{$vo.value}" {if condition="!empty($vo.extra)" }style="{$vo.extra}" {/if} />
{else/}
{$vo.value} {$vo.value}
{/if} {/if}
</a> </a>
@@ -70,7 +70,7 @@
<ul> <ul>
{volist name="media_config" id="vo"} {volist name="media_config" id="vo"}
<a href="{$vo.url.value}"> <a href="{$vo.url.value}">
<img src="{$vo.image.value}" {if condition="!empty($vo.image.extra)"}style="{$vo.image.extra}" {/if} /> <img src="{$vo.image.value}" {if condition="!empty($vo.image.extra)" }style="{$vo.image.extra}" {/if} />
</a> </a>
{/volist} {/volist}
</ul> </ul>
@@ -91,33 +91,33 @@
</footer> </footer>
{eq name=":cookie('think_lang')" value="zh-cn"} {eq name=":cookie('think_lang')" value="zh-cn"}
<div class="backtop"> <div class="backtop">
<img src="__IMAGES__/ic-backtop.png" class="ictop"/> <img src="__IMAGES__/ic-backtop.png" class="ictop" />
<span>返回顶部</span> <span>返回顶部</span>
</div> </div>
{/eq} {/eq}
<script> <script>
$(document).ready(function () { $(document).ready(function () {
// 获取窗口高度 // 获取窗口高度
var windowHeight = $(window).height(); var windowHeight = $(window).height();
// 监听滚动事件 // 监听滚动事件
$(window).scroll(function() { $(window).scroll(function () {
// 检查滚动距离是否超过一屏幕高度 // 检查滚动距离是否超过一屏幕高度
if ($(this).scrollTop() > windowHeight) { if ($(this).scrollTop() > windowHeight) {
// 如果超过,显示返回顶部按钮 // 如果超过,显示返回顶部按钮
$('.backtop').fadeIn(300); $('.backtop').fadeIn(300);
} else { } else {
// 如果未超过,隐藏返回顶部按钮 // 如果未超过,隐藏返回顶部按钮
$('.backtop').fadeOut(300); $('.backtop').fadeOut(300);
} }
}); });
// 点击返回顶部按钮时的事件处理 // 点击返回顶部按钮时的事件处理
$('.backtop').click(function() { $('.backtop').click(function () {
// 平滑滚动到页面顶部 // 平滑滚动到页面顶部
$('html, body').animate({ $('html, body').animate({
scrollTop: 0 scrollTop: 0
}, 800); }, 800);
return false; return false;
}); });
}); });
</script> </script>

View File

@@ -227,6 +227,9 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.oricoEGapp-Contact .narskfPage .narskf-content .narskf-ct-row .narskfit .narskfactive-ewm img{
width: 80%;
}
.oricoEGapp-Contact .narskfPage .narskf-content .narskf-ct-row .narskfit .narskfactive-ewm .narskfactiveimg { .oricoEGapp-Contact .narskfPage .narskf-content .narskf-ct-row .narskfit .narskfactive-ewm .narskfactiveimg {
width: 9.5rem; width: 9.5rem;
width: 9.5rem; width: 9.5rem;
@@ -251,6 +254,7 @@
padding-top: 0; padding-top: 0;
font-size: 1rem; font-size: 1rem;
padding-bottom: 0.375rem; padding-bottom: 0.375rem;
overflow: inherit;
} }
.oricoEGapp-Contact .narskfPage .narskf-content .narskf-ct-row .narskfit2 .narskfit2-ct .narskf-sm { .oricoEGapp-Contact .narskfPage .narskf-content .narskf-ct-row .narskfit2 .narskfit2-ct .narskf-sm {
font-size: 0.75rem; font-size: 0.75rem;

View File

@@ -42,6 +42,7 @@ body {
font-size: 1.2em; font-size: 1.2em;
font-weight: 400; font-weight: 400;
color: #333; color: #333;
overflow-x: hidden;
} }
select, select,

View File

@@ -3071,6 +3071,7 @@ video img {
width: 96%; width: 96%;
max-width: 800px; max-width: 800px;
margin: 2rem auto 0; margin: 2rem auto 0;
margin-bottom: 2rem;
} }
.cd-horizontal-timeline .events-wrapper { .cd-horizontal-timeline .events-wrapper {
position: relative; position: relative;

View File

@@ -145,8 +145,8 @@
} }
.narswljshow .nDtopIt2 .nDitImg .nDitImg img { .narswljshow .nDtopIt2 .nDitImg .nDitImg img {
width: 3.25rem; /* width: 3.25rem;
height: 3.25rem; height: 3.25rem; */
padding: 1.25rem; padding: 1.25rem;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }

View File

@@ -46,6 +46,7 @@
.narshelpCenterdetail-app #rendered-content img { .narshelpCenterdetail-app #rendered-content img {
max-width: 100%; max-width: 100%;
display: inline;
} }
.narshelpCenterdetail-app .nhlpapp-search { .narshelpCenterdetail-app .nhlpapp-search {

View File

@@ -136,13 +136,13 @@
.narshelpCenterPc-app .nhlpappit { .narshelpCenterPc-app .nhlpappit {
margin: 0 auto; margin: 0 auto;
padding: 1.875rem; padding: 7%;
background: #fafafa; background: #fafafa;
border-radius: 1rem; border-radius: 1rem;
color: #202734; color: #202734;
font-size: 1rem; font-size: 1rem;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
width: 74%; width: 76%;
} }
.narshelpCenterPc-app .nhlpappit .nhlptl { .narshelpCenterPc-app .nhlpappit .nhlptl {

View File

@@ -92,6 +92,7 @@
.orico_Page_articleDetail .articleDetailMain .atmright .blog_share .share_list { .orico_Page_articleDetail .articleDetailMain .atmright .blog_share .share_list {
padding: 1.875rem; padding: 1.875rem;
display: flex; display: flex;
justify-content: space-between;
} }
.orico_Page_articleDetail .orico_Page_articleDetail
.articleDetailMain .articleDetailMain
@@ -100,7 +101,7 @@
.share_list .share_list
.atdit { .atdit {
float: left; float: left;
margin-right: 3.125rem; /* margin-right: 3.125rem; */
position: relative; position: relative;
} }
.orico_Page_articleDetail .orico_Page_articleDetail

View File

@@ -81,7 +81,8 @@
width: 11rem; width: 11rem;
} }
.narskfPage .narskf-content .narskf-ct-row .narskfit2 { .narskfPage .narskf-content .narskf-ct-row .narskfit2 {
width: 37rem; /* width: 37rem; */
width: 50%;
height: 11.25rem; height: 11.25rem;
flex-direction: row; flex-direction: row;
} }

View File

@@ -54,7 +54,7 @@
} }
.narsPage-head .headcenter .logico { .narsPage-head .headcenter .logico {
width: 13.375rem; width: 10rem;
height: 2.875rem; height: 2.875rem;
width:100% /* width:100% */
} }

View File

@@ -182,6 +182,12 @@
overflow-y: auto; overflow-y: auto;
position: relative; position: relative;
} }
.narshelpdetailPc .nars-help-content .nars-hlpdt-mm p img{
display: inline;
max-width: 100%;
margin: 5px 0;
}
/* .narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{*/ /* .narshelpdetailPc .nars-help-content .nars-hlpdt-mm img{*/
/* width: -webkit-fill-available;*/ /* width: -webkit-fill-available;*/