coupons.hbs 2.59 KB
<div class="yoho-page my-coupon-page">
    <div class="coupon-tab">
        <ul>
            <li class="activate">未使用</li>
            <li>已使用</li>
        </ul>
    </div>

    {{!--coupon-list start--}}
    <div class="coupon-list coupon-tab1">
        {{#each list}}
            <div class="coupon-group" 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">
                    {{#if isNoLimit}}
                        <p>全场通用</p>
                    {{/if}}

                    {{#if brandNameLimits}}
                        <p>限品牌:{{brandNameLimits}}</p>
                    {{/if}}

                    {{#if sortNameLimits}}
                        <p>限品类:{{sortNameLimits}}</p>
                    {{/if}}
                    <p>特例商品(秒杀、限定、境外、预售{{#if isDiscount}}、3折以下{{/if}}{{#if isLimited}}、限量{{/if}}等)暂不支持使用优惠券。</p>
                    {{#if explains}}<p>说明:{{explains}}</p>{{/if}}
                </div>
            </div>
        {{/each}}
    </div>
    {{!--coupon-list end--}}
    <div class="coupon-list coupon-tab2"></div>
    <div class="coupon-list coupon-tab3"></div>
</div>
<input type="hidden" id="no-download">