code review by zheng.zhang: do yuanxiao chouqian huodong
Showing
14 changed files
with
732 additions
and
28 deletions
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 wait"> | ||
42 | + <div class="flower flower-l"></div> | ||
43 | + <div class="flower flower-r"></div> | ||
44 | + | ||
45 | + <div class="tip"> | ||
46 | + 正在分析你的<br>潮流运势<br>… … | ||
47 | + </div> | ||
48 | + | ||
49 | + <div class="loading"> | ||
50 | + </div> | ||
51 | + <div class="hat"> | ||
52 | + </div> | ||
53 | + | ||
54 | + <div class="footer"> | ||
55 | + </div> | ||
56 | + </div> | ||
57 | + <script type="text/javascript"> | ||
58 | + setTimeout(function (){ | ||
59 | + location.href = \''.Plugin\LCRun3::v($cx, $in, array('activityUrl')).'\'; | ||
60 | + }, 2000); | ||
61 | + </script> | ||
62 | +'.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
63 | +<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
64 | +<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
65 | +<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
66 | +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
67 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script> | ||
68 | +'.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> | ||
69 | +';}).'</body> | ||
70 | +</html> | ||
71 | +'.''; | ||
72 | +} | ||
73 | +?> |
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 | +</html> | ||
110 | +'.''; | ||
111 | +} | ||
112 | +?> |
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" media="(device-height: 568px)"> | ||
33 | + <meta name="apple-mobile-web-app-capable" content="yes"> | ||
34 | + <meta name="apple-mobile-web-app-status-bar-style" content="grey"> | ||
35 | + <link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/newyear/index-2.css"> | ||
36 | + <script> | ||
37 | + (function(doc, win) { | ||
38 | + var docEl = doc.documentElement; | ||
39 | + (function() { | ||
40 | + var clientWidth = docEl.clientWidth; | ||
41 | + if (!clientWidth) { | ||
42 | + return; | ||
43 | + } | ||
44 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | + }()); | ||
46 | + })(document, window); | ||
47 | + </script> | ||
48 | +</head> | ||
49 | +<body class="keBody"> | ||
50 | +<div class="coupon-container" show="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('showPopupFlag')), ENT_QUOTES, 'UTF-8').'"> | ||
51 | + <div class="coupon-top"> | ||
52 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/top-bg.png" alt=""> | ||
53 | + <a class="go-check" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('myCouponUrl')), ENT_QUOTES, 'UTF-8').'"></a> | ||
54 | + <a class="app-btn app1" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> | ||
55 | + <a class="app-btn app2" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> | ||
56 | + </div> | ||
57 | + <div class="coupon-bottom"> | ||
58 | + <div class="coupon-banner"> | ||
59 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_1')), ENT_QUOTES, 'UTF-8').'"></a> | ||
60 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_2')), ENT_QUOTES, 'UTF-8').'"></a> | ||
61 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_3')), ENT_QUOTES, 'UTF-8').'"></a> | ||
62 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bannerUrl_4')), ENT_QUOTES, 'UTF-8').'"></a> | ||
63 | + </div> | ||
64 | + <a class="follow-yoho" href="http://mp.weixin.qq.com/s?__biz=MjM5ODI5MDA4MA==&mid=201849402&idx=1&sn=c0089812f9769d82e0075f69d771f6e1#rd"></a> | ||
65 | + <div class="bottom-btn"> | ||
66 | + <a class="play-again" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playAgain')), ENT_QUOTES, 'UTF-8').'"></a> | ||
67 | + <a class="share-btn" href="javascript:;"></a> | ||
68 | + </div> | ||
69 | + </div> | ||
70 | + <div class="coupon-ft"> | ||
71 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/14.png"> | ||
72 | + </div> | ||
73 | +</div> | ||
74 | +<div class="modal"></div> | ||
75 | +<div class="dialog-box geted"> | ||
76 | + <div class="dialog-inner"> | ||
77 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/geted.png" alt=""/> | ||
78 | + <span class="dialog-close"></span> | ||
79 | + </div> | ||
80 | +</div> | ||
81 | + | ||
82 | +<div class="dialog-box fail"> | ||
83 | + <div class="dialog-inner"> | ||
84 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newyear/160105/fail.png" alt=""/> | ||
85 | + <span class="refresh-btn"></span> | ||
86 | + </div> | ||
87 | +</div> | ||
88 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
89 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
90 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
91 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
92 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('imgUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
93 | +<script> | ||
94 | + //提示分享 | ||
95 | + $(\'.share-btn\').click(function () { | ||
96 | + $(\'.modal\').fadeIn(); | ||
97 | + }); | ||
98 | + //关闭提示分享 | ||
99 | + $(\'.modal\').click(function () { | ||
100 | + $(this).fadeOut(); | ||
101 | + }); | ||
102 | + | ||
103 | + //提示已领过券 | ||
104 | + if ($(\'.coupon-container\').attr(\'show\') === \'1\') { | ||
105 | + $(\'.dialog-box.geted\').show(); | ||
106 | + } | ||
107 | + //提示领券失败 | ||
108 | + else if ($(\'.coupon-container\').attr(\'show\') === \'2\') { | ||
109 | + $(\'.dialog-box.fail\').show(); | ||
110 | + } | ||
111 | + | ||
112 | + //关闭提示 | ||
113 | + $(\'.dialog-close\').click(function(){ | ||
114 | + $(this).parents(\'.dialog-box\').fadeOut(); | ||
115 | + }); | ||
116 | + //刷新页面 | ||
117 | + $(\'.refresh-btn\').click(function() { | ||
118 | + location.reload(); | ||
119 | + }); | ||
120 | +</script> | ||
121 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('weixinShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
122 | +<script type="text/javascript" charset="utf-8" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/share.weixin.js"></script> | ||
123 | +' : '').''.'<!-- Google Tag Manager --> | ||
124 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
125 | +<script> | ||
126 | + var _hmt = _hmt || []; | ||
127 | + function async_load(){ | ||
128 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
129 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
130 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
131 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
132 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
133 | + (function() { | ||
134 | + var hm = document.createElement("script"); | ||
135 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
136 | + hm.async = 1; | ||
137 | + var s = document.getElementsByTagName("script")[0]; | ||
138 | + s.parentNode.insertBefore(hm, s); | ||
139 | + })(); | ||
140 | + (function() { | ||
141 | + var hm = document.createElement("script"); | ||
142 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
143 | + hm.async = 1; | ||
144 | + var s = document.getElementsByTagName("script")[0]; | ||
145 | + s.parentNode.insertBefore(hm, s); | ||
146 | + })(); | ||
147 | + (function() { | ||
148 | + var hm = document.createElement("script"); | ||
149 | + hm.src = "//hm.baidu.com/hm.js?e5b83a487a4458aa5abca43f5779b764"; | ||
150 | + var s = document.getElementsByTagName("script")[0]; | ||
151 | + s.parentNode.insertBefore(hm, s); | ||
152 | + })(); | ||
153 | + } | ||
154 | + window.addEventListener(\'load\', async_load, false); | ||
155 | +</script> | ||
156 | +'.'</body> | ||
157 | +</html>'; | ||
158 | +} | ||
159 | +?> |
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 result"> | ||
42 | + <div class="flower flower-l"></div> | ||
43 | + <div class="flower flower-r"></div> | ||
44 | + | ||
45 | + <div class="title"> | ||
46 | + <p> | ||
47 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('result','name')), ENT_QUOTES, 'UTF-8').' | ||
48 | + </p> | ||
49 | + 2016年的潮流运势是 | ||
50 | + </div> | ||
51 | + | ||
52 | + <div class="hr"> | ||
53 | + </div> | ||
54 | + | ||
55 | + <div class="type '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('result','type')), ENT_QUOTES, 'UTF-8').'" data-type="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('result','type')), ENT_QUOTES, 'UTF-8').'"> | ||
56 | + | ||
57 | + </div> | ||
58 | + | ||
59 | + <div class="footer"> | ||
60 | +'.Plugin\LCRun3::ifv($cx, Plugin\LCRun3::v($cx, $in, array('needShare')), $in, function($cx, $in) {return ' <div class="share"> | ||
61 | + 分享2016年潮流运势 | ||
62 | + </div> | ||
63 | +';}).' </div> | ||
64 | + | ||
65 | + <div class="mask hide"> | ||
66 | + <div class="share-icon"> | ||
67 | + </div> | ||
68 | + </div> | ||
69 | + </div> | ||
70 | + | ||
71 | +'.'<script type="text/tmpl" id="P1"> | ||
72 | + <div class="bg-guang"></div> | ||
73 | + <div class="bg-yuan"></div> | ||
74 | + <div class="title">成为一个大写加粗的</div> | ||
75 | + <div class="chaoren animated infinite pulse"></div> | ||
76 | +</script> | ||
77 | +<script type="text/tmpl" id="P2"> | ||
78 | + <div class="bg-bige animated zoomIn"></div> | ||
79 | + <div class="bg-manzai animated zoomIn"></div> | ||
80 | + <div class="bg-ren"></div> | ||
81 | + <div class="title animated infinite pulse"></div> | ||
82 | + <div class="yzbb animated slideInDown"></div> | ||
83 | +</script> | ||
84 | +<script type="text/tmpl" id="P3"> | ||
85 | + <div class="bg-yunqi animated zoomIn"></div> | ||
86 | + <div class="shoes animated infinite swing"></div> | ||
87 | + <div class="yeezy animated slideInDown"></div> | ||
88 | +</script> | ||
89 | +<script type="text/tmpl" id="P4"> | ||
90 | + <div class="bg-car"></div> | ||
91 | + <div class="hands animated infinite swing"></div> | ||
92 | + <div class="wanghong animated slideInRight"></div> | ||
93 | +</script> | ||
94 | +<script type="text/tmpl" id="M1"> | ||
95 | + <div class="bg-majia"></div> | ||
96 | + <div class="bg-yifei animated slideInUp"></div> | ||
97 | + <div class="flyman flyIn "></div> | ||
98 | +</script> | ||
99 | +<script type="text/tmpl" id="M2"> | ||
100 | + <div class="bg-bamei animated slideInRight"></div> | ||
101 | + <div class="meizi animated infinite swing"></div> | ||
102 | + <div class="shoes"></div> | ||
103 | +</script> | ||
104 | +<script type="text/tmpl" id="M3"> | ||
105 | + <div class="bg-cloud1 animated slideInRight"></div> | ||
106 | + <div class="bg-chuanzhe animated slideInLeft"></div> | ||
107 | + <div class="shan"></div> | ||
108 | + <div class="rensheng"></div> | ||
109 | + <div class="cloud2 animated slideInRight"></div> | ||
110 | + <div class="shoes animated infinite swing"></div> | ||
111 | +</script> | ||
112 | +<script type="text/tmpl" id="M4"> | ||
113 | + <div class="bg-guang"></div> | ||
114 | + <div class="bg-jin1 animated slideInright"></div> | ||
115 | + <div class="ren"></div> | ||
116 | + <div class="jin2 animated slideInDown"></div> | ||
117 | + <div class="jin3 animated slideInDown"></div> | ||
118 | + <div class="shuaiqi animated slideInDown"></div> | ||
119 | +</script> | ||
120 | +<script type="text/tmpl" id="F1"> | ||
121 | + <div class="bg-hezi1 animated slideInLeft"></div> | ||
122 | + <div class="bg-hezi2 animated slideInDown"></div> | ||
123 | + <div class="bg-hezi3 animated slideInRight"></div> | ||
124 | + <div class="sun animated infinite zoomIn"></div> | ||
125 | + <div class="kuaidi animated slideInDown"></div> | ||
126 | +</script> | ||
127 | +<script type="text/tmpl" id="F2"> | ||
128 | + <div class="bg-love1 animated infinite zoomIn"></div> | ||
129 | + <div class="bg-love2"></div> | ||
130 | + <div class="boy animated slideInRight"></div> | ||
131 | + <div class="girl animated slideInLeft"></div> | ||
132 | + <div class="bidong animated slideInRight"></div> | ||
133 | +</script> | ||
134 | +<script type="text/tmpl" id="F3"> | ||
135 | + <div class="bg-bra animated infinite pulse"></div> | ||
136 | + <div class="xiongda animated zoomIn"></div> | ||
137 | +</script> | ||
138 | +<script type="text/tmpl" id="F4"> | ||
139 | + <div class="bg-guang animated infinite zoomIn"></div> | ||
140 | + <div class="bg-shoes1 animated slideInLeft"></div> | ||
141 | + <div class="bg-shoes2 animated slideInRight"></div> | ||
142 | + <div class="bg-shoes3 animated slideInDown"></div> | ||
143 | + <div class="style animated slideInUp"></div> | ||
144 | +</script> | ||
145 | +'.''.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
146 | +<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
147 | +<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
148 | +<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
149 | +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
150 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script> | ||
151 | +'.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> | ||
152 | +';}).'</body> | ||
153 | +</html> | ||
154 | +'.''; | ||
155 | +} | ||
156 | +?> |
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 home"> | ||
42 | + <div class="header"></div> | ||
43 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
44 | + <div class="people"> | ||
45 | + <div class="flower flower-l"></div> | ||
46 | + <div class="flower flower-r"></div> | ||
47 | + </div> | ||
48 | + <div class="start"></div> | ||
49 | + <div class="footer"> | ||
50 | + <div class="arrow animated infinite pulse"></div> | ||
51 | + <div class="yohobuy"></div> | ||
52 | + </div> | ||
53 | + </a> | ||
54 | + </div> | ||
55 | +'.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
56 | +<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
57 | +<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
58 | +<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
59 | +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
60 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script> | ||
61 | +'.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> | ||
62 | +';}).'</body> | ||
63 | +</html> | ||
64 | +'.''; | ||
65 | +} | ||
66 | +?> |
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 charset="UTF-8"> | ||
28 | + <title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
30 | + <style> | ||
31 | + *{margin: 0;padding: 0;} | ||
32 | + #coupon-container {width: 100%;} | ||
33 | + #coupon-container img {width: 100%; height: auto; display: block;overflow: hidden;} | ||
34 | + .img-box {width: 100%;position: relative;} | ||
35 | + .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;} | ||
36 | + .img-box .href-left {left: 0} | ||
37 | + .img-box .href-right {right: 0} | ||
38 | + .img-box .href-center {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;} | ||
39 | + .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;} | ||
40 | + .yoho-tip {position: fixed;display: none;text-align: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.9;color: #fff;font-size: 18px;border: none;border-radius: 10px;} | ||
41 | + </style> | ||
42 | + <link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
43 | + <link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
44 | +</head> | ||
45 | +<body> | ||
46 | + <div id="coupon-container" param="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('activityId')), ENT_QUOTES, 'UTF-8').'" isLogged="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isLogged')), ENT_QUOTES, 'UTF-8').'"> | ||
47 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/01.jpg"> | ||
48 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/02.jpg"> | ||
49 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/03-a.jpg"> | ||
50 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> | ||
51 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/04-a.jpg"> | ||
52 | + <div class="img-box"> | ||
53 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/05-a.jpg"> | ||
54 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_yohope')), ENT_QUOTES, 'UTF-8').'"></a> | ||
55 | + </div> | ||
56 | + <div class="img-box"> | ||
57 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/06.jpg"> | ||
58 | + <a class="href href-center" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_mycoupon')), ENT_QUOTES, 'UTF-8').'"></a> | ||
59 | + </div> | ||
60 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> | ||
61 | + | ||
62 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/07.jpg"> | ||
63 | + <div class="img-box"> | ||
64 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/08.jpg"> | ||
65 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> | ||
66 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> | ||
67 | + </div> | ||
68 | + <div class="img-box"> | ||
69 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/09.jpg"> | ||
70 | + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18281"></span> | ||
71 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18283"></span> | ||
72 | + </div> | ||
73 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> | ||
74 | + <div class="img-box"> | ||
75 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/10.jpg"> | ||
76 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_more')), ENT_QUOTES, 'UTF-8').'"></a> | ||
77 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1')), ENT_QUOTES, 'UTF-8').'"></a> | ||
78 | + </div> | ||
79 | + <div class="img-box"> | ||
80 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/11.jpg"> | ||
81 | + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18289"></span> | ||
82 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18293"></span> | ||
83 | + </div> | ||
84 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> | ||
85 | + <div class="img-box"> | ||
86 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/12.jpg"> | ||
87 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_2')), ENT_QUOTES, 'UTF-8').'"></a> | ||
88 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_3')), ENT_QUOTES, 'UTF-8').'"></a> | ||
89 | + </div> | ||
90 | + <div class="img-box"> | ||
91 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/13.jpg"> | ||
92 | + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18295"></span> | ||
93 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18291"></span> | ||
94 | + </div> | ||
95 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> | ||
96 | + <div class="img-box"> | ||
97 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/14.jpg"> | ||
98 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a> | ||
99 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_5')), ENT_QUOTES, 'UTF-8').'"></a> | ||
100 | + </div> | ||
101 | + <div class="img-box"> | ||
102 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/15.jpg"> | ||
103 | + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18297"></span> | ||
104 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18299"></span> | ||
105 | + </div> | ||
106 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> | ||
107 | + <div class="img-box"> | ||
108 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/16.jpg"> | ||
109 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_6')), ENT_QUOTES, 'UTF-8').'"></a> | ||
110 | + </div> | ||
111 | + <div class="img-box"> | ||
112 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/17.jpg"> | ||
113 | + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18301"></span> | ||
114 | + </div> | ||
115 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-1.jpg"> | ||
116 | + | ||
117 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-1.jpg"> | ||
118 | + <div class="img-box"> | ||
119 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-2.jpg"> | ||
120 | + <a class="show-more" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_help')), ENT_QUOTES, 'UTF-8').'"></a> | ||
121 | + </div> | ||
122 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/24-3.jpg"> | ||
123 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/line-2.jpg"> | ||
124 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-1-a.jpg"> | ||
125 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-2-a.jpg"> | ||
126 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/25-3-a.jpg"> | ||
127 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/26-a.jpg"> | ||
128 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160107/27-a.jpg"> | ||
129 | + </div> | ||
130 | + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
131 | + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> | ||
132 | +</body> | ||
133 | +</html>'; | ||
134 | +} | ||
135 | +?> |
@@ -18,17 +18,17 @@ class Yohobuy | @@ -18,17 +18,17 @@ class Yohobuy | ||
18 | { | 18 | { |
19 | /* 正式环境 */ | 19 | /* 正式环境 */ |
20 | // php API | 20 | // php API |
21 | - const API_URL = 'http://api2.open.yohobuy.com/'; | ||
22 | - const API_URL2 = 'http://api.open.yohobuy.com/'; | ||
23 | - const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
24 | - const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 21 | +// const API_URL = 'http://api2.open.yohobuy.com/'; |
22 | +// const API_URL2 = 'http://api.open.yohobuy.com/'; | ||
23 | +// const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
24 | +// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
25 | 25 | ||
26 | //java API | 26 | //java API |
27 | -// const API_URL = 'http://apih5.yoho.cn/'; | ||
28 | -// const API_URL2 = 'http://apih5.yoho.cn/'; | ||
29 | -// const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
30 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
31 | -// const API_OLD = 'http://api2.open.yohobuy.com/'; | 27 | + const API_URL = 'http://apih5.yoho.cn/'; |
28 | + const API_URL2 = 'http://apih5.yoho.cn/'; | ||
29 | + const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
30 | + const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
31 | + const API_OLD = 'http://api2.open.yohobuy.com/'; | ||
32 | 32 | ||
33 | /* 测试环境 */ | 33 | /* 测试环境 */ |
34 | // const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' | 34 | // const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' |
1 | {{> cuxiao/yuanxiao/header}} | 1 | {{> cuxiao/yuanxiao/header}} |
2 | <div class="main-wrap home"> | 2 | <div class="main-wrap home"> |
3 | <div class="header"></div> | 3 | <div class="header"></div> |
4 | - <div class="people"> | ||
5 | - <div class="flower flower-l"></div> | ||
6 | - <div class="flower flower-r"></div> | ||
7 | - </div> | ||
8 | - <a class="start" href="{{playUrl}}"></a> | ||
9 | - <div class="footer"> | ||
10 | - <a class="arrow animated infinite pulse" href="{{playUrl}}"></a> | ||
11 | - <div class="yohobuy"></div> | ||
12 | - </div> | 4 | + <a href="{{playUrl}}"> |
5 | + <div class="people"> | ||
6 | + <div class="flower flower-l"></div> | ||
7 | + <div class="flower flower-r"></div> | ||
8 | + </div> | ||
9 | + <div class="start"></div> | ||
10 | + <div class="footer"> | ||
11 | + <div class="arrow animated infinite pulse"></div> | ||
12 | + <div class="yohobuy"></div> | ||
13 | + </div> | ||
14 | + </a> | ||
13 | </div> | 15 | </div> |
14 | {{> cuxiao/yuanxiao/footer}} | 16 | {{> cuxiao/yuanxiao/footer}} |
@@ -9,8 +9,8 @@ use Plugin\Helpers; | @@ -9,8 +9,8 @@ use Plugin\Helpers; | ||
9 | */ | 9 | */ |
10 | class YuanxiaoController extends HuodongAction | 10 | class YuanxiaoController extends HuodongAction |
11 | { | 11 | { |
12 | - // const STATIC_FILE = 'http://localhost:2222/assets/1.1.3'; | ||
13 | - const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.5'; | 12 | + // const STATIC_FILE = 'http://localhost:2222/assets/1.1.6'; |
13 | + const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.6'; | ||
14 | const ENCRYPT_KEY = 'iamgtskkwhoareyou'; | 14 | const ENCRYPT_KEY = 'iamgtskkwhoareyou'; |
15 | 15 | ||
16 | /** | 16 | /** |
@@ -71,7 +71,7 @@ class YuanxiaoController extends HuodongAction | @@ -71,7 +71,7 @@ class YuanxiaoController extends HuodongAction | ||
71 | $this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60); | 71 | $this->setCookie('yuanxiaochouqian', json_encode($cookieData), time() + 15 * 60); |
72 | 72 | ||
73 | $waitUrl = Helpers::url('/cuxiao/yuanxiao/wait'); | 73 | $waitUrl = Helpers::url('/cuxiao/yuanxiao/wait'); |
74 | - $this->go(!$this->isWeixin() ? $waitUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $waitUrl . '","islogin":"N","param":{"from":"app"}}}' : $waitUrl); | 74 | + $this->go(!$this->isWeixin() ? $waitUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $waitUrl . '?","param":{"share_id":"722"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"722"}}}' : $waitUrl); |
75 | 75 | ||
76 | } else { // 不成功就显示返回的错误信息 | 76 | } else { // 不成功就显示返回的错误信息 |
77 | 77 | ||
@@ -122,7 +122,7 @@ class YuanxiaoController extends HuodongAction | @@ -122,7 +122,7 @@ class YuanxiaoController extends HuodongAction | ||
122 | $this->_view->display('wait', array( | 122 | $this->_view->display('wait', array( |
123 | 'staticTitle' => '2016潮流运势测试', | 123 | 'staticTitle' => '2016潮流运势测试', |
124 | 'staticFile' => self::STATIC_FILE, | 124 | 'staticFile' => self::STATIC_FILE, |
125 | - 'activityUrl' => !$this->isWeixin() ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $activityUrlEncode . '","islogin":"N","param":{"share_id":"19"},"share":"'.$activityUrlEncode.'","shareparam":{"share_id":"19"}}}' : $activityUrl, | 125 | + 'activityUrl' => !$this->isWeixin() ? $activityUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $activityUrl . '?","param":{"share_id":"722"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"722"}}}' : $activityUrl, |
126 | 'staticJS' => array( | 126 | 'staticJS' => array( |
127 | 'wait.js' | 127 | 'wait.js' |
128 | ), | 128 | ), |
@@ -254,7 +254,7 @@ class YuanxiaoController extends HuodongAction | @@ -254,7 +254,7 @@ class YuanxiaoController extends HuodongAction | ||
254 | */ | 254 | */ |
255 | private function checkNeedShare() | 255 | private function checkNeedShare() |
256 | { | 256 | { |
257 | - // Android | 257 | + // Android |
258 | if ($this->_isApp) { | 258 | if ($this->_isApp) { |
259 | return true; | 259 | return true; |
260 | } | 260 | } |
@@ -269,7 +269,7 @@ class YuanxiaoController extends HuodongAction | @@ -269,7 +269,7 @@ class YuanxiaoController extends HuodongAction | ||
269 | 269 | ||
270 | return false; | 270 | return false; |
271 | } | 271 | } |
272 | - | 272 | + |
273 | /** | 273 | /** |
274 | * 判断是否是微信访问 | 274 | * 判断是否是微信访问 |
275 | */ | 275 | */ |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.3" | 53 | +application.version = "1.0.4" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.3" | 53 | +application.version = "1.0.4" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.3" | 53 | +application.version = "1.0.4" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets" | 50 | application.assets.path = ROOT_PATH "/assets" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "1.0.3" | 53 | +application.version = "1.0.4" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | 56 | application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" |
-
Please register or login to post a comment