Blame view

doraemon/views/partial/order/good.hbs 1.15 KB
1 2 3
<div class="order-good" data-id="{{id}}">
    <div class="thumb-wrap">
       {{#if link}}
4
       <a href="{{link}}"><img class="thumb" src="{{image thumb 90 120}}"></a>
5
       {{else}}
6
       <img class="thumb" src="{{image thumb 90 120}}">
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
       {{/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}}日期{{else}}颜色{{/if}}:{{color}}
                </span>
            {{/if}}

            {{#if size}}
                <span class="size">
                    {{#if tickets}}区域{{else}}尺码{{/if}}:{{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>