b0b9c2baaf42c00645d278948e37d194.php 6.41 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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('walkwayUrl')))) ? '    <div class="no-order">
        <div class="icon"></div>
        <span>你还没有订单</span>
        <a class="walk-way" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('walkwayUrl')), ENT_QUOTES, 'UTF-8').'">随便逛逛</a>
    </div>
' : ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('orders')), $in, true, function($cx, $in) {return ''.'        <div class="order" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('detailUrl')), ENT_QUOTES, 'UTF-8').'">
            <header class="header">
                订单编号:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'
                <span class="order-status">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderStatus')), ENT_QUOTES, 'UTF-8').'</span>
            </header>
            <section class="order-goods">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.'                    <div class="order-good" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">
                        <div class="thumb-wrap">
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('link')))) ? '                           <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"><img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"></a>
' : '                           <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'">
').'                           <p class="tag'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gift')))) ? ' gift-tag' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' advance-buy-tag' : '').'"></p>
                        </div>
                        <div class="deps">
                            <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>
                            <p class="row">
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? '                                    <span class="color">
                                        颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'
                                    </span>
' : '').'                    
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? '                                    <span class="size">
                                        尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'
                                    </span>
' : '').'                            </p>
                            <p class="row price-wrap">
                                <span class="price">
                                    ¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'
                                </span>
                                <span class="count">
                                    ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'
                                </span>
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? '                                    <span class="appear-date">上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').'</span>
' : '').'                            </p>
                        </div>
                    </div>'.'';}).'            </section>
            <footer class="footer">
                共'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'件商品  实付<span class="sum-cost">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumCost')), ENT_QUOTES, 'UTF-8').'</span>
                '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('shippingCost')), $in, false, function($cx, $in) {return '(含运费¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')';}).'
            </footer>
        
        
'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ''.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? '                    <div class="order-opt">
                        <span class="btn del">删除订单</span>
                    </div>
' : '').'' : '').'        
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? '                <div class="order-opt">
                    <span class="btn cancel">取消订单</span>
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payUrl')))) ? '                    <a class="locHref" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payUrl')), ENT_QUOTES, 'UTF-8').'">
                        <span class="btn pay">立即付款</span>
                    </a>
' : '').'                </div>
' : '').'        
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticsUrl')))) ? '                    <div class="order-opt">
                        <a class="locHref" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsUrl')), ENT_QUOTES, 'UTF-8').'">
                            <span class="btn check-logistics">查看物流</span>
                        </a>
                    </div>
' : '').'' : '').'        </div>'.'';}).'').''.'';
}
?>