作者 景龙
1 个管道 的构建 通过 耗费 3 秒

修改样式地道风物

... ... @@ -647,7 +647,7 @@
</div>
<!-- 更多按钮 -->
<div class="star_gall_more">
<a href="">MORE+</a>
<a href="/portal/region/getMoreGallery">MORE+</a>
</div>
</div>
</div>
... ...
... ... @@ -127,9 +127,7 @@
<ul class="swiper-wrapper">
<volist name="res_xyhl" id="vo">
<li class="swiper-slide">
<a href="/portal/region/getGalleryDetail?id={$vo.id}">
<img class="swiper-slide slide-image" src="{:cmf_get_image_url($vo.thumbnail)}" alt="">
</a>
</li>
</volist>
</ul>
... ...
... ... @@ -201,31 +201,30 @@
prevEl: '.Product .swiper-button-prev',
},
});
var swipe = new Swiper('.Specialty .swiper-container', {
var swiper = new Swiper('.Specialty .swiper-container', {
slidesPerView: 'auto',
spaceBetween: 13,
navigation: {
nextEl: '.Specialty .swiper-button-next',
prevEl: '.Specialty .swiper-button-prev',
},
}
});
var swipe = new Swiper('.Innovation .swiper-container', {
var swiper = new Swiper('.Innovation .swiper-container', {
slidesPerView: 'auto',
spaceBetween: 13,
navigation: {
nextEl: '.Innovation .swiper-button-next',
prevEl: '.Innovation .swiper-button-prev',
},
}
});
var swip = new Swiper('.Lifestyle .swiper-container', {
var swiper = new Swiper('.Lifestyle .swiper-container', {
slidesPerView: 2,
spaceBetween: 16,
navigation: {
nextEl: '.Lifestyle .swiper-button-next',
prevEl: '.Lifestyle .swiper-button-prev',
},
}
});
</script>
... ...
... ... @@ -69,6 +69,12 @@ main {
}
.Specialty_item_name{
text-align:center;
height: 33px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.Product_item_Route {
box-sizing: border-box;
... ... @@ -170,6 +176,12 @@ main {
.Specialty_main .swiper-slide:nth-child(3n+1) .Specialty_item .Specialty_item_name{
text-align: center;
margin-top: 16px;
height: 33px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.Specialty_item .Specialty_item_price{
text-align: center;
... ...