cart-pre-sell-tpl.hbs 4.42 KB
<div class="modal-overflow" style="display: none;" data-role="mdialog" id="Y_CartSelectDialog">
    <div class="body-modal-black"></div>
    <div class="mmodal-dialog cart-preSell-dialog" style="top:50px;margin-left: -267px;">
        <div class="close" data-role="mdialog-close">
            <i class="iconfont">&#xe60d;</i>
        </div>
        <div class="content">
            <div class="detail-body">
                {{#advanceCart}}
                    <div class="slide-img">
                        <p class="sell-class-title">预售商品<strong>{{stat.selectedGoodsCount}}</strong>&nbsp;&nbsp;&nbsp;总金额<strong>¥809.00</strong></p>
                        <div class="side-img-dd">
                            <div class="side-img-container">
                                <ul class="img-list">
                                    {{#each pools}}
                                        {{#each goodsList}}
                                            <li class="img-item">
                                                <span class="hide goods-id">{{id}}</span>
                                                <div class="good">
                                                    <a class="good-cont" href="{{link}}" target="_blank">
                                                        <img src="{{imgCover}}">
                                                        <span class="incentive">预售</span>
                                                    </a>
                                                </div>
                                            </li>
                                        {{/each}}
                                    {{/each}}
                                </ul>
                            </div>
                            <div class="img-brand-switch">
                                <a class="prev iconfont" href="javascript:;">&#xe609;</a>
                                <a class="next iconfont" href="javascript:;">&#xe608;</a>
                            </div>
                        </div>
                    </div>
                    <a class="btn-account">去结算</a>
                {{/advanceCart}}
                {{#ordinaryCart}}
                    <div class="slide-img">
                        <p class="sell-class-title">普通商品<strong>{{stat.selectedGoodsCount}}</strong>&nbsp;&nbsp;&nbsp;总金额<strong>¥&nbsp;{{stat.lastOrderAmount}}</strong></p>
                        <div class="side-img-dd">
                            <div class="side-img-container">
                                <ul class="img-list">
                                    {{#each pools}}
                                        {{#each goodsList}}
                                            <li class="img-item">
                                                <span class="hide goods-id">{{id}}</span>
                                                <div class="good">
                                                    <a class="good-cont" href="{{link}}" target="_blank">
                                                        <img class="lazy" src="{{imgCover}}"/>
                                                    </a>
                                                </div>
                                                <!--<i class="iconfont checked">&#xe6cb;</i>-->
                                            </li>
                                        {{/each}}
                                    {{/each}}
                                </ul>
                            </div>
                            <div class="img-brand-switch">
                                <a class="prev iconfont" href="javascript:;">&#xe609;</a>
                                <a class="next iconfont" href="javascript:;">&#xe608;</a>
                            </div>
                        </div>
                    </div>
                    <a class="btn-account btn-account-black">去结算</a>
                {{/ordinaryCart}}
                <p class="pre-sell-tip">温馨提示:您需要分开结算【预售商品】和【普通商品】</p>
            </div>
        </div>
    </div>
</div>

<!--
<div class="yoho-dialog cart-preSell-dialog"
     data-role="cart-pre-sell"
     style="margin-top:-200px;margin-left: -350px; display:none;">

    <span class="close">
        <i class="iconfont">&#xe60d;</i>
    </span>
    <div class="content">
        <div class="detail-body">

        </div>
    </div>
</div>
-->