pzct/view/news/index.html

62 lines
2.0 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>
<ul>
{foreach $items as $item}
<li class="wow fadeInUp">
<a href="/news/{$item.id}.html">
<div class="img">
<div class="link-href">
<span class="v-img">
<span class="v-img-cover">
<img src="{$item.src}" alt="{$item.title}">
</span>
</span>
</div>
</div>
<div class="text">
<h3>{$item.title}</h3>
<div class="link">查看详情 >></div>
</div>
<div class="time"><img src="__STATIC__/web/img/time.jpg" alt="">{:date('Y.m.d', $item.create_time)}</div>
</a>
</li>
{/foreach}
</ul>
{$items->render('', 'class="pageing wow fadeIn" data-wow-duration="0.8s" data-wow-delay="0"')|raw}
</div>
</section>