9e2d59cc1b3c4dc8d0386102ae821041.php 4.01 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::debug('[goods]', 'sec', $cx, Plugin\LCRun3::debug('[goods]', 'v', $cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.'    '.((Plugin\LCRun3::debug('this', 'ifvar', $cx, $in)) ? ' 
        <div class="good-info" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
            <div class="tag-container clearfix">
'.Plugin\LCRun3::debug('[tags]', 'sec', $cx, Plugin\LCRun3::debug('[tags]', 'v', $cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::debug('[is_new]', 'sec', $cx, Plugin\LCRun3::debug('[is_new]', 'v', $cx, $in, array('is_new')), $in, false, function($cx, $in) {return '                        <p class="good-tag new-tag">NEW</p>
';}).''.Plugin\LCRun3::debug('[is_advance]', 'sec', $cx, Plugin\LCRun3::debug('[is_advance]', 'v', $cx, $in, array('is_advance')), $in, false, function($cx, $in) {return '                        <p class="good-tag renew-tag">再到着</p>
';}).''.Plugin\LCRun3::debug('[is_discount]', 'sec', $cx, Plugin\LCRun3::debug('[is_discount]', 'v', $cx, $in, array('is_discount')), $in, false, function($cx, $in) {return '                        <p class="good-tag sale-tag">SALE</p>
';}).''.Plugin\LCRun3::debug('[is_yohoood]', 'sec', $cx, Plugin\LCRun3::debug('[is_yohoood]', 'v', $cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return '    	                <p class="good-tag new-festival-tag">新品节</p>
';}).''.Plugin\LCRun3::debug('[is_limited]', 'sec', $cx, Plugin\LCRun3::debug('[is_limited]', 'v', $cx, $in, array('is_limited')), $in, false, function($cx, $in) {return '                        <p class="good-tag limit-tag">限量商品</p>
';}).'';}).'            </div>
            <div class="good-detail-img">
                <a class="good-thumb" href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">
                    <img class="lazy" data-original="'.Plugin\LCRun3::debug('[thumb]', 'encq', $cx, Plugin\LCRun3::debug('[thumb]', 'v', $cx, $in, array('thumb'))).'">
                </a>
'.Plugin\LCRun3::debug('[is_soon_sold_out]', 'sec', $cx, Plugin\LCRun3::debug('[is_soon_sold_out]', 'v', $cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return '                    <p class="few-tag">即将售罄</p>
';}).'            </div>
            <div class="good-detail-text">
                <div class="name">
                    <a href="'.Plugin\LCRun3::debug('[url]', 'encq', $cx, Plugin\LCRun3::debug('[url]', 'v', $cx, $in, array('url'))).'">'.Plugin\LCRun3::debug('[name]', 'encq', $cx, Plugin\LCRun3::debug('[name]', 'v', $cx, $in, array('name'))).'</a>
                </div>
                <div class="price">
                    <span class="sale-price '.((Plugin\LCRun3::debug('^[price]', 'isec', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')))) ? 'no-price' : '').'">¥'.Plugin\LCRun3::debug('[salePrice]', 'encq', $cx, Plugin\LCRun3::debug('[salePrice]', 'v', $cx, $in, array('salePrice'))).'</span>
'.Plugin\LCRun3::debug('[price]', 'sec', $cx, Plugin\LCRun3::debug('[price]', 'v', $cx, $in, array('price')), $in, false, function($cx, $in) {return '                        <span class="market-price">¥'.Plugin\LCRun3::debug('this', 'encq', $cx, $in).'</span>
';}).'                </div>
            </div>
        </div>
    ' : '').''.'';}).'   ';
}
?>