stlye:首页 nas首页样式调整
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -51,10 +51,10 @@
|
||||
</div>
|
||||
{/notempty}
|
||||
{notempty name="data.weline.down_items"}
|
||||
<div class="nDtopIt2">
|
||||
<div class="nDtopIt2" >
|
||||
{volist name="data.weline.down_items" id="it"}
|
||||
<a {notempty name="it.link"}href="{$it.link}"{/notempty}>
|
||||
<div class="nDitImg"><img src="{$it.image}" /></div>
|
||||
<div class="nDitImg {eq name='Request.cookie.think_lang' value='zh-cn'}nDitImg1{/eq}"><img src="{$it.image}" /></div>
|
||||
</a>
|
||||
{/volist}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user