good.phtml 1.08 KB
<div class="order-good" data-id="{{id}}">
    <div class="thumb-wrap">
       {{#if link}}
       <a href="{{link}}"><img class="thumb lazy" data-original="{{thumb}}"></a>
       {{else}}
       <img class="thumb lazy" data-original="{{thumb}}">
       {{/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">
                    颜色:{{color}}
                </span>
            {{/if}}

            {{#if size}}
                <span class="size">
                    尺码:{{size}}
                </span>
            {{/if}}
        </p>
        <p class="row price-wrap">
            <span class="price">
                ¥{{price}}
            </span>
            <span class="count">
                ×{{count}}
            </span>
            {{#if appearDate}}
                <span class="appear-date">上市期:{{appearDate}}</span>
            {{/if}}
        </p>
    </div>
</div>