pzct/view/news/list.html

69 lines
2.2 KiB
HTML
Executable File

{layout name="layout" /}
<div class="fixed-height"></div>
<section class="inner-banenr">
<img src="{$category.src}" alt="{$category.title}">
</section>
<section class="inner-nav">
<div class="wrap">
<div class="left">
<img src="__STATIC__/web/img/home.png" alt="">
<div>
您当前位置:<a href="/">首页</a> | <a href="/news.html">新闻动态</a> |<span>{$parentCategory.title}</span>
</div>
</div>
{include file="public/search"}
</div>
</section>
<section class="inner-nav2 mt30">
<div class="wrap">
{foreach $categoryChildren as $child}
<a href="/news.html?category_id={$child.id}" class="{if $child['id'] == $category['id']}curr{/if}">{$child.title}</a>
{/foreach}
</div>
</section>
<!-- 主要内容 -->
<section class="party-list">
<div class="wrap">
<div class="title2 mt40"><span>{$category.title}</span></div>
<div class="news-list">
{foreach $items as $item}
<div class="boxs">
<div class="img">
<a href="/news/{$item.id}.html">
<div class="link-href">
<span class="v-img">
<span class="v-img-cover">
<img src="{$item.src}" alt="{$item.title}">
</span>
</span>
</div>
</a>
</div>
<div class="text">
<h3><a href="/news/{$item.id}.html">{$item.title}</a></h3>
<div class="st">
{$item.summary}
</div>
<a href="/news/{$item.id}.html" class="tit">
<div class="links">查看详情 >></div>
<div class="time">{:date('Y.m.d', $item.create_time)}</div>
</a>
</div>
</div>
{/foreach}
</div>
{$items->render('', 'class="pageing wow fadeIn" data-wow-duration="0.8s" data-wow-delay="0"')|raw}
</div>
</section>