coin-get-list.hbs 1.35 KB
<div class="act-list">
    {{# list}}
    <div class="act-item">
        <div class="pic">
            {{#if headimg}}
            <img class="lazy" data-original="{{image headimg mode=2 w=750 h=300 q=60}}" />
            {{else}}
            <img class="lazy" data-original="{{image2 headPic mode=2 w=750 h=320 q=60}}" />
            {{/if}}
            {{#if level}}
            <div class="level">Lv.{{level}}可兑换</div>
            {{/if}}
        </div>
        <div class="info">
            <div class="left">
                <div class="name eps">{{name}}</div>
                <div class="num">
                    <span class="coin-pic-s"></span>
                    <span>{{#if points}}{{points}}{{/if}}{{#if point}}{{point}}{{/if}}</span>
                    <span class="old-price">{{discountPoints}}</span>
                    <span class="discount">Lv.3会员9折优惠</span>
                </div>
                <div class="remain">仅剩{{#if stock}}{{stock}}{{/if}}{{#if num}}{{num}}{{/if}}</div>
            </div>
            <div class="right">
                <span class="go-btn{{#if usable}} usable{{/if}}{{#if noStore}} no-store{{/if}}" data-id="{{id}}" data-level="{{level}}" data-point="{{#if points}}{{points}}{{/if}}{{#if point}}{{point}}{{/if}}" data-type="{{type}}">兑换</span>
            </div>
        </div>
    </div>
    {{/ list}}
</div>