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

            </p>
            <p class="row">
                <span class="price">
                    ¥{{price}}
                </span>
                <span class="count">
                    ×{{count}}
                </span>
                {{#if soldOut}}
                    <span class="sold-out">
                        已售罄
                    </span>
                {{/if}}


                <span class="iconfont icon-edit">&#xe61e;</span>
                <span class="iconfont icon-del">&#xe621;</span>
            </p>
            <p class="row">
                {{#if lowStocks}}
                    <span class="low-stocks">
                        库存不足
                    </span>
                {{/if}}
            </p>
            <p class="row">
                {{#if appearDate}}
                    <span class="appear-date">
                        上市期:{{appearDate}}
                    </span>
                {{/if}}
            </p>
        </div>
    </div>
    <!--<div class="opt-panel hide">
        <div class="put-in-favorite">
            <span class="iconfont">&#xe622;</span>
            <span>移入</span>
            收藏夹
        </div>
        <div class="del">
            <span class="iconfont">&#xe626;</span>
            删除
        </div>
    </div>-->
</div>