e8a1363f3291851fb1ff8d53bf171598.php 5.58 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 ''.'<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
    <!-- <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> -->
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="grey">
    <script type="text/javascript">
        (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=640){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/640)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window);
    </script>
    <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/css/style.css">
</head>
<body>
'.'    <div class="main-wrap info">
        <div class="header">
            <span class="title chao">潮</span>
            <span class="title liu">流</span>

            <div class="sub-title">&nbsp;开运测试</div>
        </div>

'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('message')), $in, function($cx, $in) {return '            <div class="err-tip">
                活动太火爆,请稍后再试
            </div>
';}, function($cx, $in) {return '        <form class="user" method="POST">
            <div class="user-info nick">
                <div class="title">
                    昵称
                </div>
                <input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="20">
            </div>
            <div class="user-info birthday">
                <div class="title">
                    生日
                </div>
                <input class="birthday-picker" type="text" name="birthday" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('birthday')), ENT_QUOTES, 'UTF-8').'" data-number="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('birthdayNumber')), ENT_QUOTES, 'UTF-8').'" readonly>
            </div>
            <div class="gender">
                <div class="title">
                    性<br>别
                </div>
                <div class="icon boy">
                    <span class="check '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('isBoy')), $in, function($cx, $in) {return 'checked';}).'" data-gender="1"></span>
                </div>
                <div class="icon girl">
                    <span class="check '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $in, array('isBoy')), $in, function($cx, $in) {return 'checked';}).'" data-gender="2"></span>
                </div>
                <input type="hidden" name="gender" id="gender" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'">
            </div>
        </form>

        <div class="footer">
            <div class="submit">
                开始测试
            </div>
        </div>

';}).'
        <div class="mask hide">
            <div class="modal">
                <div class="icon close"></div>
                <div class="text">
                    请输入您
                    <br>
                    帅气的名字!
                </div>
                <div class="btn close">
                    现在就完善
                </div>
            </div>
        </div>
    </div>
<link rel="stylesheet" type="text/css" href="http://cdn.yoho.cn/huodong/2016yuanxiao/AnyPicker/dist/anypicker-all.min.css" />
'.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'">
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script>
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('staticJS')), $in, false, function($cx, $in) {return '<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $cx['scopes'][count($cx['scopes'])-1], array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"></script>
';}).'</body>
'.'';
}
?>