a8f2d21626003570c10779eb8f3cb491.php 2.48 KB
<?php return function ($in, $debugopt = 1) {
    $cx = array(
        'flags' => array(
            'jstrue' => false,
            'jsobj' => false,
            'spvar' => true,
            'prop' => false,
            'method' => false,
            'mustlok' => true,
            'echo' => false,
            'debug' => $debugopt,
        ),
        'constants' => array(),
        'helpers' => array(),
        'blockhelpers' => array(),
        'hbhelpers' => array(),
        'partials' => array(),
        'scopes' => array(),
        'sp_vars' => array('root' => $in),
        'lcrun' => 'Plugin\LCRun3',

    );
    
    return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('browseRecord')), $in, false, function($cx, $in) {return '    <a class="browse-record-good clearfix" data-skn="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('product_skn')), ENT_QUOTES, 'UTF-8').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'">
        <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('image')), ENT_QUOTES, 'UTF-8').'">
        <div class="deps clearfix">
            <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('product_name')), ENT_QUOTES, 'UTF-8').'</p>
            <p class="price row">
                <span class="sale-price'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('market_price')))) ? ' original-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sales_price')), ENT_QUOTES, 'UTF-8').'</span>
                &nbsp;&nbsp;
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('market_price')))) ? '                    <span class="market-price">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('market_price')), ENT_QUOTES, 'UTF-8').'</span>
' : '').'            </p>
            <p class="row">
'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('storage')))) ? '                    <span class="sold-out-tag">已售罄</span>
' : '').'            </p>
            <span class="iconfont del-icon">&#xe621;</span>
        </div>
    </a>
';}).'
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('noRecord')))) ? '    <div class="no-record">
        <div class="icon"></div>
        <span>暂无浏览记录</span>
        <a class="walk-way" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('walkwayUrl')), ENT_QUOTES, 'UTF-8').'">随便逛逛</a>
    </div>
' : '').'';
}
?>