Merge branch 'develop/wap' of git.dev.yoho.cn:web/yohobuy into develop/wap
Showing
31 changed files
with
1450 additions
and
818 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 home"> | ||
42 | + <div class="header"></div> | ||
43 | + <div class="people"> | ||
44 | + <div class="flower flower-l"></div> | ||
45 | + <div class="flower flower-r"></div> | ||
46 | + </div> | ||
47 | + <a class="start" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playUrl')), ENT_QUOTES, 'UTF-8').'"></a> | ||
48 | + <div class="footer"> | ||
49 | + <a class="arrow animated infinite pulse" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('playUrl')), ENT_QUOTES, 'UTF-8').'"></a> | ||
50 | + <div class="yohobuy"></div> | ||
51 | + </div> | ||
52 | + </div> | ||
53 | +'.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
54 | +<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
55 | +<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
56 | +<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
57 | +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
58 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script> | ||
59 | +'.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> | ||
60 | +';}).'</body> | ||
61 | +'.''; | ||
62 | +} | ||
63 | +?> |
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 | +?> |
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"> | ||
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 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="yohobuy"></div> | ||
51 | + </div> | ||
52 | + </a> | ||
53 | + </div> | ||
54 | +'.'<input type="hidden" id="shareTitle" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
55 | +<input type="hidden" id="shareDesc" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
56 | +<input type="hidden" id="shareImg" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
57 | +<input type="hidden" id="shareLink" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
58 | +<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.1.0.js"></script> | ||
59 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticFile')), ENT_QUOTES, 'UTF-8').'/js/libs.js"></script> | ||
60 | +'.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> | ||
61 | +';}).'</body> | ||
62 | +</html> | ||
63 | +'.''; | ||
64 | +} | ||
65 | +?> |
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 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"> | ||
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 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;textlign: 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/160219/01.jpg"> | ||
48 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/02.jpg"> | ||
49 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/03.jpg"> | ||
50 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/line-1.jpg"> | ||
51 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/04.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/160219/05.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/160219/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/160219/line-2.jpg"> | ||
61 | + | ||
62 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/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/160219/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/160219/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="18719"></span> | ||
71 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18723"></span> | ||
72 | + </div> | ||
73 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/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/160219/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/160219/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="18725"></span> | ||
82 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18727"></span> | ||
83 | + </div> | ||
84 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/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/160219/12.jpg"> | ||
87 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1')), ENT_QUOTES, 'UTF-8').'"></a> | ||
88 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_2')), 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/160219/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="18717"></span> | ||
93 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18729"></span> | ||
94 | + </div> | ||
95 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/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/160219/14.jpg"> | ||
98 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_3')), ENT_QUOTES, 'UTF-8').'"></a> | ||
99 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), 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/160219/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="18731"></span> | ||
104 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18733"></span> | ||
105 | + </div> | ||
106 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/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/160219/16.jpg"> | ||
109 | + <a class="href href-left" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_5')), ENT_QUOTES, 'UTF-8').'"></a> | ||
110 | + <a class="href href-right" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_6')), ENT_QUOTES, 'UTF-8').'"></a> | ||
111 | + </div> | ||
112 | + <div class="img-box"> | ||
113 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/17.jpg"> | ||
114 | + <span class="href href-left get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18735"></span> | ||
115 | + <span class="href href-right get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="18737"></span> | ||
116 | + </div> | ||
117 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/line-1.jpg"> | ||
118 | + | ||
119 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/24-1.jpg"> | ||
120 | + <div class="img-box"> | ||
121 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/24-2.jpg"> | ||
122 | + <a class="show-more" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_help')), ENT_QUOTES, 'UTF-8').'"></a> | ||
123 | + </div> | ||
124 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/24-3.jpg"> | ||
125 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/line-2.jpg"> | ||
126 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/25-1.jpg"> | ||
127 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/25-2.jpg"> | ||
128 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/25-3.jpg"> | ||
129 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/26.jpg"> | ||
130 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/img/newuser/160219/27.jpg"> | ||
131 | + </div> | ||
132 | + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
133 | + <script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/newuser/coupon2.js"></script> | ||
134 | +</body> | ||
135 | +</html>'; | ||
136 | +} | ||
137 | +?> |
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 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 | +?> |
@@ -40,11 +40,11 @@ class HuodongAction extends Controller_Abstract | @@ -40,11 +40,11 @@ class HuodongAction extends Controller_Abstract | ||
40 | * @var array | 40 | * @var array |
41 | */ | 41 | */ |
42 | protected $_data; | 42 | protected $_data; |
43 | - | 43 | + |
44 | /** | 44 | /** |
45 | - * 是否是应用访问标志位 | ||
46 | - * | ||
47 | - * @var boolean | 45 | + * 是否是APP访问 |
46 | + * | ||
47 | + * @var bool | ||
48 | */ | 48 | */ |
49 | protected $_isApp; | 49 | protected $_isApp; |
50 | 50 | ||
@@ -65,9 +65,8 @@ class HuodongAction extends Controller_Abstract | @@ -65,9 +65,8 @@ class HuodongAction extends Controller_Abstract | ||
65 | if (isset($config->css->url)) { | 65 | if (isset($config->css->url)) { |
66 | $this->_view->assign('imgUrl', $config->img->url); | 66 | $this->_view->assign('imgUrl', $config->img->url); |
67 | } | 67 | } |
68 | - | ||
69 | - // 判断是否是应用访问, 拼接APP需要的URL参数 | ||
70 | - $this->_isApp = (null !== $this->get('app_version')); | 68 | + |
69 | + $this->_isApp = (null !== $this->get('app_version') || null !== $this->get('uid')); | ||
71 | } | 70 | } |
72 | 71 | ||
73 | /** | 72 | /** |
@@ -22,6 +22,7 @@ class ActivityData | @@ -22,6 +22,7 @@ class ActivityData | ||
22 | const URI_SEND_MESSAGE = 'inbox/service/v1/inbox'; | 22 | const URI_SEND_MESSAGE = 'inbox/service/v1/inbox'; |
23 | const URI_YUANXIAO_CHOUQIAN = 'union/ActivityRest/draw'; | 23 | const URI_YUANXIAO_CHOUQIAN = 'union/ActivityRest/draw'; |
24 | const URI_YUANXIAO_CHOUQIAN_SHARE = 'union/ActivityRest/getDrawInfo'; | 24 | const URI_YUANXIAO_CHOUQIAN_SHARE = 'union/ActivityRest/getDrawInfo'; |
25 | + const URL_YUANXIAO_API = 'http://union.yoho.cn/'; | ||
25 | 26 | ||
26 | /** | 27 | /** |
27 | * 用户获取某个活动指定的单个优惠券 | 28 | * 用户获取某个活动指定的单个优惠券 |
@@ -88,7 +89,7 @@ class ActivityData | @@ -88,7 +89,7 @@ class ActivityData | ||
88 | $param['birthday'] = $birthday; | 89 | $param['birthday'] = $birthday; |
89 | $param['gender'] = $gender; | 90 | $param['gender'] = $gender; |
90 | 91 | ||
91 | - return Yohobuy::jsonPost(Yohobuy::SERVICE_URL . self::URI_YUANXIAO_CHOUQIAN, $param); | 92 | + return Yohobuy::jsonPost(self::URL_YUANXIAO_API . self::URI_YUANXIAO_CHOUQIAN, $param); |
92 | } | 93 | } |
93 | 94 | ||
94 | /** | 95 | /** |
@@ -103,7 +104,7 @@ class ActivityData | @@ -103,7 +104,7 @@ class ActivityData | ||
103 | $param['method'] = 'wap.activity.draw'; | 104 | $param['method'] = 'wap.activity.draw'; |
104 | $param['uid'] = $uid; | 105 | $param['uid'] = $uid; |
105 | 106 | ||
106 | - return Yohobuy::jsonPost(Yohobuy::SERVICE_URL . self::URI_YUANXIAO_CHOUQIAN_SHARE, $param); | 107 | + return Yohobuy::jsonPost(self::URL_YUANXIAO_API . self::URI_YUANXIAO_CHOUQIAN_SHARE, $param); |
107 | } | 108 | } |
108 | 109 | ||
109 | /** | 110 | /** |
@@ -25,8 +25,14 @@ class Channel | @@ -25,8 +25,14 @@ class Channel | ||
25 | if (empty($data)) { | 25 | if (empty($data)) { |
26 | return array(); | 26 | return array(); |
27 | } | 27 | } |
28 | + $type = ''; | ||
29 | + if(in_array($channel, array('boys','girls','kids','lifestyle'))){ | ||
30 | + $type = $channel; | ||
31 | + } else { | ||
32 | + $type = Helpers::getChannelNameByCookie(); | ||
33 | + } | ||
28 | // 通用处理器 | 34 | // 通用处理器 |
29 | - $result = Process::getContent($data, Helpers::getChannelNameByCookie()); | 35 | + $result = Process::getContent($data, $type); |
30 | $channelResult = array(); | 36 | $channelResult = array(); |
31 | if (isset(self::$formatChannel[$channel])) { | 37 | if (isset(self::$formatChannel[$channel])) { |
32 | $class = self::$formatChannel[$channel]; | 38 | $class = self::$formatChannel[$channel]; |
@@ -446,11 +446,8 @@ server | @@ -446,11 +446,8 @@ server | ||
446 | } | 446 | } |
447 | 447 | ||
448 | location ^~ /dist/ { | 448 | location ^~ /dist/ { |
449 | -<<<<<<< HEAD | ||
450 | #root /Data/code/git/yohobuy/static; | 449 | #root /Data/code/git/yohobuy/static; |
451 | #expires 30d; | 450 | #expires 30d; |
452 | -======= | ||
453 | ->>>>>>> stable/wap | ||
454 | proxy_redirect off; | 451 | proxy_redirect off; |
455 | proxy_set_header X-Real-IP $remote_addr; | 452 | proxy_set_header X-Real-IP $remote_addr; |
456 | proxy_pass http://cdn.yoho.cn/; | 453 | proxy_pass http://cdn.yoho.cn/; |
@@ -7,7 +7,7 @@ server | @@ -7,7 +7,7 @@ server | ||
7 | # 频道相关 | 7 | # 频道相关 |
8 | location = / { | 8 | location = / { |
9 | proxy_redirect off; | 9 | proxy_redirect off; |
10 | - proxy_pass http://yohobuy-pc; | 10 | + proxy_pass http://yohobuy-pc-abtest; |
11 | proxy_set_header Host $host; | 11 | proxy_set_header Host $host; |
12 | proxy_set_header X-Real-IP $remote_addr; | 12 | proxy_set_header X-Real-IP $remote_addr; |
13 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 13 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
@@ -46,7 +46,31 @@ server | @@ -46,7 +46,31 @@ server | ||
46 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 46 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
47 | proxy_set_header Accept-Encoding "gzip"; | 47 | proxy_set_header Accept-Encoding "gzip"; |
48 | } | 48 | } |
49 | - location ^~ /tools { | 49 | + location = /brands { |
50 | + proxy_redirect off; | ||
51 | + proxy_pass http://yohobuy-pc; | ||
52 | + proxy_set_header Host $host; | ||
53 | + proxy_set_header X-Real-IP $remote_addr; | ||
54 | + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
55 | + proxy_set_header Accept-Encoding "gzip"; | ||
56 | + } | ||
57 | + location ^~ /brands/plusstar { | ||
58 | + proxy_redirect off; | ||
59 | + proxy_pass http://yohobuy-pc; | ||
60 | + proxy_set_header Host $host; | ||
61 | + proxy_set_header X-Real-IP $remote_addr; | ||
62 | + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
63 | + proxy_set_header Accept-Encoding "gzip"; | ||
64 | + } | ||
65 | + location ^~ /brands/brandList { | ||
66 | + proxy_redirect off; | ||
67 | + proxy_pass http://yohobuy-pc; | ||
68 | + proxy_set_header Host $host; | ||
69 | + proxy_set_header X-Real-IP $remote_addr; | ||
70 | + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
71 | + proxy_set_header Accept-Encoding "gzip"; | ||
72 | + } | ||
73 | + location ^~ /brands/brandinfo { | ||
50 | proxy_redirect off; | 74 | proxy_redirect off; |
51 | proxy_pass http://yohobuy-pc; | 75 | proxy_pass http://yohobuy-pc; |
52 | proxy_set_header Host $host; | 76 | proxy_set_header Host $host; |
@@ -467,6 +467,14 @@ server | @@ -467,6 +467,14 @@ server | ||
467 | proxy_set_header Accept-Encoding "gzip"; | 467 | proxy_set_header Accept-Encoding "gzip"; |
468 | } | 468 | } |
469 | 469 | ||
470 | + location ^~ /dist/ { | ||
471 | + #root /Data/PE/yohobuy_H5/static; | ||
472 | + #expires 30d; | ||
473 | + proxy_redirect off; | ||
474 | + proxy_set_header X-Real-IP $remote_addr; | ||
475 | + proxy_pass http://cdn.yoho.cn/; | ||
476 | + } | ||
477 | + | ||
470 | location / { | 478 | location / { |
471 | proxy_redirect off; | 479 | proxy_redirect off; |
472 | proxy_pass http://119.254.81.245; | 480 | proxy_pass http://119.254.81.245; |
@@ -61,8 +61,8 @@ | @@ -61,8 +61,8 @@ | ||
61 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> | 61 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> |
62 | <div class="img-box"> | 62 | <div class="img-box"> |
63 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg"> | 63 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg"> |
64 | - <a class="href href-left" href="{{url_2}}"></a> | ||
65 | - <a class="href href-right" href="{{url_3}}"></a> | 64 | + <a class="href href-left" href="{{url_1}}"></a> |
65 | + <a class="href href-right" href="{{url_2}}"></a> | ||
66 | </div> | 66 | </div> |
67 | <div class="img-box"> | 67 | <div class="img-box"> |
68 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg"> | 68 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg"> |
@@ -72,8 +72,8 @@ | @@ -72,8 +72,8 @@ | ||
72 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> | 72 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> |
73 | <div class="img-box"> | 73 | <div class="img-box"> |
74 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg"> | 74 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg"> |
75 | - <a class="href href-left" href="{{url_4}}"></a> | ||
76 | - <a class="href href-right" href="{{url_5}}"></a> | 75 | + <a class="href href-left" href="{{url_3}}"></a> |
76 | + <a class="href href-right" href="{{url_4}}"></a> | ||
77 | </div> | 77 | </div> |
78 | <div class="img-box"> | 78 | <div class="img-box"> |
79 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg"> | 79 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg"> |
@@ -83,7 +83,8 @@ | @@ -83,7 +83,8 @@ | ||
83 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> | 83 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> |
84 | <div class="img-box"> | 84 | <div class="img-box"> |
85 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg"> | 85 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg"> |
86 | - <a class="href href-left" href="{{url_6}}"></a> | 86 | + <a class="href href-left" href="{{url_5}}"></a> |
87 | + <a class="href href-right" href="{{url_6}}"></a> | ||
87 | </div> | 88 | </div> |
88 | <div class="img-box"> | 89 | <div class="img-box"> |
89 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg"> | 90 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg"> |
@@ -61,8 +61,8 @@ | @@ -61,8 +61,8 @@ | ||
61 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> | 61 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> |
62 | <div class="img-box"> | 62 | <div class="img-box"> |
63 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg"> | 63 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/12.jpg"> |
64 | - <a class="href href-left" href="{{url_2}}"></a> | ||
65 | - <a class="href href-right" href="{{url_3}}"></a> | 64 | + <a class="href href-left" href="{{url_1}}"></a> |
65 | + <a class="href href-right" href="{{url_2}}"></a> | ||
66 | </div> | 66 | </div> |
67 | <div class="img-box"> | 67 | <div class="img-box"> |
68 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg"> | 68 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/13.jpg"> |
@@ -72,8 +72,8 @@ | @@ -72,8 +72,8 @@ | ||
72 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> | 72 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> |
73 | <div class="img-box"> | 73 | <div class="img-box"> |
74 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg"> | 74 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/14.jpg"> |
75 | - <a class="href href-left" href="{{url_4}}"></a> | ||
76 | - <a class="href href-right" href="{{url_5}}"></a> | 75 | + <a class="href href-left" href="{{url_3}}"></a> |
76 | + <a class="href href-right" href="{{url_4}}"></a> | ||
77 | </div> | 77 | </div> |
78 | <div class="img-box"> | 78 | <div class="img-box"> |
79 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg"> | 79 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/15.jpg"> |
@@ -83,7 +83,8 @@ | @@ -83,7 +83,8 @@ | ||
83 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> | 83 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/line-1.jpg"> |
84 | <div class="img-box"> | 84 | <div class="img-box"> |
85 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg"> | 85 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/16.jpg"> |
86 | - <a class="href href-left" href="{{url_6}}"></a> | 86 | + <a class="href href-left" href="{{url_5}}"></a> |
87 | + <a class="href href-right" href="{{url_6}}"></a> | ||
87 | </div> | 88 | </div> |
88 | <div class="img-box"> | 89 | <div class="img-box"> |
89 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg"> | 90 | <img src="{{jsUrl}}/cuxiao/img/newuser/160219/17.jpg"> |
@@ -552,8 +552,8 @@ class CouponController extends HuodongAction | @@ -552,8 +552,8 @@ class CouponController extends HuodongAction | ||
552 | } | 552 | } |
553 | $url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; | 553 | $url = Helpers::url('/boys', array(), 'default') . '?openby:yohobuy={"action":"go.home","params":{"gender":"' . $gender . '","channel":"' . $channel . '"}}'; |
554 | 554 | ||
555 | - $this->_view->display('newuser3-test', array( | ||
556 | - 'activityId' => 485, //492, // 94活动ID | 555 | + $this->_view->display('newuser3', array( |
556 | + 'activityId' => 498, //492, // 94活动ID | ||
557 | 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 | 557 | 'staticTitle' => '新人潮这看,超值惊喜等你领', // 标题 |
558 | 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', | 558 | 'jumpUrl' => $isAppLogged ? 'javascript:;' : $urlNewuser . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $urlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}', |
559 | 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 | 559 | 'isLogged' => $isLogged ? 'Y' : 'N', // 标识是否登录 |
@@ -563,9 +563,9 @@ class CouponController extends HuodongAction | @@ -563,9 +563,9 @@ class CouponController extends HuodongAction | ||
563 | 'url_more' => $url, | 563 | 'url_more' => $url, |
564 | 'url_1' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', | 564 | 'url_1' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', |
565 | 'url_2' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}', | 565 | 'url_2' => 'http://list.m.yohobuy.com/?msort=6&misort=45&title=靴子&openby:yohobuy={"action":"go.list","params":{"msort":"6","misort":"45","title":"靴子"}}', |
566 | - 'url_3' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}', | 566 | + 'url_5' => 'http://list.m.yohobuy.com/?msort=1&misort=16,257&title=春装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"16,257","title":"春装"}}', |
567 | 'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}', | 567 | 'url_4' => 'http://list.m.yohobuy.com/?msort=3,4&title=下装&openby:yohobuy={"action":"go.list","params":{"msort":"3,4","title":"下装"}}', |
568 | - 'url_5' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}', | 568 | + 'url_3' => 'http://list.m.yohobuy.com/?msort=7,8&title=包配&openby:yohobuy={"action":"go.list","params":{"msort":"7,8","title":"包配"}}', |
569 | 'url_6' => 'http://list.m.yohobuy.com/?msort=1,3,6&misort=11,28,12,46&title=反季&openby:yohobuy={"action":"go.list","params":{"msort":"1,3,6","misort":"11,28,12,46","title":"反季"}}', | 569 | 'url_6' => 'http://list.m.yohobuy.com/?msort=1,3,6&misort=11,28,12,46&title=反季&openby:yohobuy={"action":"go.list","params":{"msort":"1,3,6","misort":"11,28,12,46","title":"反季"}}', |
570 | 'url_7' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', | 570 | 'url_7' => 'http://list.m.yohobuy.com/?msort=1&misort=18,20,21,22&title=冬装&openby:yohobuy={"action":"go.list","params":{"msort":"1","misort":"18,20,21,22","title":"冬装"}}', |
571 | )); | 571 | )); |
@@ -9,7 +9,7 @@ use Plugin\Helpers; | @@ -9,7 +9,7 @@ use Plugin\Helpers; | ||
9 | */ | 9 | */ |
10 | class YuanxiaoController extends HuodongAction | 10 | class YuanxiaoController extends HuodongAction |
11 | { | 11 | { |
12 | - // const STATIC_FILE = 'http://localhost:2222/1.1.9'; | 12 | + // const STATIC_FILE = 'http://localhost:2222/assets/1.1.9'; |
13 | const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.9'; | 13 | const STATIC_FILE = 'http://cdn.yoho.cn/huodong/2016yuanxiao/1.1.9'; |
14 | const ENCRYPT_KEY = 'iamgtskkwhoareyou'; | 14 | const ENCRYPT_KEY = 'iamgtskkwhoareyou'; |
15 | 15 | ||
@@ -30,7 +30,7 @@ class YuanxiaoController extends HuodongAction | @@ -30,7 +30,7 @@ class YuanxiaoController extends HuodongAction | ||
30 | 'shareDesc' => '元宵节快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', | 30 | 'shareDesc' => '元宵节快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', |
31 | 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', | 31 | 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', |
32 | 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'), | 32 | 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'), |
33 | - 'playUrl' => !$this->isWeixin() ? $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"' .$playUrlEncode . '","param":{}},"priority":"N"}}': $playUrl, | 33 | + 'playUrl' => !$this->isWeixin() ? $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}': $playUrl, |
34 | )); | 34 | )); |
35 | } | 35 | } |
36 | 36 | ||
@@ -45,7 +45,7 @@ class YuanxiaoController extends HuodongAction | @@ -45,7 +45,7 @@ class YuanxiaoController extends HuodongAction | ||
45 | $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); | 45 | $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); |
46 | } else { | 46 | } else { |
47 | $playUrl = Helpers::url('/cuxiao/yuanxiao/index'); | 47 | $playUrl = Helpers::url('/cuxiao/yuanxiao/index'); |
48 | - $this->go($playUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $playUrl . '","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}'); | 48 | + $this->go($playUrl . '?openby:yohobuy={"action":"go.h5","params":{"url":"' . $playUrl . '?","param":{"share_id":"722"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"722"}}}'); |
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
@@ -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 . '","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","shareparam":{"share_id":"19"}}}' : $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":"' . $activityUrl . '","param":{"share_id":"19"},"share":"\/operations\/api\/v5\/webshare\/getShare","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 | ), |
@@ -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有货 | 潮流购物逛不停" |
@@ -58,7 +58,7 @@ class HomeController extends AbstractAction | @@ -58,7 +58,7 @@ class HomeController extends AbstractAction | ||
58 | $uid = $this->getUid(true); | 58 | $uid = $this->getUid(true); |
59 | if ($uid) { | 59 | if ($uid) { |
60 | $data['isLogin'] = true; | 60 | $data['isLogin'] = true; |
61 | - $udid = $this->getUdid(); | 61 | + $udid = $uid . $this->getUdid(); |
62 | $data += UserModel::getUserProfileData($uid); | 62 | $data += UserModel::getUserProfileData($uid); |
63 | $data += UserModel::getInfoNumData($uid, $udid); | 63 | $data += UserModel::getInfoNumData($uid, $udid); |
64 | } | 64 | } |
@@ -203,7 +203,7 @@ class HomeController extends AbstractAction | @@ -203,7 +203,7 @@ class HomeController extends AbstractAction | ||
203 | 203 | ||
204 | if ($this->isAjax()) { | 204 | if ($this->isAjax()) { |
205 | $uid = $this->getUid(true); | 205 | $uid = $this->getUid(true); |
206 | - $udid = $this->getUdid(); | 206 | + $udid = $uid . $this->getUdid(); |
207 | $page = $this->get('page', 1); | 207 | $page = $this->get('page', 1); |
208 | $result = UserModel::browserRecord($uid, $udid, $page, 100); | 208 | $result = UserModel::browserRecord($uid, $udid, $page, 100); |
209 | } | 209 | } |
1 | -<?php | ||
2 | - | ||
3 | -use Action\WebAction; | ||
4 | -use Product\BrandsModel; | ||
5 | -use LibModels\Web\Product\SearchData; | ||
6 | -use Plugin\Helpers; | ||
7 | - | ||
8 | -/** | ||
9 | - * 品牌首页 | ||
10 | - */ | ||
11 | -class BrandsController extends WebAction | ||
12 | -{ | ||
13 | - | ||
14 | - public function brandsAction() | ||
15 | - { | ||
16 | - //品牌一览头部 | ||
17 | - $channelStr = $this->getCookie("_Channel"); | ||
18 | - $channel = empty($channelStr) ? 'boys': $channelStr; | ||
19 | - $this->setWebNavHeader($channel); | ||
20 | - | ||
21 | - //banner-list | ||
22 | - $res = BrandsModel::getBrandView($channel); | ||
23 | - | ||
24 | - //数据整合 | ||
25 | - $data = array( | ||
26 | - 'brandsHomePage' => true, | ||
27 | - 'brands' => array( | ||
28 | - 'category' => $res['brandList'], | ||
29 | - 'tabs' => $res['brandTop'] | ||
30 | - ) | ||
31 | - ); | ||
32 | - $this->_view->display('brands', $data); | ||
33 | - } | ||
34 | - | ||
35 | - /** | ||
36 | - * 品牌接口数据 | ||
37 | - * | ||
38 | - * @param string brandId 获取品牌ID | ||
39 | - * @return json | ||
40 | - */ | ||
41 | - public function brandinfoAction() | ||
42 | - { | ||
43 | - do { | ||
44 | - /* 判断是不是AJAX请求 */ | ||
45 | - if (!$this->isAjax()) { | ||
46 | - break; | ||
47 | - } | ||
48 | - $brandId = $this->get('brandId', 0); | ||
49 | - $uid = $this->getUid(false); | ||
50 | - $data = BrandsModel::getBrandInfo($brandId, $uid); | ||
51 | - $result = array( | ||
52 | - 'code' => 200, | ||
53 | - 'brand' => $data | ||
54 | - ); | ||
55 | - } | ||
56 | - while (false); | ||
57 | - | ||
58 | - $this->echoJson($result); | ||
59 | - } | ||
60 | - | ||
61 | - /* | ||
62 | - * 品牌list | ||
63 | - */ | ||
64 | - | ||
65 | - public function indexAction() | ||
66 | - { | ||
67 | - $headerdata = array( | ||
68 | - 'gobytype' => 'gobuyboys', | ||
69 | - 'searchcate' => 'searchcateboys', | ||
70 | - 'navbars' => array( | ||
71 | - array( | ||
72 | - 'name_cn' => '男生', | ||
73 | - 'name_en' => 'BOYS', | ||
74 | - 'link' => '', | ||
75 | - 'classname' => 'boys', | ||
76 | - 'index_main' => 0, | ||
77 | - 'subnav' => array( | ||
78 | - array( | ||
79 | - 'name' => '男首1', | ||
80 | - 'link' => '', | ||
81 | - 'index_sub' => 0, | ||
82 | - 'thirdnav' => array( | ||
83 | - array( | ||
84 | - 'title' => '上装', | ||
85 | - 'branditems' => array( | ||
86 | - array( | ||
87 | - 'brandname' => '背心', | ||
88 | - 'link' => '' | ||
89 | - ), | ||
90 | - array( | ||
91 | - 'brandname' => 'T恤', | ||
92 | - 'link' => '' | ||
93 | - ) | ||
94 | - ) | ||
95 | - ) | ||
96 | - ) | ||
97 | - ), | ||
98 | - array( | ||
99 | - 'name' => '男首2', | ||
100 | - 'link' => '', | ||
101 | - 'index_sub' => 1, | ||
102 | - 'thirdnav' => array( | ||
103 | - array( | ||
104 | - 'title' => '上装', | ||
105 | - 'branditems' => array( | ||
106 | - array( | ||
107 | - 'brandname' => '背心', | ||
108 | - 'link' => '' | ||
109 | - ), | ||
110 | - array( | ||
111 | - 'brandname' => 'T恤', | ||
112 | - 'link' => '' | ||
113 | - ) | ||
114 | - ) | ||
115 | - ) | ||
116 | - ) | ||
117 | - ), | ||
118 | - array( | ||
119 | - 'name' => '男首3', | ||
120 | - 'link' => '', | ||
121 | - 'index_sub' => 2, | ||
122 | - 'thirdnav' => array( | ||
123 | - array( | ||
124 | - 'title' => '上装', | ||
125 | - 'branditems' => array( | ||
126 | - array( | ||
127 | - 'brandname' => '背心', | ||
128 | - 'link' => '' | ||
129 | - ), | ||
130 | - array( | ||
131 | - 'brandname' => 'T恤', | ||
132 | - 'link' => '' | ||
133 | - ) | ||
134 | - ) | ||
135 | - ) | ||
136 | - ) | ||
137 | - ) | ||
138 | - ) | ||
139 | - ), | ||
140 | - array( | ||
141 | - 'name_cn' => '女生', | ||
142 | - 'name_en' => 'GIRLS', | ||
143 | - 'link' => 'http=>//www.baidu.com', | ||
144 | - 'classname' => '', | ||
145 | - 'index_main' => 0, | ||
146 | - 'subnav' => array( | ||
147 | - array( | ||
148 | - 'name' => '女生1', | ||
149 | - 'link' => '', | ||
150 | - 'index_sub' => 0, | ||
151 | - 'thirdnav' => array( | ||
152 | - array( | ||
153 | - 'title' => '上装', | ||
154 | - 'branditems' => array( | ||
155 | - array( | ||
156 | - 'brandname' => '背心', | ||
157 | - 'link' => '' | ||
158 | - ), | ||
159 | - array( | ||
160 | - 'brandname' => 'T恤', | ||
161 | - 'link' => '' | ||
162 | - ) | ||
163 | - ) | ||
164 | - ) | ||
165 | - ) | ||
166 | - ), | ||
167 | - array( | ||
168 | - 'name' => '女生2', | ||
169 | - 'link' => '', | ||
170 | - 'index_sub' => 1, | ||
171 | - 'thirdnav' => array( | ||
172 | - array( | ||
173 | - 'title' => '上装', | ||
174 | - 'branditems' => array( | ||
175 | - array( | ||
176 | - 'brandname' => '背心', | ||
177 | - 'link' => '' | ||
178 | - ), | ||
179 | - array( | ||
180 | - 'brandname' => 'T恤', | ||
181 | - 'link' => '' | ||
182 | - ) | ||
183 | - ) | ||
184 | - ) | ||
185 | - ) | ||
186 | - ), | ||
187 | - array( | ||
188 | - 'name' => '女生3', | ||
189 | - 'link' => '', | ||
190 | - 'index_sub' => 2, | ||
191 | - 'thirdnav' => array( | ||
192 | - array( | ||
193 | - 'title' => '上装', | ||
194 | - 'branditems' => array( | ||
195 | - array( | ||
196 | - 'brandname' => '背心', | ||
197 | - 'link' => '' | ||
198 | - ), | ||
199 | - array( | ||
200 | - 'brandname' => 'T恤', | ||
201 | - 'link' => '' | ||
202 | - ) | ||
203 | - ) | ||
204 | - ) | ||
205 | - ) | ||
206 | - ) | ||
207 | - ) | ||
208 | - ) | ||
209 | - ), | ||
210 | - 'myyoho' => array( | ||
211 | - 'email' => 'hhh@126.com', | ||
212 | - 'viptype' => '普通会员', | ||
213 | - 'currentscore' => 495, | ||
214 | - 'totalscore' => 600, | ||
215 | - 'cardtype' => '银卡', | ||
216 | - 'infolist' => array( | ||
217 | - array( | ||
218 | - 'name' => '待处理的订单', | ||
219 | - 'link' => '', | ||
220 | - 'num' => '0' | ||
221 | - ), | ||
222 | - array( | ||
223 | - 'name' => '我的收藏', | ||
224 | - 'link' => '', | ||
225 | - 'num' => '1' | ||
226 | - ), | ||
227 | - array( | ||
228 | - 'name' => '我的优惠券', | ||
229 | - 'link' => '', | ||
230 | - 'num' => '2' | ||
231 | - ), | ||
232 | - array( | ||
233 | - 'name' => '我的YOHO币', | ||
234 | - 'link' => '', | ||
235 | - 'num' => '1' | ||
236 | - ), | ||
237 | - array( | ||
238 | - 'name' => '我的退货换货', | ||
239 | - 'link' => '', | ||
240 | - 'num' => '1' | ||
241 | - ) | ||
242 | - ), | ||
243 | - 'updlink' => '' | ||
244 | - ), | ||
245 | - 'gobuy' => array( | ||
246 | - 'gobuynum' => 3 | ||
247 | - ), | ||
248 | - 'breadcrumbnav' => array( | ||
249 | - array( | ||
250 | - 'notend' => array( | ||
251 | - 'link' => 'http=>//www.baidu.com', | ||
252 | - 'name' => 'BOYS首页' | ||
253 | - ) | ||
254 | - ), | ||
255 | - array( | ||
256 | - 'notend' => array( | ||
257 | - 'link' => 'http=>//www.baidu.com', | ||
258 | - 'name' => '上衣' | ||
259 | - ) | ||
260 | - ), | ||
261 | - array( | ||
262 | - 'isend' => array( | ||
263 | - 'link' => 'http=>//www.baidu.com', | ||
264 | - 'name' => '衬衫' | ||
265 | - ) | ||
266 | - ) | ||
267 | - ) | ||
268 | - ); | ||
269 | - $imgsrc = 'http://img01.yohoboys.com/staticimg/2015/11/26/17/01350e0e001b91af0fc91c974a772b931c.png'; | ||
270 | - $name_href = array( | ||
271 | - 'name' => '衣服', | ||
272 | - 'url' => '' | ||
273 | - ); | ||
274 | - $name_href_img = array( | ||
275 | - 'href' => '', | ||
276 | - 'src' => $imgsrc, | ||
277 | - 'name' => '优显led触控台灯' | ||
278 | - ); | ||
279 | - | ||
280 | - $data = array( | ||
281 | - 'brandsHomePage' => true, | ||
282 | - 'headerdata' => $headerdata, | ||
283 | - 'brands' => array( | ||
284 | - array( | ||
285 | - 'slide' => array( | ||
286 | - 'list' => array( | ||
287 | - array( | ||
288 | - 'href' => '/?gender=1,3', | ||
289 | - 'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg' | ||
290 | - ), | ||
291 | - array( | ||
292 | - 'href' => '/?gender=1,3', | ||
293 | - 'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg' | ||
294 | - ), | ||
295 | - array( | ||
296 | - 'href' => '/?gender=1,3', | ||
297 | - 'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg' | ||
298 | - ), | ||
299 | - array( | ||
300 | - 'href' => '/?gender=1,3', | ||
301 | - 'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg' | ||
302 | - ), | ||
303 | - array( | ||
304 | - 'href' => '/?gender=1,3', | ||
305 | - 'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg' | ||
306 | - ), | ||
307 | - array( | ||
308 | - 'href' => '/?gender=1,3', | ||
309 | - 'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg' | ||
310 | - ), | ||
311 | - array( | ||
312 | - 'href' => '/?gender=1,3', | ||
313 | - 'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg' | ||
314 | - ), | ||
315 | - array( | ||
316 | - 'href' => '/?gender=1,3', | ||
317 | - 'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg' | ||
318 | - ) | ||
319 | - ) | ||
320 | - ) | ||
321 | - ), | ||
322 | - array( | ||
323 | - 'brand' => array( | ||
324 | - 'name' => '品牌 BRAND', | ||
325 | - 'navs' => array( | ||
326 | - array( | ||
327 | - 'id' => '', | ||
328 | - 'href' => '', | ||
329 | - 'name' => '设计师品牌' | ||
330 | - ), | ||
331 | - array( | ||
332 | - 'id' => '', | ||
333 | - 'href' => '', | ||
334 | - 'name' => '街头品牌' | ||
335 | - ), | ||
336 | - array( | ||
337 | - 'id' => '', | ||
338 | - 'href' => '', | ||
339 | - 'name' => '明星品牌' | ||
340 | - ) | ||
341 | - ), | ||
342 | - 'list' => array( | ||
343 | - $name_href_img, | ||
344 | - $name_href_img, | ||
345 | - $name_href_img, | ||
346 | - $name_href_img, | ||
347 | - $name_href_img, | ||
348 | - $name_href_img, | ||
349 | - $name_href_img, | ||
350 | - $name_href_img, | ||
351 | - $name_href_img | ||
352 | - ) | ||
353 | - ) | ||
354 | - ), | ||
355 | - array( | ||
356 | - 'singlegoods' => array( | ||
357 | - 'name' => '单品 SINGLE GOODS', | ||
358 | - 'navs' => array( | ||
359 | - array( | ||
360 | - 'id' => '', | ||
361 | - 'href' => '', | ||
362 | - 'name' => '设计师品牌' | ||
363 | - ), | ||
364 | - array( | ||
365 | - 'id' => '', | ||
366 | - 'href' => '', | ||
367 | - 'name' => '街头品牌' | ||
368 | - ), | ||
369 | - array( | ||
370 | - 'id' => '', | ||
371 | - 'href' => '', | ||
372 | - 'name' => '明星品牌' | ||
373 | - ) | ||
374 | - ), | ||
375 | - 'list' => array( | ||
376 | - $name_href_img, | ||
377 | - $name_href_img, | ||
378 | - $name_href_img, | ||
379 | - $name_href_img, | ||
380 | - $name_href_img, | ||
381 | - $name_href_img, | ||
382 | - $name_href_img, | ||
383 | - $name_href_img, | ||
384 | - $name_href_img, | ||
385 | - $name_href_img, | ||
386 | - $name_href_img, | ||
387 | - $name_href_img | ||
388 | - ) | ||
389 | - ) | ||
390 | - ), | ||
391 | - array( | ||
392 | - 'video' => array( | ||
393 | - 'name' => '视频 VIDEO', | ||
394 | - 'navs' => array( | ||
395 | - array( | ||
396 | - 'id' => '', | ||
397 | - 'href' => '', | ||
398 | - 'name' => '设计师品牌' | ||
399 | - ), | ||
400 | - array( | ||
401 | - 'id' => '', | ||
402 | - 'href' => '', | ||
403 | - 'name' => '街头品牌' | ||
404 | - ), | ||
405 | - array( | ||
406 | - 'id' => '', | ||
407 | - 'href' => '', | ||
408 | - 'name' => '明星品牌' | ||
409 | - ) | ||
410 | - ), | ||
411 | - 'list' => array( | ||
412 | - $name_href_img, | ||
413 | - $name_href_img, | ||
414 | - $name_href_img, | ||
415 | - $name_href_img, | ||
416 | - $name_href_img, | ||
417 | - $name_href_img | ||
418 | - ) | ||
419 | - ) | ||
420 | - ), | ||
421 | - array( | ||
422 | - 'news' => array( | ||
423 | - 'name' => '新闻 NEWS', | ||
424 | - "pics" => array( | ||
425 | - 'list' => array( | ||
426 | - array( | ||
427 | - 'href' => '/?gender=1,3', | ||
428 | - 'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg', | ||
429 | - 'tips' => '轻户外 TEENTEAM ,2015 A/W !' | ||
430 | - ), | ||
431 | - array( | ||
432 | - 'href' => '/?gender=1,3', | ||
433 | - 'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg', | ||
434 | - 'tips' => '轻户外TEENTEAM ,2015 A/W !' | ||
435 | - ) | ||
436 | - ) | ||
437 | - ), | ||
438 | - "txts" => array( | ||
439 | - 'list' => array( | ||
440 | - array( | ||
441 | - 'href' => '/?gender=1,3', | ||
442 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
443 | - ), | ||
444 | - array( | ||
445 | - 'href' => '/?gender=1,3', | ||
446 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
447 | - ), | ||
448 | - array( | ||
449 | - 'href' => '/?gender=1,3', | ||
450 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
451 | - ), | ||
452 | - array( | ||
453 | - 'href' => '/?gender=1,3', | ||
454 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
455 | - ), | ||
456 | - array( | ||
457 | - 'href' => '/?gender=1,3', | ||
458 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
459 | - ), | ||
460 | - array( | ||
461 | - 'href' => '/?gender=1,3', | ||
462 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
463 | - ), | ||
464 | - array( | ||
465 | - 'href' => '/?gender=1,3', | ||
466 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
467 | - ), | ||
468 | - array( | ||
469 | - 'href' => '/?gender=1,3', | ||
470 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
471 | - ), | ||
472 | - array( | ||
473 | - 'href' => '/?gender=1,3', | ||
474 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
475 | - ), | ||
476 | - array( | ||
477 | - 'href' => '/?gender=1,3', | ||
478 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
479 | - ), | ||
480 | - array( | ||
481 | - 'href' => '/?gender=1,3', | ||
482 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
483 | - ), | ||
484 | - array( | ||
485 | - 'href' => '/?gender=1,3', | ||
486 | - 'name' => '“轻户外” TEENTEAM ,2015 A/W “GOOUT TO HUNT ”系列新品上线!' | ||
487 | - ) | ||
488 | - ) | ||
489 | - ) | ||
490 | - ) | ||
491 | - ), | ||
492 | - array( | ||
493 | - 'ads' => array( | ||
494 | - 'list' => array( | ||
495 | - array( | ||
496 | - 'href' => '', | ||
497 | - 'src' => $imgsrc, | ||
498 | - 'name' => 'Vans联乘再次出击', | ||
499 | - 'des' => '携手印花大师Eley Kishimot' | ||
500 | - ), | ||
501 | - array( | ||
502 | - 'href' => '', | ||
503 | - 'src' => $imgsrc, | ||
504 | - 'name' => 'Vans联乘再次出击', | ||
505 | - 'des' => '携手印花大师Eley Kishimot' | ||
506 | - ), | ||
507 | - array( | ||
508 | - 'href' => '', | ||
509 | - 'src' => $imgsrc, | ||
510 | - 'name' => 'Vans联乘再次出击', | ||
511 | - 'des' => '携手印花大师Eley Kishimot' | ||
512 | - ), | ||
513 | - array( | ||
514 | - 'href' => '', | ||
515 | - 'src' => $imgsrc, | ||
516 | - 'name' => 'Vans联乘再次出击', | ||
517 | - 'des' => '携手印花大师Eley Kishimot' | ||
518 | - ) | ||
519 | - ) | ||
520 | - ) | ||
521 | - ) | ||
522 | - ) | ||
523 | - ); | ||
524 | - $this->_view->display('index', $data); | ||
525 | - } | ||
526 | - | ||
527 | - /** | ||
528 | - * 品牌列表 | ||
529 | - */ | ||
530 | - public function listAction() | ||
531 | - { | ||
532 | - $headerdata = array( | ||
533 | - 'gobytype' => 'gobuyboys', | ||
534 | - 'searchcate' => 'searchcateboys', | ||
535 | - 'navbars' => array( | ||
536 | - array( | ||
537 | - 'name_cn' => '男生', | ||
538 | - 'name_en' => 'BOYS', | ||
539 | - 'link' => '', | ||
540 | - 'classname' => 'boys', | ||
541 | - 'index_main' => 0, | ||
542 | - 'subnav' => array( | ||
543 | - array( | ||
544 | - 'name' => '男首1', | ||
545 | - 'link' => '', | ||
546 | - 'index_sub' => 0, | ||
547 | - 'thirdnav' => array( | ||
548 | - array( | ||
549 | - 'title' => '上装', | ||
550 | - 'branditems' => array( | ||
551 | - array( | ||
552 | - 'brandname' => '背心', | ||
553 | - 'link' => '' | ||
554 | - ), | ||
555 | - array( | ||
556 | - 'brandname' => 'T恤', | ||
557 | - 'link' => '' | ||
558 | - ) | ||
559 | - ) | ||
560 | - ) | ||
561 | - ) | ||
562 | - ), | ||
563 | - array( | ||
564 | - 'name' => '男首2', | ||
565 | - 'link' => '', | ||
566 | - 'index_sub' => 1, | ||
567 | - 'thirdnav' => array( | ||
568 | - array( | ||
569 | - 'title' => '上装', | ||
570 | - 'branditems' => array( | ||
571 | - array( | ||
572 | - 'brandname' => '背心', | ||
573 | - 'link' => '' | ||
574 | - ), | ||
575 | - array( | ||
576 | - 'brandname' => 'T恤', | ||
577 | - 'link' => '' | ||
578 | - ) | ||
579 | - ) | ||
580 | - ) | ||
581 | - ) | ||
582 | - ), | ||
583 | - array( | ||
584 | - 'name' => '男首3', | ||
585 | - 'link' => '', | ||
586 | - 'index_sub' => 2, | ||
587 | - 'thirdnav' => array( | ||
588 | - array( | ||
589 | - 'title' => '上装', | ||
590 | - 'branditems' => array( | ||
591 | - array( | ||
592 | - 'brandname' => '背心', | ||
593 | - 'link' => '' | ||
594 | - ), | ||
595 | - array( | ||
596 | - 'brandname' => 'T恤', | ||
597 | - 'link' => '' | ||
598 | - ) | ||
599 | - ) | ||
600 | - ) | ||
601 | - ) | ||
602 | - ) | ||
603 | - ) | ||
604 | - ), | ||
605 | - array( | ||
606 | - 'name_cn' => '女生', | ||
607 | - 'name_en' => 'GIRLS', | ||
608 | - 'link' => 'http=>//www.baidu.com', | ||
609 | - 'classname' => '', | ||
610 | - 'index_main' => 0, | ||
611 | - 'subnav' => array( | ||
612 | - array( | ||
613 | - 'name' => '女生1', | ||
614 | - 'link' => '', | ||
615 | - 'index_sub' => 0, | ||
616 | - 'thirdnav' => array( | ||
617 | - array( | ||
618 | - 'title' => '上装', | ||
619 | - 'branditems' => array( | ||
620 | - array( | ||
621 | - 'brandname' => '背心', | ||
622 | - 'link' => '' | ||
623 | - ), | ||
624 | - array( | ||
625 | - 'brandname' => 'T恤', | ||
626 | - 'link' => '' | ||
627 | - ) | ||
628 | - ) | ||
629 | - ) | ||
630 | - ) | ||
631 | - ), | ||
632 | - array( | ||
633 | - 'name' => '女生2', | ||
634 | - 'link' => '', | ||
635 | - 'index_sub' => 1, | ||
636 | - 'thirdnav' => array( | ||
637 | - array( | ||
638 | - 'title' => '上装', | ||
639 | - 'branditems' => array( | ||
640 | - array( | ||
641 | - 'brandname' => '背心', | ||
642 | - 'link' => '' | ||
643 | - ), | ||
644 | - array( | ||
645 | - 'brandname' => 'T恤', | ||
646 | - 'link' => '' | ||
647 | - ) | ||
648 | - ) | ||
649 | - ) | ||
650 | - ) | ||
651 | - ), | ||
652 | - array( | ||
653 | - 'name' => '女生3', | ||
654 | - 'link' => '', | ||
655 | - 'index_sub' => 2, | ||
656 | - 'thirdnav' => array( | ||
657 | - array( | ||
658 | - 'title' => '上装', | ||
659 | - 'branditems' => array( | ||
660 | - array( | ||
661 | - 'brandname' => '背心', | ||
662 | - 'link' => '' | ||
663 | - ), | ||
664 | - array( | ||
665 | - 'brandname' => 'T恤', | ||
666 | - 'link' => '' | ||
667 | - ) | ||
668 | - ) | ||
669 | - ) | ||
670 | - ) | ||
671 | - ) | ||
672 | - ) | ||
673 | - ) | ||
674 | - ), | ||
675 | - 'myyoho' => array( | ||
676 | - 'email' => 'hhh@126.com', | ||
677 | - 'viptype' => '普通会员', | ||
678 | - 'currentscore' => 495, | ||
679 | - 'totalscore' => 600, | ||
680 | - 'cardtype' => '银卡', | ||
681 | - 'infolist' => array( | ||
682 | - array( | ||
683 | - 'name' => '待处理的订单', | ||
684 | - 'link' => '', | ||
685 | - 'num' => '0' | ||
686 | - ), | ||
687 | - array( | ||
688 | - 'name' => '我的收藏', | ||
689 | - 'link' => '', | ||
690 | - 'num' => '1' | ||
691 | - ), | ||
692 | - array( | ||
693 | - 'name' => '我的优惠券', | ||
694 | - 'link' => '', | ||
695 | - 'num' => '2' | ||
696 | - ), | ||
697 | - array( | ||
698 | - 'name' => '我的YOHO币', | ||
699 | - 'link' => '', | ||
700 | - 'num' => '1' | ||
701 | - ), | ||
702 | - array( | ||
703 | - 'name' => '我的退货换货', | ||
704 | - 'link' => '', | ||
705 | - 'num' => '1' | ||
706 | - ) | ||
707 | - ), | ||
708 | - 'updlink' => '' | ||
709 | - ), | ||
710 | - 'gobuy' => array( | ||
711 | - 'gobuynum' => 3 | ||
712 | - ), | ||
713 | - 'breadcrumbnav' => array( | ||
714 | - array( | ||
715 | - 'notend' => array( | ||
716 | - 'link' => 'http=>//www.baidu.com', | ||
717 | - 'name' => 'BOYS首页' | ||
718 | - ) | ||
719 | - ), | ||
720 | - array( | ||
721 | - 'notend' => array( | ||
722 | - 'link' => 'http=>//www.baidu.com', | ||
723 | - 'name' => '上衣' | ||
724 | - ) | ||
725 | - ), | ||
726 | - array( | ||
727 | - 'isend' => array( | ||
728 | - 'link' => 'http=>//www.baidu.com', | ||
729 | - 'name' => '衬衫' | ||
730 | - ) | ||
731 | - ) | ||
732 | - ) | ||
733 | - ); | ||
734 | - $imgsrc = 'http://img11.static.yhbimg.com/goodsimg/2015/10/19/10/01b312c3b7a7efebcd671e73495ff3e306.jpg'; | ||
735 | - | ||
736 | - $item1 = array( | ||
737 | - 'name' => '所有品牌', | ||
738 | - 'src' => $imgsrc, | ||
739 | - 'url' => '' | ||
740 | - ); | ||
741 | - $item2 = array( | ||
742 | - 'name' => '所有品牌', | ||
743 | - 'src' => $imgsrc, | ||
744 | - 'url' => '', | ||
745 | - 'name' => 'Millefed', | ||
746 | - 'desc' => ' I.T于2006年冬季在香港推出最新品牌创始 人Shawn Stussy将滑板服、工作服、旧校 服的设计加入到 ' | ||
747 | - ); | ||
748 | - | ||
749 | - $data = array( | ||
750 | - 'brandsHomePage' => true, | ||
751 | - 'headerdata' => $headerdata, | ||
752 | - 'brands' => array( | ||
753 | - 'tabs' => array( | ||
754 | - $item1, | ||
755 | - $item1, | ||
756 | - $item1, | ||
757 | - $item1, | ||
758 | - $item1 | ||
759 | - ), | ||
760 | - 'items' => array( | ||
761 | - $item2, | ||
762 | - $item2, | ||
763 | - $item2, | ||
764 | - $item2, | ||
765 | - $item2, | ||
766 | - $item2, | ||
767 | - $item2, | ||
768 | - $item2 | ||
769 | - ) | ||
770 | - ) | ||
771 | - ); | ||
772 | - $this->_view->display('list', $data); | ||
773 | - } | ||
774 | - | ||
775 | -} |
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | 2 | ||
3 | use Action\WebAction; | 3 | use Action\WebAction; |
4 | use Index\HomeModel; | 4 | use Index\HomeModel; |
5 | +use WebPlugin\Helpers; | ||
5 | 6 | ||
6 | /** | 7 | /** |
7 | * 默认控制器 | 8 | * 默认控制器 |
@@ -14,9 +15,10 @@ class IndexController extends WebAction | @@ -14,9 +15,10 @@ class IndexController extends WebAction | ||
14 | */ | 15 | */ |
15 | public function indexAction() | 16 | public function indexAction() |
16 | { | 17 | { |
17 | - if (null !== $this->get('go')) { | ||
18 | - // 先检查COOKIE是否有访问过, 有则跳转到相应的频道页 | ||
19 | - HomeModel::goSwitchChannel(); | 18 | + // 判断是不是女生 |
19 | + $channel = Helpers::getChannelNameByCookie(); | ||
20 | + if ($channel === 'girls') { | ||
21 | + $this->go(Helpers::url('/woman')); | ||
20 | } else { | 22 | } else { |
21 | // 设置客户端浏览器1分钟内不改变 | 23 | // 设置客户端浏览器1分钟内不改变 |
22 | $this->setLastModified(mktime(date('H'), date('i'), 0, date('n'), date('j'), date('Y'))); | 24 | $this->setLastModified(mktime(date('H'), date('i'), 0, date('n'), date('j'), date('Y'))); |
-
Please register or login to post a comment