Blame view

template/m.yohobuy.com/partials/shopping-cart/good.phtml 1.82 KB
xuqi authored
1
<div class="shopping-cart-good clearfix" data-id={{id}}>
xuqi authored
2 3 4 5 6 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 38 39 40 41 42 43 44
    <span class="checkbox icon-cb-checked iconfont"></span>
    <div class="info">
        <img class="thumb lazy" data-original={{thumb}}>
        <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}}

                {{#if appearDate}}
                    <span class="appear-date">
                        上市期:{{appearDate}}
                    </span>
                {{/if}}
            </p>
            <p class="row">
                <span class="price">
                    ¥{{price}}
                </span>
                <span class="count">
                    ×{{count}}
                </span>
                {{#if soldOut}}
                    <span class="sold-out">
                        已售罄
                    </span>
                {{/if}}

                {{#if lowStocks}}
                    <span class="low-stocks">
                        库存不足
                    </span>
                {{/if}}
xuqi authored
45 46
                <span class="iconfont icon-edit">&#xe61e;</span>
                <span class="iconfont icon-del">&#xe621;</span>
xuqi authored
47 48 49
            </p>
        </div>
    </div>
xuqi authored
50
    <div class="opt-panel hide">
xuqi authored
51
        <div class="put-in-favorite">
xuqi authored
52
            <span class="iconfont">&#xe622;</span>
xuqi authored
53 54
            <span>移入</span>
            收藏夹
xuqi authored
55 56
        </div>
        <div class="del">
xuqi authored
57
            <span class="iconfont">&#xe626;</span>
xuqi authored
58 59 60 61
            删除
        </div>
    </div>
</div>