c4add9573b50c1b1311613ddf442b380.php 5.15 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('infos')), $in, false, function($cx, $in) {return ''.'    <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return '            <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>
                <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'>
                <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span>
            </a>
';}).'    
        <div class="info-img">
'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? '                <a href="javascript:;" class="info-match">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return '                        小贴士
                        <div class="info-tag tip"></div>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return '                        搭配
                        <div class="info-tag collocation"></div>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return '                        潮人
                        <div class="info-tag fashion-man"></div>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return '                        潮品
                        <div class="info-tag fashion-good"></div>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return '                        话题
                        <div class="info-tag topic"></div>
';}).'                </a>
' : '').'            <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
                <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('alt')), ENT_QUOTES, 'UTF-8').'">
            </a>
        </div>
    
        <div class="info-deps">
            <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">
                <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>
            </a>
            <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p>
'.'            <div class="time-view-like-share clearfix">
                <i class="iconfont">&#xe603;</i>
                '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').'&nbsp;&nbsp;&nbsp;&nbsp;
                <i class="iconfont">&#xe602;</i>
                <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span>
                <div class="like-share-container">
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return '                        <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'">&#xe601;</i>
                        <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return '                        <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>
                            <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'">&#xe605;</i>
                        </a>
';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return '                        <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn">&#xe600;</a>
';}).'                </div>
            </div>'.'        </div>
    </div>'.'';}).'';
}
?>