f1eda6c856522d92e331d1c36bd7b716.php 3.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('hasFavBrand')), $in, false, function($cx, $in) {return '<div class="fav-brand-swiper">
	<a class="swiper-header" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'">
            <div class="swiper-logo">
                <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brandImg')), ENT_QUOTES, 'UTF-8').'" alt=""/>
            </div>
            <div class="brand-info">
                <span class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brandName')), ENT_QUOTES, 'UTF-8').'</span>
                <div class="brand-update">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('update')), $in, false, function($cx, $in) {return '                    <span class="brand-new">上新<b>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</b></span>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discount')), $in, false, function($cx, $in) {return '                    <span class="brand-discount">折扣<b>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</b></span>
';}).'                </div>
            </div>
            <span class="fav-more"></span>
	</a>
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('productList')))) ? '	<div id="swiper-container-'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" class="swiper-container" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">
            <ul class="swiper-wrapper swiper-wrapper-'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('productList')), $in, false, function($cx, $in) {return '                <li class="swiper-slide">
                    <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'">
                        <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'" alt=""/>
                    </a>
                    <div class="brand-product">
                        <div class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discount')), $in, false, function($cx, $in) {return 'price-discount';}).'">
                            '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('discount')), $in, false, function($cx, $in) {return '<span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'<span>';}).'
                            <b>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</b>
                        </div>
                    </div>
                    <div class="swiper-lazy-preloader"></div>
                </li>
';}).'            </ul>
	</div>
' : '').'</div>
';}).''.'';
}
?>