<!--{assign var="menu_id" value="cp"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<div class="oe_ntop">
  <i class="iconfont" onclick="goBack();">&#xe616;</i>
  <p>商品收藏</p>
</div>
<div class="oe_collectgoods" id="json_data" style="padding:5px;">
  <!--{if empty($collect)}-->
  <h6>没有找到符合条件的信息</h6>
  <!--{else}-->
  <!--{foreach $collect as $volist}-->
  <dl id="collect_<!--{$volist.collectid}-->"<!--{if $volist.i%2==0}--> style="margin-left:5px;"<!--{/if}--> >

	<dt>
	  <img onclick="goUrl('<!--{$oefile}-->&c=goods&a=detail&id=<!--{$volist.goodsid}-->');" src="<!--{$volist.thumbimg}-->" />
	  <span f="but_del_one" data-type="collectgoods" data-id="<!--{$volist.collectid}-->" data-mod="collect" style="cursor:pointer;"><i class="iconfont">&#xe62b;</i></span>
	</dt>
	<dd>
	  <h3 onclick="goUrl('<!--{$oefile}-->&c=goods&a=detail&id=<!--{$volist.goodsid}-->');"><!--{$volist.goodsname}--></h3>
	  <p class="p_1"><s>原价：¥<!--{$volist.oldprice}--></s></p>
	  <p class="p_2">现价：<span>¥<!--{doubleval($volist.price)}--></span></p>
	  <p class="p_3">销量(<!--{doubleval($volist.sales)}-->)</p>
	</dd>
  </dl>
  <!--{/foreach}-->
  <!--{/if}-->
  <div class="clear"></div>
</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" data-box="json_data">点击加载下一页</div>
<!--{/if}-->

<script type="text/javascript">
$(function(){
    $max_width = (WIN_WIDTH-15)/2;
    $(".oe_collectgoods dl").css({"width":$max_width});
    $(".oe_collectgoods dl dt img").css({"width":$max_width});
    $(".oe_collectgoods dl dt img").css({"height":$max_width});
});
</script>

</body>
</html>