08c6453c95463d72dda5b305f57520d8.php 2.75 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('hasFavProduct')), $in, false, function($cx, $in) {return '<li data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('fav_id')), ENT_QUOTES, 'UTF-8').'" class="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('invalidGoods')))) ? 'invalidGoods' : '').'">
    <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'">
        <div class="fav-img-box">
            <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'" alt=""/>
        </div>
        <div class="fav-info-list">
                <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>
                <div class="fav-price">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discountPrice')), $in, false, function($cx, $in) {return '                        <span class="new-price">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>
';}).'                        <span class="fav-price '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discountPrice')), $in, false, function($cx, $in) {return 'price-underline';}).'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span>
                </div>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('savePrice')), $in, false, function($cx, $in) {return '                <div class="save-price save-price-number">
                        比收藏时降价了<span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>
                    <span class="del-fav iconfont">&#xe621;</span>
                </div>
';}).'
'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('savePrice')))) ? '                <div class="save-price">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sellOut')), $in, false, function($cx, $in) {return '                        <span class="sell-out">已售罄</span>
';}).'                        <span class="del-fav iconfont">&#xe621;</span>
                </div>
' : '').'        </div>
    </a>
</li>
';}).''.'';
}
?>