|
|
|
@ -897,35 +897,41 @@ |
|
|
|
<div class="section-5__line" aria-hidden="true"></div> |
|
|
|
<ul class="section-5__list"> |
|
|
|
{if(!empty($news[1]))} |
|
|
|
<li class="section-5__item"> |
|
|
|
<div class="section-5__item-body"> |
|
|
|
<h3 class="section-5__item-title">{$news[1]['title'] ?? ''}</h3> |
|
|
|
<time class="section-5__date" datetime="{$news[0]['publish_time'] ?? ''}">{$news[1]['publish_time'] ?? ''}</time> |
|
|
|
</div> |
|
|
|
<a class="section-5__item-media" href="{:hcUrl('detail/index',['id'=>$news[1]['id'],'cid'=>$news[1]['category_id']])}"> |
|
|
|
<img src="{$news[1]['thumbnail_url'] ?? ''}" alt="" /> |
|
|
|
<li> |
|
|
|
<a class="section-5__item" href="{:hcUrl('detail/index',['id'=>$news[1]['id'],'cid'=>$news[1]['category_id']])}"> |
|
|
|
<div class="section-5__item-body"> |
|
|
|
<h3 class="section-5__item-title">{$news[1]['title'] ?? ''}</h3> |
|
|
|
<time class="section-5__date" datetime="{$news[1]['publish_time'] ?? ''}">{$news[1]['publish_time'] ?? ''}</time> |
|
|
|
</div> |
|
|
|
<span class="section-5__item-media"> |
|
|
|
<img src="{$news[1]['thumbnail_url'] ?? ''}" alt="" /> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
{/if} |
|
|
|
{if(!empty($news[2]))} |
|
|
|
<li class="section-5__item"> |
|
|
|
<div class="section-5__item-body"> |
|
|
|
<h3 class="section-5__item-title">{$news[2]['title'] ?? ''}</h3> |
|
|
|
<time class="section-5__date" datetime="{$news[2]['publish_time'] ?? ''}">{$news[2]['publish_time'] ?? ''}</time> |
|
|
|
</div> |
|
|
|
<a class="section-5__item-media" href="{:hcUrl('detail/index',['id'=>$news[2]['id'],'cid'=>$news[2]['category_id']])}"> |
|
|
|
<img src="{$news[2]['thumbnail_url'] ?? ''}" alt="" /> |
|
|
|
<li> |
|
|
|
<a class="section-5__item" href="{:hcUrl('detail/index',['id'=>$news[2]['id'],'cid'=>$news[2]['category_id']])}"> |
|
|
|
<div class="section-5__item-body"> |
|
|
|
<h3 class="section-5__item-title">{$news[2]['title'] ?? ''}</h3> |
|
|
|
<time class="section-5__date" datetime="{$news[2]['publish_time'] ?? ''}">{$news[2]['publish_time'] ?? ''}</time> |
|
|
|
</div> |
|
|
|
<span class="section-5__item-media"> |
|
|
|
<img src="{$news[2]['thumbnail_url'] ?? ''}" alt="" /> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
{/if} |
|
|
|
{if(!empty($news[3]))} |
|
|
|
<li class="section-5__item"> |
|
|
|
<div class="section-5__item-body"> |
|
|
|
<h3 class="section-5__item-title">{$news[3]['title'] ?? ''}</h3> |
|
|
|
<time class="section-5__date" datetime="{$news[3]['publish_time'] ?? ''}">{$news[3]['publish_time'] ?? ''}</time> |
|
|
|
</div> |
|
|
|
<a class="section-5__item-media" href="{:hcUrl('detail/index',['id'=>$news[3]['id'],'cid'=>$news[3]['category_id']])}"> |
|
|
|
<img src="{$news[3]['thumbnail_url'] ?? ''}" alt="" /> |
|
|
|
<li> |
|
|
|
<a class="section-5__item" href="{:hcUrl('detail/index',['id'=>$news[3]['id'],'cid'=>$news[3]['category_id']])}"> |
|
|
|
<div class="section-5__item-body"> |
|
|
|
<h3 class="section-5__item-title">{$news[3]['title'] ?? ''}</h3> |
|
|
|
<time class="section-5__date" datetime="{$news[3]['publish_time'] ?? ''}">{$news[3]['publish_time'] ?? ''}</time> |
|
|
|
</div> |
|
|
|
<span class="section-5__item-media"> |
|
|
|
<img src="{$news[3]['thumbnail_url'] ?? ''}" alt="" /> |
|
|
|
</span> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
{/if} |
|
|
|
|