zzwy2/view/article/added.html

52 lines
1.6 KiB
HTML
Executable File

{layout name="layout_two"/}
{php}
use app\model\Article;
use app\model\Category;
$position = Category::getPosition($category["id"]);
$childrenMenu = Category::getChildrenByParentId(Category::CATEGORY_SERVICE);
{/php}
<div class="bannerdata">
<div class="img"><img src="{$category['src']}" alt="{$category['title']}"></div>
</div>
<div class="searceboxtop">
<div class="cont w1360">
<div class="navminbox">
{$position|raw}
</div>
<div class="right">
{foreach $childrenMenu as $childrenMenuItem}
<a href="{:getUri($childrenMenuItem)}" {if $category["id"] ==$childrenMenuItem['id'] }class="on"{/if}>{$childrenMenuItem['title']}</a>
{/foreach}
</div>
</div>
</div>
<div class="contentboxer">
<div class="addedbox">
<div class="cont w1360">
<div class="title">
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">Value added services</div>
<div class="p wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">增值服务</div>
</div>
<div class="list">
{foreach $items as $item}
<div class="li">
<a href="javascript:;" class="clearfix">
<div class="img"><img src="{$item['src']}" alt="{$item['title']}"></div>
<div class="text">
<div>
<div class="h1 wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0">{$item['title']}</div>
<div class="p wow fadeInUp" data-wow-duration="0.8s" data-wow-delay="0.2s">
{$item['content']|raw}
</div>
</div>
</div>
</a>
</div>
{/foreach}
</div>
</div>
</div>
</div>