do add huodong nginx and apache config
Showing
8 changed files
with
2057 additions
and
0 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 lang="en"> | ||
26 | +<head> | ||
27 | +<meta charset="UTF-8"> | ||
28 | +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
29 | +<meta content="yes" name="apple-mobile-web-app-capable"> | ||
30 | +<meta content="telephone=no" name="format-detection"> | ||
31 | +<meta content="yes" name="apple-touch-fullscreen"> | ||
32 | +<meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
33 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
34 | +<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css"> | ||
35 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | +<script type="text/javascript"> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body> | ||
51 | + <div class="coupon-container" 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').'"> | ||
52 | + <div class="coupon-hd hd2"></div> | ||
53 | + <div class="coupon-bd"> | ||
54 | + <div class="bd-top"></div> | ||
55 | + <div class="bd-bottom"></div> | ||
56 | + <div class="coupon-rule"> | ||
57 | + <h2></h2> | ||
58 | + <ul> | ||
59 | + <li class="clearfix"> | ||
60 | + <span>如何领取</span> | ||
61 | + <em>12.1-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em> | ||
62 | + </li> | ||
63 | + <li class="clearfix"> | ||
64 | + <span>使用方法</span> | ||
65 | + <em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em> | ||
66 | + </li> | ||
67 | + <li class="clearfix"> | ||
68 | + <span>使用细则</span> | ||
69 | + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em> | ||
70 | + </li> | ||
71 | + </ul> | ||
72 | + </div> | ||
73 | + <div class="floor-header best-choice"></div> | ||
74 | + <div class="logo-coupon"> | ||
75 | + <ul> | ||
76 | + <li class="logo-coupon01 life"> | ||
77 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_166')), ENT_QUOTES, 'UTF-8').'"></a> | ||
78 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15875"></a> | ||
79 | + </li> | ||
80 | + <li class="logo-coupon02 life"> | ||
81 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_201')), ENT_QUOTES, 'UTF-8').'"></a> | ||
82 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15877"></a> | ||
83 | + </li> | ||
84 | + <li class="logo-coupon03 life"> | ||
85 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_626')), ENT_QUOTES, 'UTF-8').'"></a> | ||
86 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15879"></a> | ||
87 | + </li> | ||
88 | + <li class="logo-coupon04 life"> | ||
89 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1024')), ENT_QUOTES, 'UTF-8').'"></a> | ||
90 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15881"></a> | ||
91 | + </li> | ||
92 | + <li class="logo-coupon05 life"> | ||
93 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_675')), ENT_QUOTES, 'UTF-8').'"></a> | ||
94 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15717"></a> | ||
95 | + </li> | ||
96 | + <li class="logo-coupon06 life"> | ||
97 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_801')), ENT_QUOTES, 'UTF-8').'"></a> | ||
98 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15885"></a> | ||
99 | + </li> | ||
100 | + <li class="logo-coupon07 life"> | ||
101 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_686')), ENT_QUOTES, 'UTF-8').'"></a> | ||
102 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15887"></a> | ||
103 | + </li> | ||
104 | + <li class="logo-coupon08 life"> | ||
105 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_501')), ENT_QUOTES, 'UTF-8').'"></a> | ||
106 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15889"></a> | ||
107 | + </li> | ||
108 | + <li class="logo-coupon09 life"> | ||
109 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_925')), ENT_QUOTES, 'UTF-8').'"></a> | ||
110 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15891"></a> | ||
111 | + </li> | ||
112 | + <li class="logo-coupon10 life"> | ||
113 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_932')), ENT_QUOTES, 'UTF-8').'"></a> | ||
114 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15893"></a> | ||
115 | + </li> | ||
116 | + <li class="logo-coupon11 life"> | ||
117 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_892')), ENT_QUOTES, 'UTF-8').'"></a> | ||
118 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15895"></a> | ||
119 | + </li> | ||
120 | + <li class="logo-coupon12 life"> | ||
121 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_849')), ENT_QUOTES, 'UTF-8').'"></a> | ||
122 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15899"></a> | ||
123 | + </li> | ||
124 | + <li class="logo-coupon13 life"> | ||
125 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_615')), ENT_QUOTES, 'UTF-8').'"></a> | ||
126 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15901"></a> | ||
127 | + </li> | ||
128 | + </ul> | ||
129 | + </div> | ||
130 | + </div> | ||
131 | + <div class="coupon-ft"> | ||
132 | + <div class="other-coupon"> | ||
133 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a> | ||
134 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a> | ||
135 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a> | ||
136 | + </div> | ||
137 | + </div> | ||
138 | + </div> | ||
139 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
140 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
141 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
142 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
143 | +<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
144 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
145 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.js"></script> | ||
146 | +'.'<!-- Google Tag Manager --> | ||
147 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
148 | +<script> | ||
149 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
150 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
151 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
152 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
153 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
154 | +</script> | ||
155 | +<!-- End Google Tag Manager --> | ||
156 | +<script type="text/javascript"> | ||
157 | + var _hmt = _hmt || []; | ||
158 | + (function() { | ||
159 | + var hm = document.createElement("script"); | ||
160 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
161 | + var s = document.getElementsByTagName("script")[0]; | ||
162 | + s.parentNode.insertBefore(hm, s); | ||
163 | + })(); | ||
164 | +</script> | ||
165 | +<script> | ||
166 | + var _hmt = _hmt || []; | ||
167 | + (function() { | ||
168 | + var hm = document.createElement("script"); | ||
169 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
170 | + var s = document.getElementsByTagName("script")[0]; | ||
171 | + s.parentNode.insertBefore(hm, s); | ||
172 | + })(); | ||
173 | +</script> | ||
174 | +'.'</body> | ||
175 | +</html>'; | ||
176 | +} | ||
177 | +?> |
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 lang="en"> | ||
26 | +<head> | ||
27 | +<meta charset="UTF-8"> | ||
28 | +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
29 | +<meta content="yes" name="apple-mobile-web-app-capable"> | ||
30 | +<meta content="telephone=no" name="format-detection"> | ||
31 | +<meta content="yes" name="apple-touch-fullscreen"> | ||
32 | +<meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
33 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
34 | +<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css"> | ||
35 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | +<script type="text/javascript"> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body> | ||
51 | + <div class="coupon-container" 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').'"> | ||
52 | + <div class="coupon-hd"></div> | ||
53 | + <div class="coupon-bd"> | ||
54 | + <div class="bd-top"></div> | ||
55 | + <div class="bd-bottom"></div> | ||
56 | + <div class="coupon-rule"> | ||
57 | + <h2></h2> | ||
58 | + <ul> | ||
59 | + <li class="clearfix"> | ||
60 | + <span>如何领取</span> | ||
61 | + <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em> | ||
62 | + </li> | ||
63 | + <li class="clearfix"> | ||
64 | + <span>使用方法</span> | ||
65 | + <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em> | ||
66 | + </li> | ||
67 | + <li class="clearfix"> | ||
68 | + <span>使用细则</span> | ||
69 | + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em> | ||
70 | + </li> | ||
71 | + </ul> | ||
72 | + </div> | ||
73 | + <div class="floor-header best-choice"></div> | ||
74 | + <div class="img-coupon clearfix"> | ||
75 | + <ul class="img-coupon01 girl"> | ||
76 | + <li> | ||
77 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_570')), ENT_QUOTES, 'UTF-8').'"></a> | ||
78 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15755"></a> | ||
79 | + </li> | ||
80 | + <li> | ||
81 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_864')), ENT_QUOTES, 'UTF-8').'"></a> | ||
82 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15761"></a> | ||
83 | + </li> | ||
84 | + </ul> | ||
85 | + <ul class="img-coupon02 girl"> | ||
86 | + <li> | ||
87 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_824')), ENT_QUOTES, 'UTF-8').'"></a> | ||
88 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15765"></a> | ||
89 | + </li> | ||
90 | + <li> | ||
91 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_536')), ENT_QUOTES, 'UTF-8').'"></a> | ||
92 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15767"></a> | ||
93 | + </li> | ||
94 | + </ul> | ||
95 | + <ul class="img-coupon03 girl"> | ||
96 | + <li> | ||
97 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_257')), ENT_QUOTES, 'UTF-8').'"></a> | ||
98 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15773"></a> | ||
99 | + </li> | ||
100 | + <li> | ||
101 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_342')), ENT_QUOTES, 'UTF-8').'"></a> | ||
102 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15775"></a> | ||
103 | + </li> | ||
104 | + </ul> | ||
105 | + <ul class="img-coupon04 girl"> | ||
106 | + <li> | ||
107 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_354')), ENT_QUOTES, 'UTF-8').'"></a> | ||
108 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15777"></a> | ||
109 | + </li> | ||
110 | + <li> | ||
111 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_60')), ENT_QUOTES, 'UTF-8').'"></a> | ||
112 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15663"></a> | ||
113 | + </li> | ||
114 | + </ul> | ||
115 | + </div> | ||
116 | + | ||
117 | + <div class="logo-coupon"> | ||
118 | + <ul> | ||
119 | + <li class="logo-coupon01 girl"> | ||
120 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_481')), ENT_QUOTES, 'UTF-8').'"></a> | ||
121 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15757"></a> | ||
122 | + </li> | ||
123 | + <li class="logo-coupon02 girl"> | ||
124 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_450')), ENT_QUOTES, 'UTF-8').'"></a> | ||
125 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15759"></a> | ||
126 | + </li> | ||
127 | + <li class="logo-coupon03 girl"> | ||
128 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_256')), ENT_QUOTES, 'UTF-8').'"></a> | ||
129 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15763"></a> | ||
130 | + </li> | ||
131 | + <li class="logo-coupon04 girl"> | ||
132 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_701')), ENT_QUOTES, 'UTF-8').'"></a> | ||
133 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15769"></a> | ||
134 | + </li> | ||
135 | + <li class="logo-coupon05 girl"> | ||
136 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_506')), ENT_QUOTES, 'UTF-8').'"></a> | ||
137 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15695"></a> | ||
138 | + </li> | ||
139 | + <li class="logo-coupon06 girl"> | ||
140 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_569')), ENT_QUOTES, 'UTF-8').'"></a> | ||
141 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15779"></a> | ||
142 | + </li> | ||
143 | + </ul> | ||
144 | + </div> | ||
145 | + | ||
146 | + <div class="floor-header top-recommend"></div> | ||
147 | + <div class="img-coupon clearfix"> | ||
148 | + <ul class="img-coupon05 girl"> | ||
149 | + <li> | ||
150 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_324')), ENT_QUOTES, 'UTF-8').'"></a> | ||
151 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15783"></a> | ||
152 | + </li> | ||
153 | + <li> | ||
154 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_589')), ENT_QUOTES, 'UTF-8').'"></a> | ||
155 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15679"></a> | ||
156 | + </li> | ||
157 | + </ul> | ||
158 | + <ul class="img-coupon06 girl"> | ||
159 | + <li> | ||
160 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_191')), ENT_QUOTES, 'UTF-8').'"></a> | ||
161 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15751"></a> | ||
162 | + </li> | ||
163 | + <li> | ||
164 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_4')), ENT_QUOTES, 'UTF-8').'"></a> | ||
165 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15715"></a> | ||
166 | + </li> | ||
167 | + </ul> | ||
168 | + <ul class="img-coupon07 girl"> | ||
169 | + <li> | ||
170 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_768')), ENT_QUOTES, 'UTF-8').'"></a> | ||
171 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15795"></a> | ||
172 | + </li> | ||
173 | + <li> | ||
174 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_649')), ENT_QUOTES, 'UTF-8').'"></a> | ||
175 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15799"></a> | ||
176 | + </li> | ||
177 | + </ul> | ||
178 | + <ul class="img-coupon08 girl"> | ||
179 | + <li> | ||
180 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1026')), ENT_QUOTES, 'UTF-8').'"></a> | ||
181 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15811"></a> | ||
182 | + </li> | ||
183 | + <li> | ||
184 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1027')), ENT_QUOTES, 'UTF-8').'"></a> | ||
185 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15813"></a> | ||
186 | + </li> | ||
187 | + </ul> | ||
188 | + </div> | ||
189 | + | ||
190 | + <div class="logo-coupon"> | ||
191 | + <ul> | ||
192 | + <li class="logo-coupon07 girl"> | ||
193 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_981')), ENT_QUOTES, 'UTF-8').'"></a> | ||
194 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15787"></a> | ||
195 | + </li> | ||
196 | + <li class="logo-coupon08 girl"> | ||
197 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_402')), ENT_QUOTES, 'UTF-8').'"></a> | ||
198 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15793"></a> | ||
199 | + </li> | ||
200 | + <li class="logo-coupon09 girl"> | ||
201 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_1021')), ENT_QUOTES, 'UTF-8').'"></a> | ||
202 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15709"></a> | ||
203 | + </li> | ||
204 | + <li class="logo-coupon10 girl"> | ||
205 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_860')), ENT_QUOTES, 'UTF-8').'"></a> | ||
206 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15801"></a> | ||
207 | + </li> | ||
208 | + <li class="logo-coupon11 girl"> | ||
209 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_435')), ENT_QUOTES, 'UTF-8').'"></a> | ||
210 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15803"></a> | ||
211 | + </li> | ||
212 | + <li class="logo-coupon12 girl"> | ||
213 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_327')), ENT_QUOTES, 'UTF-8').'"></a> | ||
214 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15805"></a> | ||
215 | + </li> | ||
216 | + <li class="logo-coupon13 girl"> | ||
217 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_505')), ENT_QUOTES, 'UTF-8').'"></a> | ||
218 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15807"></a> | ||
219 | + </li> | ||
220 | + <li class="logo-coupon14 girl"> | ||
221 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_987')), ENT_QUOTES, 'UTF-8').'"></a> | ||
222 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15809"></a> | ||
223 | + </li> | ||
224 | + </ul> | ||
225 | + </div> | ||
226 | + </div> | ||
227 | + | ||
228 | + <div class="coupon-ft"> | ||
229 | + <div class="other-coupon"> | ||
230 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a> | ||
231 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a> | ||
232 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a> | ||
233 | + </div> | ||
234 | + </div> | ||
235 | + </div> | ||
236 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
237 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
238 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
239 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
240 | +<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
241 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
242 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.js"></script> | ||
243 | +'.'<!-- Google Tag Manager --> | ||
244 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
245 | +<script> | ||
246 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
247 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
248 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
249 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
250 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
251 | +</script> | ||
252 | +<!-- End Google Tag Manager --> | ||
253 | +<script type="text/javascript"> | ||
254 | + var _hmt = _hmt || []; | ||
255 | + (function() { | ||
256 | + var hm = document.createElement("script"); | ||
257 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
258 | + var s = document.getElementsByTagName("script")[0]; | ||
259 | + s.parentNode.insertBefore(hm, s); | ||
260 | + })(); | ||
261 | +</script> | ||
262 | +<script> | ||
263 | + var _hmt = _hmt || []; | ||
264 | + (function() { | ||
265 | + var hm = document.createElement("script"); | ||
266 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
267 | + var s = document.getElementsByTagName("script")[0]; | ||
268 | + s.parentNode.insertBefore(hm, s); | ||
269 | + })(); | ||
270 | +</script> | ||
271 | +'.'</body> | ||
272 | +</html>'; | ||
273 | +} | ||
274 | +?> |
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 lang="en"> | ||
26 | +<head> | ||
27 | +<meta charset="UTF-8"> | ||
28 | +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
29 | +<meta content="yes" name="apple-mobile-web-app-capable"> | ||
30 | +<meta content="telephone=no" name="format-detection"> | ||
31 | +<meta content="yes" name="apple-touch-fullscreen"> | ||
32 | +<meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
33 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
34 | +<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css"> | ||
35 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | +<script type="text/javascript"> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body> | ||
51 | + <div class="coupon-container" 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').'"> | ||
52 | + <div class="coupon-hd hd2"></div> | ||
53 | + <div class="coupon-bd"> | ||
54 | + <div class="bd-top"></div> | ||
55 | + <div class="bd-bottom"></div> | ||
56 | + <div class="coupon-rule"> | ||
57 | + <h2></h2> | ||
58 | + <ul> | ||
59 | + <li class="clearfix"> | ||
60 | + <span>如何领取</span> | ||
61 | + <em>12.1-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em> | ||
62 | + </li> | ||
63 | + <li class="clearfix"> | ||
64 | + <span>使用方法</span> | ||
65 | + <em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em> | ||
66 | + </li> | ||
67 | + <li class="clearfix"> | ||
68 | + <span>使用细则</span> | ||
69 | + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em> | ||
70 | + </li> | ||
71 | + </ul> | ||
72 | + </div> | ||
73 | + <div class="floor-header best-choice"></div> | ||
74 | + <div class="logo-coupon"> | ||
75 | + <ul> | ||
76 | + <li class="logo-coupon01 kid"> | ||
77 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_907')), ENT_QUOTES, 'UTF-8').'"></a> | ||
78 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15859"></a> | ||
79 | + </li> | ||
80 | + <li class="logo-coupon02 kid"> | ||
81 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_600')), ENT_QUOTES, 'UTF-8').'"></a> | ||
82 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15693"></a> | ||
83 | + </li> | ||
84 | + <li class="logo-coupon03 kid"> | ||
85 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_888')), ENT_QUOTES, 'UTF-8').'"></a> | ||
86 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15863"></a> | ||
87 | + </li> | ||
88 | + <li class="logo-coupon04 kid"> | ||
89 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_855')), ENT_QUOTES, 'UTF-8').'"></a> | ||
90 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15865"></a> | ||
91 | + </li> | ||
92 | + <li class="logo-coupon05 kid"> | ||
93 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_203')), ENT_QUOTES, 'UTF-8').'"></a> | ||
94 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15867"></a> | ||
95 | + </li> | ||
96 | + <li class="logo-coupon06 kid"> | ||
97 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_800')), ENT_QUOTES, 'UTF-8').'"></a> | ||
98 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15869"></a> | ||
99 | + </li> | ||
100 | + <li class="logo-coupon07 kid"> | ||
101 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_784')), ENT_QUOTES, 'UTF-8').'"></a> | ||
102 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15871"></a> | ||
103 | + </li> | ||
104 | + <li class="logo-coupon08 kid"> | ||
105 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_876')), ENT_QUOTES, 'UTF-8').'"></a> | ||
106 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="16145"></a> | ||
107 | + </li> | ||
108 | + </ul> | ||
109 | + </div> | ||
110 | + </div> | ||
111 | + <div class="coupon-ft"> | ||
112 | + <div class="other-coupon"> | ||
113 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_boys')), ENT_QUOTES, 'UTF-8').'">男生</a> | ||
114 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a> | ||
115 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a> | ||
116 | + </div> | ||
117 | + </div> | ||
118 | + </div> | ||
119 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
120 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
121 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
122 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
123 | +<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
124 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
125 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.js"></script> | ||
126 | +'.'<!-- Google Tag Manager --> | ||
127 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
128 | +<script> | ||
129 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
130 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
131 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
132 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
133 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
134 | +</script> | ||
135 | +<!-- End Google Tag Manager --> | ||
136 | +<script type="text/javascript"> | ||
137 | + var _hmt = _hmt || []; | ||
138 | + (function() { | ||
139 | + var hm = document.createElement("script"); | ||
140 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
141 | + var s = document.getElementsByTagName("script")[0]; | ||
142 | + s.parentNode.insertBefore(hm, s); | ||
143 | + })(); | ||
144 | +</script> | ||
145 | +<script> | ||
146 | + var _hmt = _hmt || []; | ||
147 | + (function() { | ||
148 | + var hm = document.createElement("script"); | ||
149 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
150 | + var s = document.getElementsByTagName("script")[0]; | ||
151 | + s.parentNode.insertBefore(hm, s); | ||
152 | + })(); | ||
153 | +</script> | ||
154 | +'.'</body> | ||
155 | +</html>'; | ||
156 | +} | ||
157 | +?> |
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 | +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no"> | ||
29 | +<meta content="yes" name="apple-mobile-web-app-capable"> | ||
30 | +<meta content="telephone=no" name="format-detection"> | ||
31 | +<meta content="yes" name="apple-touch-fullscreen"> | ||
32 | +<meta content="black" name="apple-mobile-web-app-status-bar-style"> | ||
33 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('staticTitle')), ENT_QUOTES, 'UTF-8').'</title> | ||
34 | +<link rel="stylesheet" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cssUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/css/151201/coupon.mobile.css"> | ||
35 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
36 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
37 | +<script type="text/javascript"> | ||
38 | + (function(doc, win) { | ||
39 | + var docEl = doc.documentElement; | ||
40 | + (function() { | ||
41 | + var clientWidth = docEl.clientWidth; | ||
42 | + if (!clientWidth) { | ||
43 | + return; | ||
44 | + } | ||
45 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
46 | + }()); | ||
47 | + })(document, window); | ||
48 | +</script> | ||
49 | +</head> | ||
50 | +<body> | ||
51 | + <div class="coupon-container" 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').'"> | ||
52 | + <div class="coupon-hd"></div> | ||
53 | + <div class="coupon-bd"> | ||
54 | + <div class="bd-top"></div> | ||
55 | + <div class="bd-bottom"></div> | ||
56 | + <div class="coupon-rule"> | ||
57 | + <h2></h2> | ||
58 | + <ul> | ||
59 | + <li class="clearfix"> | ||
60 | + <span>如何领取</span> | ||
61 | + <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em> | ||
62 | + </li> | ||
63 | + <li class="clearfix"> | ||
64 | + <span>使用方法</span> | ||
65 | + <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em> | ||
66 | + </li> | ||
67 | + <li class="clearfix"> | ||
68 | + <span>使用细则</span> | ||
69 | + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em> | ||
70 | + </li> | ||
71 | + </ul> | ||
72 | + </div> | ||
73 | + <div class="floor-header best-choice"></div> | ||
74 | + <div class="img-coupon clearfix"> | ||
75 | + <ul class="img-coupon01"> | ||
76 | + <li> | ||
77 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_350')), ENT_QUOTES, 'UTF-8').'"></a> | ||
78 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15659"></a> | ||
79 | + </li> | ||
80 | + <li> | ||
81 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_160')), ENT_QUOTES, 'UTF-8').'"></a> | ||
82 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15663"></a> | ||
83 | + </li> | ||
84 | + </ul> | ||
85 | + <ul class="img-coupon02"> | ||
86 | + <li> | ||
87 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_341')), ENT_QUOTES, 'UTF-8').'"></a> | ||
88 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15667"></a> | ||
89 | + </li> | ||
90 | + <li> | ||
91 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_710')), ENT_QUOTES, 'UTF-8').'"></a> | ||
92 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15669"></a> | ||
93 | + </li> | ||
94 | + </ul> | ||
95 | + <ul class="img-coupon03"> | ||
96 | + <li> | ||
97 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_471')), ENT_QUOTES, 'UTF-8').'"></a> | ||
98 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15671"></a> | ||
99 | + </li> | ||
100 | + <li> | ||
101 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_495')), ENT_QUOTES, 'UTF-8').'"></a> | ||
102 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15675"></a> | ||
103 | + </li> | ||
104 | + </ul> | ||
105 | + <ul class="img-coupon04"> | ||
106 | + <li> | ||
107 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_235')), ENT_QUOTES, 'UTF-8').'"></a> | ||
108 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15681"></a> | ||
109 | + </li> | ||
110 | + <li> | ||
111 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_583')), ENT_QUOTES, 'UTF-8').'"></a> | ||
112 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15683"></a> | ||
113 | + </li> | ||
114 | + </ul> | ||
115 | + </div> | ||
116 | + <div class="logo-coupon"> | ||
117 | + <ul> | ||
118 | + <li class="logo-coupon01"> | ||
119 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_417')), ENT_QUOTES, 'UTF-8').'"></a> | ||
120 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15665"></a> | ||
121 | + </li> | ||
122 | + <li class="logo-coupon02"> | ||
123 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_672')), ENT_QUOTES, 'UTF-8').'"></a> | ||
124 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15673"></a> | ||
125 | + </li> | ||
126 | + <li class="logo-coupon03"> | ||
127 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_589')), ENT_QUOTES, 'UTF-8').'"></a> | ||
128 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15679"></a> | ||
129 | + </li> | ||
130 | + <li class="logo-coupon04"> | ||
131 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_707')), ENT_QUOTES, 'UTF-8').'"></a> | ||
132 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15699"></a> | ||
133 | + </li> | ||
134 | + <li class="logo-coupon05"> | ||
135 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_550')), ENT_QUOTES, 'UTF-8').'"></a> | ||
136 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15687"></a> | ||
137 | + </li> | ||
138 | + <li class="logo-coupon06"> | ||
139 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_600')), ENT_QUOTES, 'UTF-8').'"></a> | ||
140 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15693"></a> | ||
141 | + </li> | ||
142 | + </ul> | ||
143 | + </div> | ||
144 | + <div class="floor-header top-recommend"></div> | ||
145 | + <div class="img-coupon clearfix"> | ||
146 | + <ul class="img-coupon05"> | ||
147 | + <li> | ||
148 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_402')), ENT_QUOTES, 'UTF-8').'"></a> | ||
149 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15685"></a> | ||
150 | + </li> | ||
151 | + <li> | ||
152 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_720')), ENT_QUOTES, 'UTF-8').'"></a> | ||
153 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15689"></a> | ||
154 | + </li> | ||
155 | + </ul> | ||
156 | + <ul class="img-coupon06"> | ||
157 | + <li> | ||
158 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_138')), ENT_QUOTES, 'UTF-8').'"></a> | ||
159 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15691"></a> | ||
160 | + </li> | ||
161 | + <li> | ||
162 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_506')), ENT_QUOTES, 'UTF-8').'"></a> | ||
163 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15695"></a> | ||
164 | + </li> | ||
165 | + </ul> | ||
166 | + <ul class="img-coupon07"> | ||
167 | + <li> | ||
168 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_419')), ENT_QUOTES, 'UTF-8').'"></a> | ||
169 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15697"></a> | ||
170 | + </li> | ||
171 | + <li> | ||
172 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_581')), ENT_QUOTES, 'UTF-8').'"></a> | ||
173 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15705"></a> | ||
174 | + </li> | ||
175 | + </ul> | ||
176 | + <ul class="img-coupon08"> | ||
177 | + <li> | ||
178 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_722')), ENT_QUOTES, 'UTF-8').'"></a> | ||
179 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15707"></a> | ||
180 | + </li> | ||
181 | + <li> | ||
182 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_191')), ENT_QUOTES, 'UTF-8').'"></a> | ||
183 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15751"></a> | ||
184 | + </li> | ||
185 | + </ul> | ||
186 | + </div> | ||
187 | + <div class="logo-coupon"> | ||
188 | + <ul> | ||
189 | + <li class="logo-coupon07"> | ||
190 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_152')), ENT_QUOTES, 'UTF-8').'"></a> | ||
191 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15701"></a> | ||
192 | + </li> | ||
193 | + <li class="logo-coupon08"> | ||
194 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_464')), ENT_QUOTES, 'UTF-8').'"></a> | ||
195 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15703"></a> | ||
196 | + </li> | ||
197 | + <li class="logo-coupon09"> | ||
198 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_102')), ENT_QUOTES, 'UTF-8').'"></a> | ||
199 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15709"></a> | ||
200 | + </li> | ||
201 | + <li class="logo-coupon10"> | ||
202 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_851')), ENT_QUOTES, 'UTF-8').'"></a> | ||
203 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15711"></a> | ||
204 | + </li> | ||
205 | + <li class="logo-coupon11"> | ||
206 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_699')), ENT_QUOTES, 'UTF-8').'"></a> | ||
207 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15713"></a> | ||
208 | + </li> | ||
209 | + <li class="logo-coupon12"> | ||
210 | + <a class="enter-store" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_103')), ENT_QUOTES, 'UTF-8').'"></a> | ||
211 | + <a class="get-coupon" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpUrl')), ENT_QUOTES, 'UTF-8').'" param="15733"></a> | ||
212 | + </li> | ||
213 | + </ul> | ||
214 | + </div> | ||
215 | + </div> | ||
216 | + <div class="coupon-ft"> | ||
217 | + <div class="other-coupon"> | ||
218 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_girls')), ENT_QUOTES, 'UTF-8').'">女生</a> | ||
219 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_kids')), ENT_QUOTES, 'UTF-8').'">童装</a> | ||
220 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url_lifestyle')), ENT_QUOTES, 'UTF-8').'">创意生活</a> | ||
221 | + </div> | ||
222 | + </div> | ||
223 | + </div> | ||
224 | +<input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
225 | +<input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
226 | +<input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
227 | +<input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
228 | +'.((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> | ||
229 | +' : '').'<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/jquery.min.js"></script> | ||
230 | +<script type="text/javascript" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jsUrl')), ENT_QUOTES, 'UTF-8').'/cuxiao/js/151201/coupon.mobile.js"></script> | ||
231 | +'.'<!-- Google Tag Manager --> | ||
232 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
233 | +<script> | ||
234 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
235 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
236 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
237 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
238 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
239 | +</script> | ||
240 | +<!-- End Google Tag Manager --> | ||
241 | +<script type="text/javascript"> | ||
242 | + var _hmt = _hmt || []; | ||
243 | + (function() { | ||
244 | + var hm = document.createElement("script"); | ||
245 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
246 | + var s = document.getElementsByTagName("script")[0]; | ||
247 | + s.parentNode.insertBefore(hm, s); | ||
248 | + })(); | ||
249 | +</script> | ||
250 | +<script> | ||
251 | + var _hmt = _hmt || []; | ||
252 | + (function() { | ||
253 | + var hm = document.createElement("script"); | ||
254 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
255 | + var s = document.getElementsByTagName("script")[0]; | ||
256 | + s.parentNode.insertBefore(hm, s); | ||
257 | + })(); | ||
258 | +</script> | ||
259 | +'.' | ||
260 | +</body> | ||
261 | +</html>'; | ||
262 | +} | ||
263 | +?> |
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('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | +<meta http-equiv="cleartype" content="on"> | ||
33 | +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | +<meta content="telephone=no" name="format-detection" /> | ||
35 | +<meta content="email=no" name="format-detection" /> | ||
36 | +<script type="text/javascript"> | ||
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 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | +<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | +<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | +</head> | ||
60 | +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | + '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'"> | ||
62 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="iconfont nav-back"></a> | ||
63 | +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home"></a> | ||
64 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> | ||
65 | +';}).'</header> | ||
66 | +';}).''.''.' <div class="mobile-container"> | ||
67 | + <div class="mobile-wrap boys-wrap yoho-page"> | ||
68 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'> | ||
69 | + <span class="nav-btn iconfont"></span> | ||
70 | + <span class="logo"></span> | ||
71 | + <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'"></a></span> | ||
72 | + </div>'.'';}).' | ||
73 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top"> | ||
74 | + <div class="banner-swiper swiper-container"> | ||
75 | + <ul class="swiper-wrapper"> | ||
76 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide"> | ||
77 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
78 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
79 | + </a> | ||
80 | + </li> | ||
81 | +' : ' <li class="swiper-slide"> | ||
82 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
83 | + <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
84 | + </a> | ||
85 | + <div class="swiper-lazy-preloader"></div> | ||
86 | + </li> | ||
87 | +').'';}).' </ul> | ||
88 | + </div> | ||
89 | + <div class="swiper-pagination"> | ||
90 | + <div class="pagination-inner"> | ||
91 | + </div> | ||
92 | + </div> | ||
93 | + </div>'.'';}).' | ||
94 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper"> | ||
95 | + <ul class="icons-list clearfix"> | ||
96 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li> | ||
97 | +';}).' </ul> | ||
98 | + </div> | ||
99 | +'.'';}).' | ||
100 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center"> | ||
101 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
102 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
103 | + </a> | ||
104 | + </div>'.'';}).' | ||
105 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category"> | ||
106 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> | ||
107 | + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> | ||
108 | + </div> | ||
109 | +';}).''.' | ||
110 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
111 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
112 | + </a> | ||
113 | +';}).' <ul class="category-list clearfix"> | ||
114 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> | ||
115 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
116 | + <div class="img-box"> | ||
117 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
118 | + </div> | ||
119 | + </a> | ||
120 | + </li> | ||
121 | +';}).' </ul> | ||
122 | + </div>'.'';}).' | ||
123 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix"> | ||
124 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> | ||
125 | + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> | ||
126 | + </div> | ||
127 | +';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand"> | ||
128 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
129 | + <div class="brand-logo"> | ||
130 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
131 | + </div> | ||
132 | + <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> | ||
133 | + </a> | ||
134 | + </li> | ||
135 | +';}).' <li class="more"> | ||
136 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a> | ||
137 | + </li> | ||
138 | + </ul>'.'';}).' | ||
139 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands"> | ||
140 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> | ||
141 | + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> | ||
142 | + </div> | ||
143 | +';}).''.' <div class="brands-swiper"> | ||
144 | + <ul class="brands-list swiper-wrapper clearfix"> | ||
145 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> | ||
146 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
147 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
148 | + <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span> | ||
149 | + </a> | ||
150 | + </li> | ||
151 | +';}).' </ul> | ||
152 | + </div> | ||
153 | + </div>'.'';}).' | ||
154 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper"> | ||
155 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> | ||
156 | + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
157 | + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> | ||
158 | + </div> | ||
159 | + ';}).''.' <div class="trend-coll-content clearfix"> | ||
160 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan"> | ||
161 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a> | ||
162 | + </div> | ||
163 | +';}).' </div> | ||
164 | + <div class="trend-coll-tail"> | ||
165 | + <h3 class="recommend-title">推荐搭配</h3> | ||
166 | + <div class="recommend-swiper"> | ||
167 | + <ul class="recommend-list swiper-wrapper clearfix"> | ||
168 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li> | ||
169 | +';}).' </ul> | ||
170 | + </div> | ||
171 | + </div> | ||
172 | + </div> | ||
173 | + | ||
174 | + | ||
175 | +'.'';}).' | ||
176 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper"> | ||
177 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> | ||
178 | + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
179 | + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> | ||
180 | + </div> | ||
181 | + ';}).''.' <div class="trend-topic-content"> | ||
182 | + <div class="trend-topic-swiper"> | ||
183 | + <ul class="swiper-wrapper"> | ||
184 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> | ||
185 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
186 | + <div class="img-box"> | ||
187 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
188 | + </div> | ||
189 | + <div class="item-content"> | ||
190 | + <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> | ||
191 | + <p class="time"> | ||
192 | + <span class="iconfont time-icon"></span> | ||
193 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span> | ||
194 | + </p> | ||
195 | + </div> | ||
196 | + </a> | ||
197 | + </li> | ||
198 | +';}).' </ul> | ||
199 | + </div> | ||
200 | + <div class="swiper-pagination"> | ||
201 | + <div class="pagination-inner clearfix"> | ||
202 | + </div> | ||
203 | + </div> | ||
204 | + </div> | ||
205 | + </div> | ||
206 | +'.'';}).' | ||
207 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> | ||
208 | + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
209 | + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> | ||
210 | + </div> | ||
211 | + ';}).''.' <div class="goods-category"> | ||
212 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ' <div class="category-swiper"> | ||
213 | + <ul class="swiper-wrapper"> | ||
214 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> | ||
215 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
216 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'"> | ||
217 | + </a> | ||
218 | + </li> | ||
219 | +';}).' </ul> | ||
220 | + <div class="swiper-pagination"> | ||
221 | + <div class="pagination-inner clearfix"> | ||
222 | + </div> | ||
223 | + </div> | ||
224 | + </div> | ||
225 | +';}).' <ul class="category-list clearfix"> | ||
226 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> | ||
227 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
228 | + <div class="img-box"> | ||
229 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
230 | + </div> | ||
231 | + <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p> | ||
232 | + </a> | ||
233 | + </li> | ||
234 | +';}).' </ul> | ||
235 | + </div>'.'';}).' | ||
236 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more"> | ||
237 | + <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
238 | + <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'"></a> | ||
239 | + </div> | ||
240 | + ';}).''.' <div class="creative-life"> | ||
241 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
242 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
243 | + </a> | ||
244 | +';}).' <ul class="classify-list clearfix"> | ||
245 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify"> | ||
246 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
247 | + <div class="classify-logo"> | ||
248 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
249 | + </div> | ||
250 | + <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> | ||
251 | + </a> | ||
252 | + </li> | ||
253 | +';}).' </ul> | ||
254 | + </div>'.'';}).' | ||
255 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.' | ||
256 | + <div class="plus-star"> | ||
257 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header"> | ||
258 | + <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2> | ||
259 | + </div> | ||
260 | +';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
261 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
262 | + </a> | ||
263 | + </div>'.'';}).'';}).' | ||
264 | + '.'<div class="maybe-like"> | ||
265 | + <p class="title"> | ||
266 | + <i class="icon"></i> | ||
267 | + <span>你可能喜欢</span> | ||
268 | + </p> | ||
269 | + | ||
270 | + <div id="goods-list" class="goods-list clearfix"></div> | ||
271 | + | ||
272 | +</div> | ||
273 | +<div class="load-more-img hide" id="load-more-img"> | ||
274 | + <a href=""> | ||
275 | + <img src=""> | ||
276 | + </a> | ||
277 | +</div> | ||
278 | +'.''.' | ||
279 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('twoColumnGoods')), $in, false, function($cx, $in) {return ''.' <div class="two-column-goods"> | ||
280 | + <ul class="column-nav clearfix"> | ||
281 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('columnNav')), $in, false, function($cx, $in) {return ' <li data-url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</li> | ||
282 | +';}).' </ul> | ||
283 | + <div class="goods-list clearfix"> | ||
284 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
285 | + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
286 | + <div class="tag-container clearfix"> | ||
287 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> | ||
288 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> | ||
289 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> | ||
290 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag"></div> | ||
291 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> | ||
292 | +';}).'';}).' </div> | ||
293 | + <div class="good-detail-img"> | ||
294 | + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
295 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
296 | + </a> | ||
297 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> | ||
298 | +';}).' </div> | ||
299 | + <div class="good-detail-text"> | ||
300 | + <div class="name"> | ||
301 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> | ||
302 | + </div> | ||
303 | + <div class="price"> | ||
304 | + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> | ||
305 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> | ||
306 | +';}).' </div> | ||
307 | + </div> | ||
308 | + </div> | ||
309 | + ' : '').''.'';}).' </div> | ||
310 | + </div>'.'';}).' | ||
311 | + <div class="overlay"></div> | ||
312 | +'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab"> | ||
313 | + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
314 | + <p class="iconfont tab-icon"></p> | ||
315 | + <p class="tab-name">首页</p> | ||
316 | + </a> | ||
317 | + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
318 | + <p class="iconfont tab-icon"></p> | ||
319 | + <p class="tab-name">分类</p> | ||
320 | + </a> | ||
321 | + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
322 | + <p class="iconfont tab-icon"></p> | ||
323 | + <p class="tab-name">逛</p> | ||
324 | + </a> | ||
325 | + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
326 | + <p class="iconfont tab-icon"></p> | ||
327 | + <p class="tab-name">购物车</p> | ||
328 | + </a> | ||
329 | + <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
330 | + <p class="iconfont tab-icon"></p> | ||
331 | + <p class="tab-name">我的</p> | ||
332 | + </a> | ||
333 | + </div> | ||
334 | +';}).' '.' </div> | ||
335 | +'.' <div class="side-nav"> | ||
336 | + <ul> | ||
337 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'"> | ||
338 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> | ||
339 | +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> | ||
340 | +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span> | ||
341 | +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i> | ||
342 | +' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' | ||
343 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont"></span> | ||
344 | +';}).' </a> | ||
345 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav"> | ||
346 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'"> | ||
347 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'"> | ||
348 | +';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;"> | ||
349 | +' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont"></span> | ||
350 | +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont"></i> | ||
351 | +';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em> | ||
352 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').' | ||
353 | + </a> | ||
354 | + </li> | ||
355 | +';}).' </ul> | ||
356 | +';}).' </li> | ||
357 | +';}).' </ul> | ||
358 | + </div>'.' </div> | ||
359 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide"> | ||
360 | + <p class="op-row"> | ||
361 | + <span class="back-to-top"> | ||
362 | + Back to top | ||
363 | + <i class="iconfont"></i> | ||
364 | + </span> | ||
365 | + </p> | ||
366 | + <address class="copyright"> | ||
367 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
368 | + </address> | ||
369 | +</footer> | ||
370 | +';}).' | ||
371 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app"> | ||
372 | + <div class="float-layer-left"> | ||
373 | + <span class="yoho-icon iconfont"></span> | ||
374 | + <p>新用户送千元礼包</p> | ||
375 | + </div> | ||
376 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
377 | + <i class="close-icon iconfont"></i> | ||
378 | + <div class="circle-rightbottom"></div> | ||
379 | + </a> | ||
380 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
381 | + 立即下载 | ||
382 | + </a> | ||
383 | +</div> | ||
384 | +';}).' | ||
385 | + | ||
386 | + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
387 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
388 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
389 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
390 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
391 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
392 | +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script> | ||
393 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
394 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
395 | +' : '').'<script type="text/javascript"> | ||
396 | + (function(w,d,s,j,f){ | ||
397 | + w[\'YohoAcquisitionObject\']=f; | ||
398 | + w[f]=function(){w[f].p=arguments;}; | ||
399 | + var a=d.createElement(s); | ||
400 | + var m=d.getElementsByTagName(s)[0]; | ||
401 | + a.async=1; | ||
402 | + a.src=j; | ||
403 | + m.parentNode.insertBefore(a,m); | ||
404 | + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
405 | +</script> | ||
406 | +'.'<script> | ||
407 | + seajs.use(\'js/common\'); | ||
408 | +</script> | ||
409 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
410 | + seajs.use(\'js/guang/plus-star/list\'); | ||
411 | +</script> | ||
412 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
413 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
414 | +</script> | ||
415 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
416 | + seajs.use(\'js/guang/home\'); | ||
417 | +</script> | ||
418 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
419 | + seajs.use(\'js/guang/list\'); | ||
420 | +</script> | ||
421 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
422 | + seajs.use(\'js/guang/detail\', function(d) { | ||
423 | + d.i(true); | ||
424 | + }); | ||
425 | +</script> | ||
426 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
427 | + seajs.use(\'js/guang/detail\', function(d) { | ||
428 | + d.i(false); | ||
429 | + }); | ||
430 | +</script> | ||
431 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
432 | + seajs.use(\'js/passport/register/register\'); | ||
433 | +</script> | ||
434 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
435 | + seajs.use(\'js/passport/register/code\'); | ||
436 | +</script> | ||
437 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
438 | + seajs.use(\'js/passport/register/password\'); | ||
439 | +</script> | ||
440 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
441 | + seajs.use(\'js/passport/login/login\'); | ||
442 | +</script> | ||
443 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
444 | + seajs.use(\'js/passport/login/international\'); | ||
445 | +</script> | ||
446 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
447 | + seajs.use(\'js/passport/back/email\'); | ||
448 | +</script> | ||
449 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
450 | + seajs.use(\'js/passport/back/email-success\'); | ||
451 | +</script> | ||
452 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
453 | + seajs.use(\'js/passport/back/mobile\'); | ||
454 | +</script> | ||
455 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
456 | + seajs.use(\'js/passport/back/code\'); | ||
457 | +</script> | ||
458 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
459 | + seajs.use(\'js/passport/back/new-password\'); | ||
460 | +</script> | ||
461 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
462 | + seajs.use(\'js/index/channel\'); | ||
463 | + seajs.use(\'js/index/footer\'); | ||
464 | +</script> | ||
465 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
466 | + seajs.use(\'js/home/home\', function(h) { | ||
467 | + h.set(\'girls\'); | ||
468 | + }); | ||
469 | + seajs.use(\'js/index/footer\'); | ||
470 | +</script> | ||
471 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
472 | + seajs.use(\'js/home/home\', function(h) { | ||
473 | + h.set(\'boys\'); | ||
474 | + }); | ||
475 | + seajs.use(\'js/index/footer\'); | ||
476 | +</script> | ||
477 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
478 | + seajs.use(\'js/home/home\', function(h) { | ||
479 | + h.set(\'kids\'); | ||
480 | + }); | ||
481 | + seajs.use(\'js/index/footer\'); | ||
482 | +</script> | ||
483 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
484 | + seajs.use(\'js/home/home\', function(h) { | ||
485 | + h.set(\'lifestyle\'); | ||
486 | + }); | ||
487 | + seajs.use(\'js/index/footer\'); | ||
488 | +</script> | ||
489 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
490 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
491 | + seajs.use(\'js/index/footer\'); | ||
492 | +</script> | ||
493 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
494 | + seajs.use(\'js/product/newsale/discount\'); | ||
495 | + seajs.use(\'js/index/footer\'); | ||
496 | +</script> | ||
497 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
498 | + seajs.use(\'js/product/list\'); | ||
499 | + seajs.use(\'js/index/footer\'); | ||
500 | +</script> | ||
501 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
502 | + seajs.use(\'js/product/detail/detail\'); | ||
503 | +</script> | ||
504 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
505 | + seajs.use(\'js/category/index\'); | ||
506 | + seajs.use(\'js/index/footer\'); | ||
507 | +</script> | ||
508 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
509 | + seajs.use(\'js/category/brand\'); | ||
510 | + seajs.use(\'js/index/footer\'); | ||
511 | +</script> | ||
512 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
513 | + seajs.use(\'js/index/search\'); | ||
514 | + seajs.use(\'js/index/footer\'); | ||
515 | +</script> | ||
516 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
517 | + seajs.use(\'js/shopping-cart/cart\'); | ||
518 | +</script> | ||
519 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
520 | + seajs.use(\'js/shopping-cart/gift-advance\'); | ||
521 | +</script> | ||
522 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
523 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
524 | +<script> | ||
525 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
526 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
527 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
528 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
529 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
530 | +</script> | ||
531 | +<!-- End Google Tag Manager --> | ||
532 | +<script type="text/javascript"> | ||
533 | + var _hmt = _hmt || []; | ||
534 | + (function() { | ||
535 | + var hm = document.createElement("script"); | ||
536 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
537 | + var s = document.getElementsByTagName("script")[0]; | ||
538 | + s.parentNode.insertBefore(hm, s); | ||
539 | + })(); | ||
540 | +</script> | ||
541 | +<script> | ||
542 | + var _hmt = _hmt || []; | ||
543 | + (function() { | ||
544 | + var hm = document.createElement("script"); | ||
545 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
546 | + var s = document.getElementsByTagName("script")[0]; | ||
547 | + s.parentNode.insertBefore(hm, s); | ||
548 | + })(); | ||
549 | +</script> | ||
550 | +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
551 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
552 | +'.'</body> | ||
553 | +</html>'.''; | ||
554 | +} | ||
555 | +?> |
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('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | +<meta http-equiv="cleartype" content="on"> | ||
33 | +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | +<meta content="telephone=no" name="format-detection" /> | ||
35 | +<meta content="email=no" name="format-detection" /> | ||
36 | +<script type="text/javascript"> | ||
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 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | +<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | +<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | +</head> | ||
60 | +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | + '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'"> | ||
62 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="iconfont nav-back"></a> | ||
63 | +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home"></a> | ||
64 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> | ||
65 | +';}).'</header> | ||
66 | +';}).''.''.'<div class="index-page yoho-page"> | ||
67 | + <div class="index-container"> | ||
68 | + <div class="index-header clearfix"> | ||
69 | + <div class="index-logo"></div> | ||
70 | + <div class="box"> | ||
71 | + <a href="javascript:void(0);" class="no-search">取消</a> | ||
72 | + <form action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'" class="index-search"> | ||
73 | + <div class="search-box"> | ||
74 | + <input type="hidden" name="from" value="search"> | ||
75 | + <input type="text" name="query" placeholder="搜索" autocomplete="off"> | ||
76 | + <span class="iconfont clear-text"></span> | ||
77 | + <span class="iconfont search-icon empty"></span> | ||
78 | + </div> | ||
79 | + </form> | ||
80 | + </div> | ||
81 | + </div> | ||
82 | + <div class="index-channel"> | ||
83 | + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('background')), ENT_QUOTES, 'UTF-8').'"> | ||
84 | + <div class="index-channel-list"> | ||
85 | + <a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon"></span></a> | ||
86 | + <a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon"></span></a> | ||
87 | + <a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon"></span></a> | ||
88 | + <a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon"></span></a> | ||
89 | + </div> | ||
90 | + </div> | ||
91 | + </div> | ||
92 | +</div> | ||
93 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide"> | ||
94 | + <p class="op-row"> | ||
95 | + <span class="back-to-top"> | ||
96 | + Back to top | ||
97 | + <i class="iconfont"></i> | ||
98 | + </span> | ||
99 | + </p> | ||
100 | + <address class="copyright"> | ||
101 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
102 | + </address> | ||
103 | +</footer> | ||
104 | +';}).' | ||
105 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app"> | ||
106 | + <div class="float-layer-left"> | ||
107 | + <span class="yoho-icon iconfont"></span> | ||
108 | + <p>新用户送千元礼包</p> | ||
109 | + </div> | ||
110 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
111 | + <i class="close-icon iconfont"></i> | ||
112 | + <div class="circle-rightbottom"></div> | ||
113 | + </a> | ||
114 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
115 | + 立即下载 | ||
116 | + </a> | ||
117 | +</div> | ||
118 | +';}).' | ||
119 | + | ||
120 | + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
121 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
122 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
123 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
124 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
125 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
126 | +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script> | ||
127 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
128 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
129 | +' : '').'<script type="text/javascript"> | ||
130 | + (function(w,d,s,j,f){ | ||
131 | + w[\'YohoAcquisitionObject\']=f; | ||
132 | + w[f]=function(){w[f].p=arguments;}; | ||
133 | + var a=d.createElement(s); | ||
134 | + var m=d.getElementsByTagName(s)[0]; | ||
135 | + a.async=1; | ||
136 | + a.src=j; | ||
137 | + m.parentNode.insertBefore(a,m); | ||
138 | + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
139 | +</script> | ||
140 | +'.'<script> | ||
141 | + seajs.use(\'js/common\'); | ||
142 | +</script> | ||
143 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
144 | + seajs.use(\'js/guang/plus-star/list\'); | ||
145 | +</script> | ||
146 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
147 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
148 | +</script> | ||
149 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
150 | + seajs.use(\'js/guang/home\'); | ||
151 | +</script> | ||
152 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
153 | + seajs.use(\'js/guang/list\'); | ||
154 | +</script> | ||
155 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
156 | + seajs.use(\'js/guang/detail\', function(d) { | ||
157 | + d.i(true); | ||
158 | + }); | ||
159 | +</script> | ||
160 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
161 | + seajs.use(\'js/guang/detail\', function(d) { | ||
162 | + d.i(false); | ||
163 | + }); | ||
164 | +</script> | ||
165 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
166 | + seajs.use(\'js/passport/register/register\'); | ||
167 | +</script> | ||
168 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
169 | + seajs.use(\'js/passport/register/code\'); | ||
170 | +</script> | ||
171 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
172 | + seajs.use(\'js/passport/register/password\'); | ||
173 | +</script> | ||
174 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
175 | + seajs.use(\'js/passport/login/login\'); | ||
176 | +</script> | ||
177 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
178 | + seajs.use(\'js/passport/login/international\'); | ||
179 | +</script> | ||
180 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
181 | + seajs.use(\'js/passport/back/email\'); | ||
182 | +</script> | ||
183 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
184 | + seajs.use(\'js/passport/back/email-success\'); | ||
185 | +</script> | ||
186 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
187 | + seajs.use(\'js/passport/back/mobile\'); | ||
188 | +</script> | ||
189 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
190 | + seajs.use(\'js/passport/back/code\'); | ||
191 | +</script> | ||
192 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
193 | + seajs.use(\'js/passport/back/new-password\'); | ||
194 | +</script> | ||
195 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
196 | + seajs.use(\'js/index/channel\'); | ||
197 | + seajs.use(\'js/index/footer\'); | ||
198 | +</script> | ||
199 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
200 | + seajs.use(\'js/home/home\', function(h) { | ||
201 | + h.set(\'girls\'); | ||
202 | + }); | ||
203 | + seajs.use(\'js/index/footer\'); | ||
204 | +</script> | ||
205 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
206 | + seajs.use(\'js/home/home\', function(h) { | ||
207 | + h.set(\'boys\'); | ||
208 | + }); | ||
209 | + seajs.use(\'js/index/footer\'); | ||
210 | +</script> | ||
211 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
212 | + seajs.use(\'js/home/home\', function(h) { | ||
213 | + h.set(\'kids\'); | ||
214 | + }); | ||
215 | + seajs.use(\'js/index/footer\'); | ||
216 | +</script> | ||
217 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
218 | + seajs.use(\'js/home/home\', function(h) { | ||
219 | + h.set(\'lifestyle\'); | ||
220 | + }); | ||
221 | + seajs.use(\'js/index/footer\'); | ||
222 | +</script> | ||
223 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
224 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
225 | + seajs.use(\'js/index/footer\'); | ||
226 | +</script> | ||
227 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
228 | + seajs.use(\'js/product/newsale/discount\'); | ||
229 | + seajs.use(\'js/index/footer\'); | ||
230 | +</script> | ||
231 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
232 | + seajs.use(\'js/product/list\'); | ||
233 | + seajs.use(\'js/index/footer\'); | ||
234 | +</script> | ||
235 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
236 | + seajs.use(\'js/product/detail/detail\'); | ||
237 | +</script> | ||
238 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
239 | + seajs.use(\'js/category/index\'); | ||
240 | + seajs.use(\'js/index/footer\'); | ||
241 | +</script> | ||
242 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
243 | + seajs.use(\'js/category/brand\'); | ||
244 | + seajs.use(\'js/index/footer\'); | ||
245 | +</script> | ||
246 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
247 | + seajs.use(\'js/index/search\'); | ||
248 | + seajs.use(\'js/index/footer\'); | ||
249 | +</script> | ||
250 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
251 | + seajs.use(\'js/shopping-cart/cart\'); | ||
252 | +</script> | ||
253 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
254 | + seajs.use(\'js/shopping-cart/gift-advance\'); | ||
255 | +</script> | ||
256 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
257 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
258 | +<script> | ||
259 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
260 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
261 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
262 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
263 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
264 | +</script> | ||
265 | +<!-- End Google Tag Manager --> | ||
266 | +<script type="text/javascript"> | ||
267 | + var _hmt = _hmt || []; | ||
268 | + (function() { | ||
269 | + var hm = document.createElement("script"); | ||
270 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
271 | + var s = document.getElementsByTagName("script")[0]; | ||
272 | + s.parentNode.insertBefore(hm, s); | ||
273 | + })(); | ||
274 | +</script> | ||
275 | +<script> | ||
276 | + var _hmt = _hmt || []; | ||
277 | + (function() { | ||
278 | + var hm = document.createElement("script"); | ||
279 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
280 | + var s = document.getElementsByTagName("script")[0]; | ||
281 | + s.parentNode.insertBefore(hm, s); | ||
282 | + })(); | ||
283 | +</script> | ||
284 | +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
285 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
286 | +'.'</body> | ||
287 | +</html>'.''; | ||
288 | +} | ||
289 | +?> |
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('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | +<meta http-equiv="cleartype" content="on"> | ||
33 | +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | +<meta content="telephone=no" name="format-detection" /> | ||
35 | +<meta content="email=no" name="format-detection" /> | ||
36 | +<script type="text/javascript"> | ||
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 | +<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | +<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | +<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | +<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | +' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | +<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | +<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | +</head> | ||
60 | +<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | + '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'"> | ||
62 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="iconfont nav-back"></a> | ||
63 | +' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navHome')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home"></a> | ||
64 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navTitle')), $in, false, function($cx, $in) {return ' <p class="nav-title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> | ||
65 | +';}).'</header> | ||
66 | +';}).''.''.'<div class="category-page yoho-page"> | ||
67 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('category')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input"> | ||
68 | + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'> | ||
69 | + <i class="search-icon iconfont"></i> | ||
70 | + <p>搜索商品</p> | ||
71 | + </a> | ||
72 | + </div> | ||
73 | + <div class="category-nav clearfix"> | ||
74 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('class')), $in, false, function($cx, $in) {return ' <li class='.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('focus')))) ? 'focus' : '').'> | ||
75 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
76 | + </li> | ||
77 | +';}).' </div> | ||
78 | + <div class="category-container clearfix"> | ||
79 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('class')), $in, false, function($cx, $in) {return ' <div class="content '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('focus')))) ? 'hide' : '').'"> | ||
80 | + <ul class="primary-level"> | ||
81 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ca')), $in, false, function($cx, $in) {return ' <li class="p-level-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' focus' : '').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</li> | ||
82 | +';}).' </ul> | ||
83 | + <div class="sub-level-container"> | ||
84 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ca')), $in, false, function($cx, $in) {return ' <ul class="sub-level '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'"> | ||
85 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sub')), $in, false, function($cx, $in) {return ' <li> | ||
86 | + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
87 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
88 | + </a> | ||
89 | + </li> | ||
90 | +';}).' </ul> | ||
91 | +';}).' </div> | ||
92 | + </div> | ||
93 | +';}).' </div> | ||
94 | +';}).'</div> | ||
95 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide"> | ||
96 | + <p class="op-row"> | ||
97 | + <span class="back-to-top"> | ||
98 | + Back to top | ||
99 | + <i class="iconfont"></i> | ||
100 | + </span> | ||
101 | + </p> | ||
102 | + <address class="copyright"> | ||
103 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
104 | + </address> | ||
105 | +</footer> | ||
106 | +';}).' | ||
107 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app"> | ||
108 | + <div class="float-layer-left"> | ||
109 | + <span class="yoho-icon iconfont"></span> | ||
110 | + <p>新用户送千元礼包</p> | ||
111 | + </div> | ||
112 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
113 | + <i class="close-icon iconfont"></i> | ||
114 | + <div class="circle-rightbottom"></div> | ||
115 | + </a> | ||
116 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
117 | + 立即下载 | ||
118 | + </a> | ||
119 | +</div> | ||
120 | +';}).' | ||
121 | + | ||
122 | + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
123 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
124 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
125 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
126 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
127 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
128 | +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script> | ||
129 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
130 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
131 | +' : '').'<script type="text/javascript"> | ||
132 | + (function(w,d,s,j,f){ | ||
133 | + w[\'YohoAcquisitionObject\']=f; | ||
134 | + w[f]=function(){w[f].p=arguments;}; | ||
135 | + var a=d.createElement(s); | ||
136 | + var m=d.getElementsByTagName(s)[0]; | ||
137 | + a.async=1; | ||
138 | + a.src=j; | ||
139 | + m.parentNode.insertBefore(a,m); | ||
140 | + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
141 | +</script> | ||
142 | +'.'<script> | ||
143 | + seajs.use(\'js/common\'); | ||
144 | +</script> | ||
145 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
146 | + seajs.use(\'js/guang/plus-star/list\'); | ||
147 | +</script> | ||
148 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
149 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
150 | +</script> | ||
151 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
152 | + seajs.use(\'js/guang/home\'); | ||
153 | +</script> | ||
154 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
155 | + seajs.use(\'js/guang/list\'); | ||
156 | +</script> | ||
157 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
158 | + seajs.use(\'js/guang/detail\', function(d) { | ||
159 | + d.i(true); | ||
160 | + }); | ||
161 | +</script> | ||
162 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
163 | + seajs.use(\'js/guang/detail\', function(d) { | ||
164 | + d.i(false); | ||
165 | + }); | ||
166 | +</script> | ||
167 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
168 | + seajs.use(\'js/passport/register/register\'); | ||
169 | +</script> | ||
170 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
171 | + seajs.use(\'js/passport/register/code\'); | ||
172 | +</script> | ||
173 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
174 | + seajs.use(\'js/passport/register/password\'); | ||
175 | +</script> | ||
176 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
177 | + seajs.use(\'js/passport/login/login\'); | ||
178 | +</script> | ||
179 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
180 | + seajs.use(\'js/passport/login/international\'); | ||
181 | +</script> | ||
182 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
183 | + seajs.use(\'js/passport/back/email\'); | ||
184 | +</script> | ||
185 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
186 | + seajs.use(\'js/passport/back/email-success\'); | ||
187 | +</script> | ||
188 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
189 | + seajs.use(\'js/passport/back/mobile\'); | ||
190 | +</script> | ||
191 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
192 | + seajs.use(\'js/passport/back/code\'); | ||
193 | +</script> | ||
194 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
195 | + seajs.use(\'js/passport/back/new-password\'); | ||
196 | +</script> | ||
197 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
198 | + seajs.use(\'js/index/channel\'); | ||
199 | + seajs.use(\'js/index/footer\'); | ||
200 | +</script> | ||
201 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
202 | + seajs.use(\'js/home/home\', function(h) { | ||
203 | + h.set(\'girls\'); | ||
204 | + }); | ||
205 | + seajs.use(\'js/index/footer\'); | ||
206 | +</script> | ||
207 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
208 | + seajs.use(\'js/home/home\', function(h) { | ||
209 | + h.set(\'boys\'); | ||
210 | + }); | ||
211 | + seajs.use(\'js/index/footer\'); | ||
212 | +</script> | ||
213 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
214 | + seajs.use(\'js/home/home\', function(h) { | ||
215 | + h.set(\'kids\'); | ||
216 | + }); | ||
217 | + seajs.use(\'js/index/footer\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
220 | + seajs.use(\'js/home/home\', function(h) { | ||
221 | + h.set(\'lifestyle\'); | ||
222 | + }); | ||
223 | + seajs.use(\'js/index/footer\'); | ||
224 | +</script> | ||
225 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
226 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
227 | + seajs.use(\'js/index/footer\'); | ||
228 | +</script> | ||
229 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
230 | + seajs.use(\'js/product/newsale/discount\'); | ||
231 | + seajs.use(\'js/index/footer\'); | ||
232 | +</script> | ||
233 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
234 | + seajs.use(\'js/product/list\'); | ||
235 | + seajs.use(\'js/index/footer\'); | ||
236 | +</script> | ||
237 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
238 | + seajs.use(\'js/product/detail/detail\'); | ||
239 | +</script> | ||
240 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
241 | + seajs.use(\'js/category/index\'); | ||
242 | + seajs.use(\'js/index/footer\'); | ||
243 | +</script> | ||
244 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
245 | + seajs.use(\'js/category/brand\'); | ||
246 | + seajs.use(\'js/index/footer\'); | ||
247 | +</script> | ||
248 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
249 | + seajs.use(\'js/index/search\'); | ||
250 | + seajs.use(\'js/index/footer\'); | ||
251 | +</script> | ||
252 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
253 | + seajs.use(\'js/shopping-cart/cart\'); | ||
254 | +</script> | ||
255 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
256 | + seajs.use(\'js/shopping-cart/gift-advance\'); | ||
257 | +</script> | ||
258 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
259 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
260 | +<script> | ||
261 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
262 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
263 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
264 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
265 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
266 | +</script> | ||
267 | +<!-- End Google Tag Manager --> | ||
268 | +<script type="text/javascript"> | ||
269 | + var _hmt = _hmt || []; | ||
270 | + (function() { | ||
271 | + var hm = document.createElement("script"); | ||
272 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
273 | + var s = document.getElementsByTagName("script")[0]; | ||
274 | + s.parentNode.insertBefore(hm, s); | ||
275 | + })(); | ||
276 | +</script> | ||
277 | +<script> | ||
278 | + var _hmt = _hmt || []; | ||
279 | + (function() { | ||
280 | + var hm = document.createElement("script"); | ||
281 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
282 | + var s = document.getElementsByTagName("script")[0]; | ||
283 | + s.parentNode.insertBefore(hm, s); | ||
284 | + })(); | ||
285 | +</script> | ||
286 | +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
287 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
288 | +'.'</body> | ||
289 | +</html>'.''; | ||
290 | +} | ||
291 | +?> |
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 ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
25 | + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
26 | + <div class="tag-container clearfix"> | ||
27 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('tags')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_new')), $in, false, function($cx, $in) {return ' <p class="good-tag new-tag">NEW</p> | ||
28 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_advance')), $in, false, function($cx, $in) {return ' <p class="good-tag renew-tag">再到着</p> | ||
29 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_discount')), $in, false, function($cx, $in) {return ' <p class="good-tag sale-tag">SALE</p> | ||
30 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag"></div> | ||
31 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_limited')), $in, false, function($cx, $in) {return ' <p class="good-tag limit-tag">限量商品</p> | ||
32 | +';}).'';}).' </div> | ||
33 | + <div class="good-detail-img"> | ||
34 | + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
35 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
36 | + </a> | ||
37 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p> | ||
38 | +';}).' </div> | ||
39 | + <div class="good-detail-text"> | ||
40 | + <div class="name"> | ||
41 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a> | ||
42 | + </div> | ||
43 | + <div class="price"> | ||
44 | + <span class="sale-price '.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? 'no-price' : '').'">¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> | ||
45 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> | ||
46 | +';}).' </div> | ||
47 | + </div> | ||
48 | + </div> | ||
49 | + ' : '').''.'';}).''; | ||
50 | +} | ||
51 | +?> |
-
Please register or login to post a comment