<!--{assign var="menu_id" value="shop"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<div class="oe_ntop">
  <i class="iconfont" onclick="goBack();">&#xe616;</i>
  <p>商家美图欣赏</p>
</div>
<div class="oe_shop_top">
  <dl>
    <dt><img src="<!--{$shop.logourl}-->" alt="<!--{$shop.shopname}-->" /></dt>
    <dd>
      <h1><!--{$shop.shopname}--></h1>
      <p class="p_1"><!--{if $shop.shoprz == "1"}--><span class="span_1">认</span><!--{/if}--></p>
    </dd>
    <div class="clear"></div>
  </dl>
  <div class="oe_shop_topsc">
    <i class="iconfont">&#xe610;</i> 收藏
  </div>
</div>

<div class="oe_shopnav">
  <ul>
    <li class="li_1" onclick="goUrl('<!--{$oefile}-->&c=shop&a=goods&shopid=<!--{$shop.shopid}-->');"><i class="iconfont">&#xe602;</i>商品</li>
    <li class="li_2" onclick="goUrl('<!--{$oefile}-->&c=shop&a=activity&shopid=<!--{$shop.shopid}-->');"><i class="iconfont">&#xe626;</i>活动</li>
    <li class="li_3" onclick="goUrl('<!--{$oefile}-->&c=shop&a=coupon&shopid=<!--{$shop.shopid}-->');"><i class="iconfont">&#xe605;</i>优惠券</li>
    <li class="li_4 current" onclick="goUrl('<!--{$oefile}-->&c=shop&a=gallery&shopid=<!--{$shop.shopid}-->');"><i class="iconfont">&#xe625;</i>作品集</li>
  </ul>
  <div class="clear"></div>
</div>
<div class="ge"></div>


<div class="oe_gallery_list" id="gallery_data">
  <!--{if empty($gallery)}-->
  <h6>没有符合条件的信息</h6>
  <!--{else}-->
  <!--{foreach $gallery as $volist}--> 
  <dl onclick="goUrl('<!--{$oefile}-->&c=gallery&a=detail&id=<!--{$volist.galleryid}-->');">
  	<dt><img src="<!--{$volist.thumbimg}-->" /></dt>
  	<dd>
      <p><!--{$volist.name}--></p>
      <span><i class="iconfont">&#xe627;</i> <!--{$volist.hits}--></span>
    </dd>
  </dl>
  <!--{/foreach}-->
  <!--{/if}-->
</div>

<!--{if $pagecount > 1}-->
<div class="oe_page" id="page_more_btn" style="display:block;">点击加载下一页</div>
<!--{/if}-->
<input type="hidden" name="page" id="page" value="2" />
<input type="hidden" name="reqs_url" id="reqs_url" value="<!--{$oefile}-->&c=<!--{$c}-->&a=gallery&datatype=json&shopid=<!--{$shop.shopid}-->" />

<script type="text/javascript">
$(function(){
	//加载下一页
	$("#page_more_btn").bind("click", function(){
		_oeGetListData("", $("#page").val(), "gallery_data");
	});

});
</script>
</body>
</html>