956455df7d7c962954087ff344281aec.php 1.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 ''.'<div class="title">为您优选新品</div>
<div id="swiper-recommend" class="swiper-container">
    <div class="swiper-wrapper swiper-wrapper-recommend">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommendList')), $in, false, function($cx, $in) {return '        <a class="swiper-slide" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
            <img class="swiper-lazy img-box" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'">
            <div class="price">
                <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span>
                '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return '<span class="old-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>';}).'
            </div>
            <div class="swiper-lazy-preloader"></div>
        </a>
';}).'    </div>
</div>
'.'';
}
?>