cart-medley.hbs 1.91 KB
<!-- 凑单,最近浏览商品记录 -->
<script id="togetherProduct" type="text/x-handlebars-template">
    <div class="cartnew-goodslist cartnew-goodslist-open" id="orderProduct">
        <div class="title">
            <h2>
                <i class="icon-minus"></i>
                <i class="icon-add none"></i>
                \{{header}}
            </h2>
            <div class="right" id="orderProductPage">
                \{{#if hasPrev}}
                <span class="pageprev btn_type1"><a href="javascript:void(0);" title="上一页"><span></span></a></span>
                \{{/if}}
                \{{#if hasNext}}
                <span class="pagenext btn_type1"><a href="javascript:void(0);" title="下一页"><span></span></a></span>
                \{{/if}}
            </div>
        </div>
        <div class="main">
            <ul>
                \{{# item}}
                <li>
                    <div class="list">
                        <div class="thumb">
                            <a href="\{{href}}" title="\{{title}}" target="_blank">
                                <img src="\{{img}}" alt="\{{alt}}">
                            </a>
                        </div>
                        <div class="name">
                            <a href="\{{href}}" target="_blank">
                                <h3>\{{title}}</h3>
                            </a>
                        </div>
                        <div class="price">
                        \{{#if marketPrice}}
                            <del>¥\{{marketPrice}}</del>

                        \{{/if}}
                            ¥\{{price}}</div>
                        <div class="op">
                            <a href="javascript:void(0);" data-id="\{{id}}" class="btn_view_s"></a>
                        </div>
                    </div>
                </li>
                \{{/ item}}
            </ul>
        </div>
    </div>
</script>