媒体报道修改
parent
7c415b16f5
commit
824a67a8c4
|
@ -3808,6 +3808,11 @@
|
||||||
border-radius: .33rem;
|
border-radius: .33rem;
|
||||||
margin: .4rem auto 0;
|
margin: .4rem auto 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.event-preview{
|
||||||
|
width: 94%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.preview-swiper {
|
.preview-swiper {
|
||||||
margin: .3rem 0 0;
|
margin: .3rem 0 0;
|
||||||
|
@ -3816,7 +3821,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-swiper .swiper-slide {
|
.preview-swiper .swiper-slide {
|
||||||
width: 6.5rem;
|
width: 100%;
|
||||||
|
padding: .18rem;
|
||||||
|
background-color: #ffffff;
|
||||||
margin: 0 .12rem;
|
margin: 0 .12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ $previewList = Article::getList(Category::CATEGORY_BRAND_ACTIVITY, 10, null, ['i
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
{foreach $previewList as $prev}
|
{foreach $previewList as $prev}
|
||||||
<a href="/activity/{$prev.id}.html" class="preview-item swiper-slide flex">
|
<a href="/activity/{$prev.id}.html" class="preview-item swiper-slide flex">
|
||||||
<div class="img"><img src="{$isMobile ? $prev.src_mobile : $prev.src}" alt="{$prev.title}"></div>
|
<div class="img"><img src="http://zzwy2.scdxtc.cn/{$isMobile ? $prev.src_mobile : $prev.src}" alt="{$prev.title}"></div>
|
||||||
<div class="txt bg-col-white">
|
<div class="txt bg-col-white">
|
||||||
<h2 class="clips1">{$prev.title}</h2>
|
<h2 class="clips1">{$prev.title}</h2>
|
||||||
<p class="color-66 clips3">{$prev.summary}</p>
|
<p class="color-66 clips3">{$prev.summary}</p>
|
||||||
|
|
Loading…
Reference in New Issue