78b9b4e2b6f947b0e396b58e2fd4ef1c.php 1.91 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="sale-name">
               '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
            </div>
            <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>
'.'';
}
?>