coupons-list.hbs 1.43 KB
{{#each list}}
    <div class="coupon-group{{#is-equal-or couponType '5'}} usable-frees{{/is-equal-or}}" data-coupon-id={{couponId}}>
        <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 overState}}<span class="coupon-soon-expire">{{overState}}</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="javascript:void(0);" data-link="{{bestowLink}}" class="btn">立即使用</a>
                            {{/if}}
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="coupon-footer hide">
            {{#notes}}
            <p>{{.}}</p>
            {{/notes}}
        </div>
    </div>
{{/each}}