<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_header.tpl"}-->
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_top.tpl"}-->

<div class="oem_zhekou">
  <div class="oem_zhekou_left">
    <dl>
      <dt><img src="<!--{$coupon.thumbimg}-->" /></dt>
	  <dd>
	    <h3>满 ¥<!--{doubleval($coupon.fullamount)}--> 减 ¥<!--{doubleval($coupon.cost)}--> </h3>
        <p>
		  <!--{$coupon.title}--><br />
		  有效时间：[<!--{$coupon.starttime|date_format:"%Y-%m-%d"}-->] 至 [<!--{$coupon.endtime|date_format:"%Y-%m-%d"}-->]<br />
        </p>
      </dd>
    </dl>
    <div class="oem_zhekou_button">
	  <!--{if $coupon.fee > 0}-->
	  <a href="javascript:;" f="getcoupon" data-shopid="<!--{$shop.shopid}-->" data-id="<!--{$coupon.coupid}-->"><img src="<!--{$urlpath}-->tpl/shop/<!--{$shop.skin}-->/images/coubuy.png"></a>
	  <!--{else}-->
	  <a href="javascript:;" f="getcoupon" data-shopid="<!--{$shop.shopid}-->" data-id="<!--{$coupon.coupid}-->"><img src="<!--{$urlpath}-->tpl/shop/<!--{$shop.skin}-->/images/coulin.png"></a>
	  <!--{/if}-->
	</div>
    <div class="oem_zhekou_num">
	  已有<i> <!--{$coupon.salenums}--> </i>人领取，还剩 <em><!--{($coupon.nums-$coupon.salenums)}--></em> 张
	</div>
  </div>
  <div class="oem_zhekou_right">
    <ul>
	  <!--{assign var="codelist" value=vo_list("mod={couponcode} where={v.coupid='<!--{$coupon.coupid}-->'} num={7}")}-->
	  <li class="oe_head"><span class="oe_1">用户</span><span class="oe_2">联系电话</span><span class="oe_3">领取时间</span></li>
	  <!--{foreach $codelist as $val}-->
      <li><span class="oe_1"><!--{$val.username}--></span><span class="oe_2"><!--{$val.mobile|mobile}--></span><span class="oe_3"><!--{$val.buytime|date_format:"%Y-%m-%d"}--></span></li>
	  <!--{/foreach}-->
    </ul>
  </div>
 <div class="clear"></div>
</div>


<div class="oem_you_detail">
  <h3 class="oe_contenttitle"><span class="current">优惠券详情</span> </h3>
  <div class="oem_you_content">
	<!--{$coupon.intro|nl2br}-->
  </div>
</div>
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/coupon_get_js.tpl"}-->
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_footer.tpl"}-->