browse-record-content.phtml 1.04 KB
{{# browseRecord}}
    <a class="browse-record-good clearfix" data-skn="{{product_skn}}" href="{{link}}">
        <img class="thumb lazy" data-original="{{image}}">
        <div class="deps clearfix">
            <p class="name row">{{product_name}}</p>
            <p class="price row">
                <span class="sale-price{{#unless market_price}} original-price{{/unless}}"{{sales_price}}</span>
                &nbsp;&nbsp;
                {{#if market_price}}
                    <span class="market-price"{{market_price}}</span>
                {{/if}}
            </p>
            <p class="row">
                {{#unless storage}}
                    <span class="sold-out-tag">已售罄</span>
                {{/unless}}
            </p>
            <span class="iconfont del-icon">&#xe621;</span>
        </div>
    </a>
{{/ browseRecord}}

{{#if noRecord}}
    <div class="no-record">
        <div class="icon"></div>
        <span>暂无浏览记录</span>
        <a class="walk-way" href="{{walkwayUrl}}">随便逛逛</a>
    </div>
{{/if}}