coupons-list.hbs 1.59 KB
{{#each list}}
<div class="coupon-group">
    <div class="coupon-header">{{couponDetailInfomation}}</div>
    <div class="coupon-content">
        <div class="coupon-content-group1">
            <p class="coupon-money">{{couponValue}}</p>
            <p>{{rule4ShortName}}</p>
        </div>
        <div class="coupon-content-group2">
            <div class="coupon-content-group2-table">
                <div>
                    {{couponValidity}}
                    {{#if isSoonExpire}}<span class="coupon-soon-expire">(即将到期)</span>{{/if}}
                </div>
                <div>
                    <div class="left down info-btn">详细信息<i class="iconfont"></i></div>
                    <div class="right">
                        {{#if employbg}}
                            <span class="employ"></span>
                        {{else if bestowLink}}
                            <a href="{{bestowLink}}" class="btn">立即使用</a>
                        {{/if}}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="coupon-footer hide">
        {{#if brandNameLimit}}
            <p>限品牌:{{brandNameLimit}}</p>
        {{else if sortNameLimit}}
            <p>限品类:{{sortNameLimit}}</p>
        {{else if isNoLimit}}
            <p>全场通用</p>
        {{/if}}
        <p>特例商品(秒杀、限定、境外、预售{{#if isDiscount}}、3折以下{{/if}}{{#if isDiscount}}、限量{{/if}}等)暂不支持使用优惠券。</p>
        {{#if explains}}<p>说明:{{explains}}</p>{{/if}}
    </div>
</div>
{{/each}}