coupon.hbs 894 Bytes
<div class="coupon">
    <a  {{#if true}}
            class="enable"
        {{/if}}
            href="{{url}}"
            target="_blank"
            href="javascript:void(0);"
            data-id="{{id}}"
    >
        <img src="{{imgUrl}}">
        {{#if empty}}
            <div class="coupon-mask"></div>
        {{/if}}
        <div class="info">

            {{#if true}}
            <div class="normal">
                <p>点击</p>
                <p>领取</p>
            </div>
            {{/if}}

            {{#if got}}
            <div class="got">
                <p>已领取</p>
                <p class="guang">去使用</p>
            </div>
            {{/if}}

            {{#if empty}}
            <div class="empty">
                <p>已抢光</p>
                <p class="guang">去逛逛</p>
            </div>
            {{/if}}
        </div>
    </a>
</div>