4126131fb012b328fe7b80a926ea1d40.php 5.86 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">
            <div class="basic-info" >
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('thumbs')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? '                <img class="thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'>
' : '                <img class="thumb 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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? '                        <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>颜色</span>
                    <ul class="clearfix" data-type="color">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('colors')), $in, false, function($cx, $in) {return '                        <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('colorNum')))) ? 'zero-stock' : '').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNum')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNumStr')), ENT_QUOTES, 'UTF-8').'" data-skcid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skcId')), 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">
                    <span>尺码</span>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizes')), $in, false, function($cx, $in) {return '
                    <ul class="size-row clearfix hide">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('size')), $in, false, function($cx, $in) {return '                        <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sizeNum')))) ? 'zero-stock' : '').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-colorid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorId')), ENT_QUOTES, 'UTF-8').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNum')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNumStr')), ENT_QUOTES, 'UTF-8').'" data-skuid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skuId')), ENT_QUOTES, 'UTF-8').'" data-goodid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('goodsId')), 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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? '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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'">&#xe624;</span>
                        </a>
                    </div>
                    <span class="left-num"></span>
                    <input id="left-num" type="hidden" value="0">
                </div>
            </div>
        </div>
        <div class="btn-wrap">
            <button id="chose-btn-sure" class="btn btn-sure">加入购物车</button>
        </div>
    </div>
</div>
';}).'<input id="promotionId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'">'.'';
}
?>