|
|
1
|
+<?php return function ($in, $debugopt = 1) {
|
|
|
2
|
+ $cx = array(
|
|
|
3
|
+ 'flags' => array(
|
|
|
4
|
+ 'jstrue' => false,
|
|
|
5
|
+ 'jsobj' => false,
|
|
|
6
|
+ 'spvar' => true,
|
|
|
7
|
+ 'prop' => false,
|
|
|
8
|
+ 'method' => false,
|
|
|
9
|
+ 'mustlok' => true,
|
|
|
10
|
+ 'echo' => false,
|
|
|
11
|
+ 'debug' => $debugopt,
|
|
|
12
|
+ ),
|
|
|
13
|
+ 'constants' => array(),
|
|
|
14
|
+ 'helpers' => array(),
|
|
|
15
|
+ 'blockhelpers' => array(),
|
|
|
16
|
+ 'hbhelpers' => array(),
|
|
|
17
|
+ 'partials' => array(),
|
|
|
18
|
+ 'scopes' => array(),
|
|
|
19
|
+ 'sp_vars' => array('root' => $in),
|
|
|
20
|
+ 'lcrun' => 'Plugin\LCRun3',
|
|
|
21
|
+
|
|
|
22
|
+ );
|
|
|
23
|
+
|
|
|
24
|
+ return ''.'<!DOCTYPE html>
|
|
|
25
|
+<html>
|
|
|
26
|
+<head>
|
|
|
27
|
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
28
|
+ <meta charset="utf-8">
|
|
|
29
|
+ <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title>
|
|
|
30
|
+ <!-- <meta name="apple-mobile-web-app-title" content="SUMMER SALE"> -->
|
|
|
31
|
+ <meta name="format-detection" content="telephone=no">
|
|
|
32
|
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
|
|
|
33
|
+ <meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
34
|
+ <meta name="apple-mobile-web-app-status-bar-style" content="grey">
|
|
|
35
|
+ <script type="text/javascript">
|
|
|
36
|
+ (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);
|
|
|
37
|
+ </script>
|
|
|
38
|
+ <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/css/style.css">
|
|
|
39
|
+</head>
|
|
|
40
|
+<body>
|
|
|
41
|
+'.' <div class="main-wrap info">
|
|
|
42
|
+ <div class="header">
|
|
|
43
|
+ <span class="title chao">潮</span>
|
|
|
44
|
+ <span class="title liu">流</span>
|
|
|
45
|
+
|
|
|
46
|
+ <div class="sub-title"> 开运测试</div>
|
|
|
47
|
+ </div>
|
|
|
48
|
+
|
|
|
49
|
+'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('message')), $in, function($cx, $in) {return ' <div class="err-tip">
|
|
|
50
|
+ 活动太火爆,请稍后再试
|
|
|
51
|
+ </div>
|
|
|
52
|
+';}, function($cx, $in) {return ' <form class="user" method="POST">
|
|
|
53
|
+ <div class="user-info nick">
|
|
|
54
|
+ <div class="title">
|
|
|
55
|
+ 昵称
|
|
|
56
|
+ </div>
|
|
|
57
|
+ <input type="text" name="nick" placeholder="请输入您帅气的名字!" value="" maxlength="20">
|
|
|
58
|
+ </div>
|
|
|
59
|
+ <div class="user-info birthday">
|
|
|
60
|
+ <div class="title">
|
|
|
61
|
+ 生日
|
|
|
62
|
+ </div>
|
|
|
63
|
+ <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>
|
|
|
64
|
+ </div>
|
|
|
65
|
+ <div class="gender">
|
|
|
66
|
+ <div class="title">
|
|
|
67
|
+ 性<br>别
|
|
|
68
|
+ </div>
|
|
|
69
|
+ <div class="icon boy">
|
|
|
70
|
+ <span class="check '.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('isBoy')), $in, function($cx, $in) {return 'checked';}).'" data-gender="1"></span>
|
|
|
71
|
+ </div>
|
|
|
72
|
+ <div class="icon girl">
|
|
|
73
|
+ <span class="check '.Plugin\LCRun3::unl($cx, Plugin\LCRun3::v($cx, $in, array('isBoy')), $in, function($cx, $in) {return 'checked';}).'" data-gender="2"></span>
|
|
|
74
|
+ </div>
|
|
|
75
|
+ <input type="hidden" name="gender" id="gender" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'">
|
|
|
76
|
+ </div>
|
|
|
77
|
+ </form>
|
|
|
78
|
+
|
|
|
79
|
+ <div class="footer">
|
|
|
80
|
+ <div class="submit">
|
|
|
81
|
+ 开始测试
|
|
|
82
|
+ </div>
|
|
|
83
|
+ </div>
|
|
|
84
|
+
|
|
|
85
|
+';}).'
|
|
|
86
|
+ <div class="mask hide">
|
|
|
87
|
+ <div class="modal">
|
|
|
88
|
+ <div class="icon close"></div>
|
|
|
89
|
+ <div class="text">
|
|
|
90
|
+ 请输入您
|
|
|
91
|
+ <br>
|
|
|
92
|
+ 帅气的名字!
|
|
|
93
|
+ </div>
|
|
|
94
|
+ <div class="btn close">
|
|
|
95
|
+ 现在就完善
|
|
|
96
|
+ </div>
|
|
|
97
|
+ </div>
|
|
|
98
|
+ </div>
|
|
|
99
|
+ </div>
|
|
|
100
|
+<link rel="stylesheet" type="text/css" href="http://cdn.yoho.cn/huodong/2016yuanxiao/AnyPicker/dist/anypicker-all.min.css" />
|
|
|
101
|
+'.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'">
|
|
|
102
|
+<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'">
|
|
|
103
|
+<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'">
|
|
|
104
|
+<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'">
|
|
|
105
|
+<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
|
|
|
106
|
+<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script>
|
|
|
107
|
+'.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>
|
|
|
108
|
+';}).'</body>
|
|
|
109
|
+'.'';
|
|
|
110
|
+}
|
|
|
111
|
+?> |