coupons.hbs
598 Bytes
<div class="yoho-page my-coupon-page">
<div class="employ">
<span class="active">未使用</span>
<span>已使用</span>
</div>
<div id="employ" class="coupon-list">
{{#if list}}
{{#list}}
<div class="employ-main">
<span>{{money}}</span>
<p class="coupon-name">{{coupon_name}}</p>
<p>有效期:{{couponValidity}}</p>
{{#if ../used}}
<i></i>
{{/if}}
</div>
{{/list}}
{{else}}
<div class="null">
<i></i>
<p>您还没有优惠券!</p>
<a href="/product/new">随便逛逛</a>
</div>
{{/if}}
</div>
<div id="employ2" class="coupon-list">
</div>