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