coupon-admin/view/article/case.html

80 lines
3.2 KiB
HTML

{layout name="layout" /}
<div class="all-center-box">
{php}
/* $case=app\model\Category::getById(10);
$case_banner=$case?$case['src']:'/static/image/page_ban2.jpg';*/
{/php}
<div class="page-banner w-100"><img src="{$category['src']}" ></div>
<div class="product-box1 w-100">
<div class="w-1200">
<div class="all-title2 w-100"><span>案例展示</span><p><i>CASE PRESENTATION</i></p></div>
<div class="page-menu w-100 center-center">
<div class="between-center">
<a href="{:url('/articles')->suffix(false)}/16.html" class="{:input('category_id')=='16'?'active':''}">
公共安全
</a>
<a href="{:url('/articles')->suffix(false)}/17.html" class="{:input('category_id')=='17'?'active':''}">
交通行业
</a>
<a href="{:url('/articles')->suffix(false)}/18.html" class="{:input('category_id')=='18'?'active':''}">
金融行业
</a>
<a href="{:url('/articles')->suffix(false)}/19.html" class="{:input('category_id')=='19'?'active':''}">
能源行业
</a>
<a href="{:url('/articles')->suffix(false)}/20.html" class="{:input('category_id')=='20'?'active':''}">
军事部队
</a>
<a href="{:url('/articles')->suffix(false)}/21.html" class="{:input('category_id')=='21'?'active':''}">
电力行业
</a>
<a href="{:url('/articles')->suffix(false)}/22.html" class="{:input('category_id')=='22'?'active':''}">
通信行业
</a>
<a href="{:url('/articles')->suffix(false)}/23.html" class="{:input('category_id')=='23'?'active':''}">
政府部门
</a>
</div>
</div>
<div class="center-block w-100">
<ul>
{foreach $items as $item}
<li>
<a href="{:url('/article')->suffix(false)}/{$item['id']}.html">
<div class="box-info1 w-100">
<div class="box1 w-100"><img src="{$item['src']}" ></div>
<div class="box2 w-100">
<span>{$item['title']}</span>
<p>{$item['summary']}</p>
</div>
</div>
<div class="box-info2 w-100 center-center">
<span>{$item['title']}</span>
<p>{$item['summary']}</p>
</div>
</a>
</li>
{/foreach}
</ul>
</div>
<div class="pager w-100 center-center">
<ul class="pagination">
{$items->render()|raw}
</ul>
</div>
</div>
</div>
</div>