latest-walk.hbs 1.52 KB
{{#unless @root.pc.product.removeRecentView}}
    <div class="bottom-tab">
        {{#if latestWalk}}
            <span class="bottom-cur tab-item">最近预览</span>
        {{/if}}
        {{#if goodsInfo.recommendKeywords}}
            <span class="about tab-item">相关推荐</span>
        {{/if}}

        <div class="bottom-line"></div>
    </div>
    <div class="bottom-tab-cont">
        {{#if latestWalk}}
            <div class="latest-walk-area">
                <input id="latest-walk-count" type="hidden" value="{{latestWalk}}">
                <div class="latest-walk">
                    <div id="latest-walk-goods" class="goods clearfix"></div>
                    <p class="null-data">
                        无最近浏览的商品
                    </p>
                </div>

                {{> product/latest-walk-tpl}}

                <div class="lazy-load-object">
                    <textarea class="latest-walk-datalazyload" style="visibility: hidden;">
                        <script> fetchLatestWalk(); </script>
                    </textarea>
                </div>
            </div>
        {{/if}}

        {{#if goodsInfo.recommendKeywords}}
            <div class="recommend-keywords about">
                <p>
                    {{# goodsInfo.recommendKeywords}}
                        <a href="{{url}}" title="{{keyword}}" target="_blank" class="keyword">{{keyword}}</a>
                    {{/ goodsInfo.recommendKeywords}}
                </p>
            </div>
        {{/if}}
    </div>
{{/unless}}