cart.hbs 3.14 KB
<div class="shop-cart yoho-page clearfix">
    <div class="order-edit order-cart" id="cart-page">
        <div class="order-title cart-page-title order-ensure-title">
            {{> shopping-step}}
        </div>
        {{#unless cart.isLogin}}
            <div class="cartnew-tips">
                <div class="tipsbox" id="tipsbox">
                    <a href="javascript:void(0);" class="btn_close" title="关闭"></a>
                    <strong>温馨提示:</strong>亲爱的顾客,您还没有 <a href="{{cart.loginUrl}}" class="a_eu">登录</a>
                    哦,所有商品价格、活动信息以登录后显示为准.
                </div>
            </div>
        {{^}}
            <div class="cartnew-tips">
                <div class="tipsbox" id="tipsbox">
                    <a href="javascript:void(0);" class="btn_close" title="关闭"></a>
                    <strong>温馨提示:</strong>1. 选购单中的商品不保留库存,请及时结算。 2. 商品的价格、相关活动信息及库存以订单提交时为准。
                </div>
            </div>
        {{/unless}}
        <div class="order-pay" id="Y_CartListWrap">
            {{#cart}}
                {{> mix/cart/cart-list}}
            {{/cart}}
        </div>
    </div>

    {{#unless @root.pc.product.removeRecentView}}
        <div>
            <textarea class="lazy-load-object" style="visibility: hidden;">
                <script>
                    loadFineProduct();
                    fetchLatestWalk();
                </script>
            </textarea>
        </div>

        <div class="bottom-tab bottom-tab-slide none {{#unless cart.isEmpty}}mt30{{/unless}}">
            {{!--<span class="bottom-title {{#if cart.deleteShop}}cur{{/if}}
                                {{#unless cart.deleteShop}}none{{/unless}}">凑单商品</span>--}}
            <span class="bottom-title cur" data-type="fine" data-role="fine-tab">为您优选</span>
            <span class="bottom-title" data-role="latestWalk-tab">最近浏览</span>
            <span class="change">换一批
                <span class="iconfont change-icon">&#xe639;</span>
            </span>
        </div>

        <div class="individual-slide bottom-slide-content none">
            <!--<div data-role="together-slide" class="slide-panel"></div>-->
            <div data-role="fine-slide" class="slide-panel"></div>
            <div data-role="latestWalk-slide" class="slide-panel" style="display:none;"></div>
        </div>
        {{> cart-together-tpl }}
    {{/unless}}

    <div class="loading loading-single"><span></span>请稍后...</div>
    <div class="modal-overflow" style="display: none;" data-role="mdialog" id="Y_goodsSelectWinDialog">
        <div class="body-modal-black"></div>
        <div id="Y_goodsSelectWin" class="goods-select-win mmodal-dialog cart-togetherGoods" style="top:50px;">
            <div class="close" data-role="mdialog-close">
                <i class="iconfont">&#xe6ee;</i>
            </div>
            <div class="content goods-select-content">
                <div class="detail-body"></div>
            </div>
        </div>
    </div>
</div>

 {{> cart-analysis}}