good.phtml 1.77 KB
<div class="shopping-cart-good clearfix">
    <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}}

                <span class="iconfont icon-edit">&#xe61e;</span>
                <span class="iconfont icon-del">&#xe621;</span>
            </p>
        </div>
    </div>
    <div class="opt-panel">
        <div class="put-in-favorite">
            <span class="iconfont">&#xe622;</span>
            移入收藏夹
        </div>
        <div class="del">
            <span class="iconfont">&#xe61a;</span>
            删除
        </div>
    </div>
</div>