f02a50d66c3a5856324016622c38b736.php 6.77 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('cartInfo')), $in, false, function($cx, $in) {return '<div class="chose-panel">
    <div class="main">
        <div class="infos '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $cx['scopes'][count($cx['scopes'])-1], array('tickets')), $in, function($cx, $in) {return 'tickets-info';}).'">
            <div class="basic-info" >
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('thumbs')), $in, false, function($cx, $in) {return '                <img class="thumb '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return 'hide';}).'" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'>
';}).'                <div class="text-info">
                    <p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>
                    <p 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::ifv($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, function($cx, $in) {return '                        <span class="market-price">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span>
';}).'                    </p>
                </div>
            </div>
            <div class="chose-items">
                <div class="color-list block-list">
                    <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorName')), ENT_QUOTES, 'UTF-8').'</span>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('colors')), $in, false, function($cx, $in) {return '                    <ul id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-index="'.htmlentities((string)Plugin\LCRun3::v($cx, $cx['sp_vars'], array('index')), ENT_QUOTES, 'UTF-8').'" class="size-row clearfix  '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return 'hide';}).'">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('color')), $in, false, function($cx, $in) {return '                        <li class="block '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('chosed')), $in, function($cx, $in) {return 'chosed';}).' '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $in, array('colorNum')), $in, function($cx, $in) {return 'zero-stock';}).'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNum')), ENT_QUOTES, 'UTF-8').'">
                            '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
                        </li>
';}).'                    </ul>
';}).'                </div>
                <div class="size-list block-list '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $cx['scopes'][count($cx['scopes'])-1], array('single')), $in, function($cx, $in) {return 'hide';}).'">
                    <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeName')), ENT_QUOTES, 'UTF-8').'</span>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizes')), $in, false, function($cx, $in) {return '                    <ul class="size-row clearfix  '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')), $in, function($cx, $in) {return 'hide';}).'">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('size')), $in, false, function($cx, $in) {return '                        <li class="block '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('chosed')), $in, function($cx, $in) {return 'chosed';}).' '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $in, array('sizeNum')), $in, function($cx, $in) {return 'zero-stock';}).'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNum')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-skuid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skuId')), ENT_QUOTES, 'UTF-8').'">
                            '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'
                        </li>
';}).'                    </ul>
';}).'                </div>
                <p>
                <div class="num">
                    <span>数量</span>
                    <div class="clearfix">
                        <a class="btn btn-minus" href="javascript:void(0);">
                            <span class="iconfont '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')), $in, function($cx, $in) {return 'disabled';}).'">&#xe625;</span>
                        </a>
                        <input id="good-num" class="good-num disabled" type="text" value="1" disabled="true">
                        <a class="btn btn-plus" href="javascript:void(0);">
                            <span class="iconfont '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')), $in, function($cx, $in) {return 'disabled';}).'">&#xe624;</span>
                        </a>
                    </div>
                    <span class="left-num"></span>
                    <input id="left-num" type="hidden" value="0">
                    <input id="limitNum" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'">
                </div>
            </div>
        </div>
        <div class="btn-wrap">
            <button id="chose-btn-sure" class="btn btn-sure">'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $cx['scopes'][count($cx['scopes'])-1], array('tickets')), $in, function($cx, $in) {return '立即购买';}, function($cx, $in) {return '加入购物车';}).'</button>
        </div>
    </div>
</div>
';}).'<input id="promotionId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'">
<input id="single" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('single')), ENT_QUOTES, 'UTF-8').'">'.'';
}
?>