good.hbs 1.51 KB
<div class="order-good" data-id="{{id}}">
    <div class="thumb-wrap">
       {{#if link}}
       <a href="{{link}}"><img class="thumb" src="{{image thumb 90 120}}"></a>
       {{else}}
       <img class="thumb" src="{{image thumb 90 120}}">
       {{/if}}
       <p class="tag{{#if gift}} gift-tag{{/if}}{{#if advanceBuy}} advance-buy-tag{{/if}}"></p>
    </div>
    <div class="deps">
        <p class="name row">{{name}}</p>
        <p class="row">
            {{#if color}}
                <span class="color{{#if tickets}} date{{/if}}">
                    {{#if tickets}}日期{{else}}颜色{{/if}}:{{color}}
                </span>
            {{/if}}

            {{#if size}}
                <span class="size">
                    {{#if tickets}}区域{{else}}尺码{{/if}}:{{size}}
                </span>
            {{/if}}
        </p>
        {{#if appearDate}}
            <span class="appear-date">上市期:{{appearDate}}</span>
        {{/if}}
        <p class="row price-wrap">
            {{!-- {{#if isVipPrice}}
            <span class="fill-text">VIP</span>
            {{/if}}
            {{#if isStudebt}}
            <span class="fill-text">学</span>
            {{/if}} --}}
            <span class="price">
                ¥{{payPrice}}
            </span>
            {{#if salePrice}}
            <span class="sale-price">
                ¥{{salePrice}}
            </span>
            {{/if}}
            <span class="count">
                ×{{count}}
            </span>
        </p>
    </div>
</div>