<!--{assign var="menu_id" value="article"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<div class="oe_ntop">
  <i class="iconfont" onclick="goBack();">&#xe616;</i>
  <p>
  <!--{if empty($catdata)}-->
  文章资讯
  <!--{else}-->
  <!--{$catdata.catname}-->
  <!--{/if}-->
  </p>
</div>

<!--{assign var="infocat" value=vo_list("mod={article}")}--> 
<!--{if !empty($infocat)}-->
<div class="oe_info_nav">
  <div class="swiper-container">
    <div class="swiper-wrapper">
	  <!--{if $s_catid > 0}-->
		<!--{assign var="catlist" value=vo_list("mod={articlecat} where={v.parentid='<!--{$s_catid}-->'}")}-->
		<!--{if empty($catlist)}-->
		<!--{assign var="catlist" value=vo_list("mod={articlecat} where={v.parentid='<!--{$catinfo.parentid}-->'}")}-->
		<!--{/if}-->
	  <!--{else}-->
		<!--{assign var="catlist" value=vo_list("mod={articlecat} where={v.parentid='0'}")}-->
	  <!--{/if}-->
	  <div class="tab_menu swiper-slide<!--{if $s_catid == 0}--> curr<!--{/if}-->" >
	    <span onclick="goUrl('<!--{$oefile}-->&c=article&a=list');">全部</span>
	  </div>
	  <!--{foreach $catlist as $volist}-->
      <div class="tab_menu swiper-slide<!--{if $s_catid == $volist.catid}--> curr<!--{/if}-->" >
	    <span onclick="goUrl('<!--{$oefile}-->&c=article&a=list&s_catid=<!--{$volist.catid}-->');"><!--{$volist.catname}--></span>
	  </div>
      <!--{/foreach}--> 
    </div>
  </div>
  <div class="clear"></div>
</div>
<script style="text/javascript">
new Swiper('.swiper-container', {
	pagination: '.swiper-pagination',
	slidesPerView: 4,
	paginationClickable: true,
	spaceBetween: 8,
});
</script> 
<!--{/if}-->

<div class="oe_info_list"> 
  <!--{if empty($article)}-->
  <h6>没有符合条件的信息</h6>
  <!--{else}-->
  <ul id="json_data">
    <!--{foreach $article as $volist}--> 
    <li onclick="goUrl('<!--{$oefile}-->&c=article&a=detail&id=<!--{$volist.articleid}-->');" <!--{if $volist.thumbimg != "<!--{$urlpath}-->tpl/static/images/nopic_s.jpg"}--> class="current" <!--{/if}-->> 
    <!--{if $volist.thumbimg != "<!--{$urlpath}-->tpl/static/images/nopic_s.jpg"}--> <img src="<!--{$volist.thumbimg}-->" /> 
    <!--{/if}-->
    <h4><!--{$volist.title}--></h4>
    <p>
	  <span> 浏览次数：<!--{$volist.hits}--> </span>
      <label><!--{$volist.addtime|date_format:"%Y-%m-%d"}--></label>
    </p>
    <div class="clear"></div>
    </li>
    <!--{/foreach}-->
  </ul>
  <div class="clear"></div>
  <!--{/if}--> 
</div>

<input type="hidden" name="page" id="page" value="2" />
<!--{if $pagecount > 1}-->
<div class="oe_page" f="but_loadmore_page" data-url="<!--{$oefile}-->&c=<!--{$c}-->&a=list&datatype=json&<!--{$urlitem}-->" data-box="json_data">点击加载下一页</div>
<!--{/if}-->

</body>
</html>