zzwy2/view/article/index.html

42 lines
1.4 KiB
HTML
Executable File

{layout name="layout" /}
<!-- -->
<div class="banner bannerDate">
<div class="img"><img src="{$category['src'] ?? ''}" onerror="this.src='/static/images/frontImages/82.jpg'"></div>
</div>
<!-- -->
<div class="minNavBox">
<div class="cont w1232 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0">
<div class="h1">当前位置:</div>
<div class="mk">
<a href="/">首页</a>
<a href="javascript:;">资讯列表</a>
</div>
</div>
</div>
<!-- -->
<div class="haveBox marginBotton">
<div class="cont w1232">
{foreach $items as $item}
<div class="li wow fadeInUp" data-wow-duration="1s" data-wow-delay="0">
<a {if !empty($item['link'])}
href="{$item['link']}" rel="nofollow" target="_blank"
{else /}href="javascript:;"{/if} >
<div class="img"><i><img src="{$item['src'] ?? ''}" alt="{$item['title'] ?? ''}"></i></div>
<div class="text">
<div class="mk">
<div class="time"><i>{:timeToFormat($item['create_time'], 'Y-m-d')}</i></div>
<div class="p">{$item['title'] ?? ''}</div>
</div>
</div>
</a>
</div>
{/foreach}
</div>
{$items->render('', 'class="pageing wow fadeInUp" data-wow-duration="1s" data-wow-delay="0"')|raw}
</div>