code review by hf: do add register analysis code
Showing
5 changed files
with
1249 additions
and
3 deletions
1 | +<?php return function ($in, $debugopt = 1) { | ||
2 | + $cx = array( | ||
3 | + 'flags' => array( | ||
4 | + 'jstrue' => false, | ||
5 | + 'jsobj' => false, | ||
6 | + 'spvar' => true, | ||
7 | + 'prop' => false, | ||
8 | + 'method' => false, | ||
9 | + 'mustlok' => true, | ||
10 | + 'echo' => false, | ||
11 | + 'debug' => $debugopt, | ||
12 | + ), | ||
13 | + 'constants' => array(), | ||
14 | + 'helpers' => array(), | ||
15 | + 'blockhelpers' => array(), | ||
16 | + 'hbhelpers' => array(), | ||
17 | + 'partials' => array(), | ||
18 | + 'scopes' => array(), | ||
19 | + 'sp_vars' => array('root' => $in), | ||
20 | + 'lcrun' => 'Plugin\LCRun3', | ||
21 | + | ||
22 | + ); | ||
23 | + | ||
24 | + return ''.'<!DOCTYPE html> | ||
25 | +<html> | ||
26 | +<head> | ||
27 | +<meta 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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> | ||
62 | + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> | ||
63 | + <span>X</span> | ||
64 | + </div> | ||
65 | +' : '').''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-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' : '').'"> | ||
66 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'" class="iconfont nav-back"></a> | ||
67 | +';}).''.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> | ||
68 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navPhone')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home"></a> | ||
69 | +';}).''.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> | ||
70 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <!-- <span class="nav-btn">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> --> | ||
71 | + <!-- <i class="iconfont nav-home"></i> --> | ||
72 | + <!-- <div class="homebuttom none"> | ||
73 | + <ul> | ||
74 | + <li> | ||
75 | + <i class="iconfont"></i> | ||
76 | + <span>首页</span> | ||
77 | + </li> | ||
78 | + <li> | ||
79 | + <i class="iconfont"></i> | ||
80 | + <span>分类</span> | ||
81 | + </li> | ||
82 | + <li> | ||
83 | + <i class="iconfont"></i> | ||
84 | + <span>购物车</span> | ||
85 | + </li> | ||
86 | + <li> | ||
87 | + <i class="iconfont"></i> | ||
88 | + <span>我的</span> | ||
89 | + </li> | ||
90 | + </ul> | ||
91 | + </div> --> | ||
92 | +';}).'</header> | ||
93 | + | ||
94 | +';}).''.''.'<div class="reg-password-page passport-page yoho-page"> | ||
95 | +'.' <div class="header"> | ||
96 | + <a class="go-back" href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'"></a> | ||
97 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showHeaderImg')), $in, false, function($cx, $in) {return ' <div class="img-header"></div> | ||
98 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerText')), $in, false, function($cx, $in) {return ' <p class="title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> | ||
99 | +';}).' </div>'.' <div class="content"> | ||
100 | + <div class="input-container row has-eye"> | ||
101 | + <input id="pwd" class="input pwd" type="text" placeholder="请输入密码" autocomplete="off" maxlength="20"> | ||
102 | + </div> | ||
103 | + <span id="btn-sure" class="btn btn-sure disable row">确定</span> | ||
104 | + </div> | ||
105 | + <input id="phone-num" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'"> | ||
106 | + <input id="area-code" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('areaCode')), ENT_QUOTES, 'UTF-8').'"> | ||
107 | + <input id="token" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('token')), ENT_QUOTES, 'UTF-8').'"> | ||
108 | +</div> | ||
109 | +<script type="text/javascript">_ozprm="phone='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'";</script> | ||
110 | +<script type=\'text/javascript\'> | ||
111 | +(function(a,b,c,d){ | ||
112 | +a[c]=function(){a[c][\'ar\']=a[c][\'ar\']||[];a[c][\'ar\'].push(arguments);}; | ||
113 | +var s=b.createElement(\'script\');s.async = 1;s.src=\'//t.agrantsem.com/js/agt.js\'; | ||
114 | +var r=b.getElementsByTagName(\'script\')[0];r.parentNode.insertBefore(s,r); | ||
115 | +})(window,document,\'_agtjs\',\'script\'); | ||
116 | +_agtjs(\'init\',\'AG_052186_PHCW\',\'yohobuy.com\'); | ||
117 | +_agtjs(\'loadEvent\',{atsev:101,\'atsrmv\':"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'"}); | ||
118 | +</script> | ||
119 | +'.''.''.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"> | ||
120 | + <p class="op-row"> | ||
121 | + <span class="back-to-top"> | ||
122 | + Back to top | ||
123 | + <i class="iconfont"></i> | ||
124 | + </span> | ||
125 | + </p> | ||
126 | + <address class="copyright"> | ||
127 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
128 | + </address> | ||
129 | +</footer> | ||
130 | +';}).' | ||
131 | +'.''.''.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"> | ||
132 | + <div class="float-layer-left"> | ||
133 | + <span class="yoho-icon iconfont"></span> | ||
134 | + <p>新用户送千元礼包</p> | ||
135 | + </div> | ||
136 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
137 | + <i class="close-icon iconfont"></i> | ||
138 | + <div class="circle-rightbottom"></div> | ||
139 | + </a> | ||
140 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
141 | + 立即下载 | ||
142 | + </a> | ||
143 | +</div> | ||
144 | +';}).' | ||
145 | + | ||
146 | + '.''.((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> | ||
147 | +' : '').''.((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> | ||
148 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
149 | +' : '').''.((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> | ||
150 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
151 | +' : '').''.((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> | ||
152 | +<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> | ||
153 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
154 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
155 | +' : '').''.'<script> | ||
156 | + seajs.use(\'js/common\'); | ||
157 | +</script> | ||
158 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
159 | + seajs.use(\'js/guang/plus-star/list\'); | ||
160 | +</script> | ||
161 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
162 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
163 | +</script> | ||
164 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
165 | + seajs.use(\'js/guang/home\'); | ||
166 | +</script> | ||
167 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
168 | + seajs.use(\'js/guang/list\'); | ||
169 | +</script> | ||
170 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
171 | + seajs.use(\'js/guang/detail\', function(d) { | ||
172 | + d.i(true); | ||
173 | + }); | ||
174 | +</script> | ||
175 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
176 | + seajs.use(\'js/guang/detail\', function(d) { | ||
177 | + d.i(false); | ||
178 | + }); | ||
179 | +</script> | ||
180 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
181 | + seajs.use(\'js/passport/register/register\'); | ||
182 | +</script> | ||
183 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
184 | + seajs.use(\'js/passport/register/code\'); | ||
185 | +</script> | ||
186 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
187 | + seajs.use(\'js/passport/register/password\'); | ||
188 | +</script> | ||
189 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
190 | + seajs.use(\'js/passport/bind/bind\'); | ||
191 | +</script> | ||
192 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
193 | + seajs.use(\'js/passport/bind/code\'); | ||
194 | +</script> | ||
195 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
196 | + seajs.use(\'js/passport/bind/password\'); | ||
197 | +</script> | ||
198 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
199 | + seajs.use(\'js/passport/login/login\'); | ||
200 | +</script> | ||
201 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
202 | + seajs.use(\'js/passport/login/international\'); | ||
203 | +</script> | ||
204 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
205 | + seajs.use(\'js/passport/back/email\'); | ||
206 | +</script> | ||
207 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
208 | + seajs.use(\'js/passport/back/email-success\'); | ||
209 | +</script> | ||
210 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
211 | + seajs.use(\'js/passport/back/mobile\'); | ||
212 | +</script> | ||
213 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
214 | + seajs.use(\'js/passport/back/code\'); | ||
215 | +</script> | ||
216 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
217 | + seajs.use(\'js/passport/back/new-password\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
220 | + seajs.use(\'js/index/channel\'); | ||
221 | + seajs.use(\'js/index/footer\'); | ||
222 | +</script> | ||
223 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
224 | + seajs.use(\'js/home/home\', function(h) { | ||
225 | + h.set(\'girls\'); | ||
226 | + }); | ||
227 | + seajs.use(\'js/index/footer\'); | ||
228 | +</script> | ||
229 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
230 | + seajs.use(\'js/home/home\', function(h) { | ||
231 | + h.set(\'boys\'); | ||
232 | + }); | ||
233 | + seajs.use(\'js/index/footer\'); | ||
234 | +</script> | ||
235 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
236 | + seajs.use(\'js/home/home\', function(h) { | ||
237 | + h.set(\'kids\'); | ||
238 | + }); | ||
239 | + seajs.use(\'js/index/footer\'); | ||
240 | +</script> | ||
241 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
242 | + seajs.use(\'js/home/home\', function(h) { | ||
243 | + h.set(\'lifestyle\'); | ||
244 | + }); | ||
245 | + seajs.use(\'js/index/footer\'); | ||
246 | +</script> | ||
247 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
248 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
249 | + seajs.use(\'js/index/footer\'); | ||
250 | +</script> | ||
251 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
252 | + seajs.use(\'js/product/newsale/discount\'); | ||
253 | + seajs.use(\'js/index/footer\'); | ||
254 | +</script> | ||
255 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
256 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
257 | + seajs.use(\'js/index/footer\'); | ||
258 | +</script> | ||
259 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
260 | + seajs.use(\'js/product/list\'); | ||
261 | + seajs.use(\'js/index/footer\'); | ||
262 | +</script> | ||
263 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
264 | + seajs.use(\'js/product/detail/detail\'); | ||
265 | +</script> | ||
266 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
267 | + seajs.use(\'js/product/detail/loadmore\'); | ||
268 | +</script> | ||
269 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
270 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
271 | +</script> | ||
272 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
273 | + seajs.use(\'js/product/detail/consultform\'); | ||
274 | +</script> | ||
275 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
276 | + seajs.use(\'js/category/index\'); | ||
277 | + seajs.use(\'js/index/footer\'); | ||
278 | +</script> | ||
279 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
280 | + seajs.use(\'js/category/brand\'); | ||
281 | + seajs.use(\'js/index/footer\'); | ||
282 | +</script> | ||
283 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
284 | + seajs.use(\'js/index/search\'); | ||
285 | + seajs.use(\'js/index/footer\'); | ||
286 | +</script> | ||
287 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
288 | + seajs.use(\'js/cart/cart\'); | ||
289 | +</script> | ||
290 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
291 | + seajs.use(\'js/cart/gift-advance\'); | ||
292 | +</script> | ||
293 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
294 | + seajs.use(\'js/cart/gift-advance\'); | ||
295 | +</script> | ||
296 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
297 | + seajs.use(\'js/cart/order-ensure\'); | ||
298 | +</script> | ||
299 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
300 | + seajs.use(\'js/me/address\'); | ||
301 | + seajs.use(\'js/cart/select-address\'); | ||
302 | +</script> | ||
303 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
304 | + seajs.use(\'js/cart/select-coupon\'); | ||
305 | +</script> | ||
306 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
307 | + seajs.use(\'js/me/index\'); | ||
308 | + seajs.use(\'js/index/footer\'); | ||
309 | +</script> | ||
310 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
311 | + seajs.use(\'js/me/order\'); | ||
312 | +</script> | ||
313 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
314 | + seajs.use(\'js/me/order-detail\'); | ||
315 | +</script> | ||
316 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
317 | + seajs.use(\'js/me/fav\'); | ||
318 | +</script> | ||
319 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
320 | + seajs.use(\'js/me/suggest\'); | ||
321 | +</script> | ||
322 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
323 | + seajs.use(\'js/me/coupons\'); | ||
324 | +</script> | ||
325 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
326 | + seajs.use(\'js/me/online-service\'); | ||
327 | +</script> | ||
328 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
329 | + seajs.use(\'js/index/footer\'); | ||
330 | +</script> | ||
331 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
332 | + seajs.use(\'js/me/address\'); | ||
333 | +</script> | ||
334 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
335 | + seajs.use(\'js/me/address-act\'); | ||
336 | +</script> | ||
337 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
338 | + seajs.use(\'js/me/my-guang\'); | ||
339 | +</script> | ||
340 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
341 | + seajs.use(\'js/me/personal-details\'); | ||
342 | +</script> | ||
343 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
344 | + seajs.use(\'js/me/browse-record\'); | ||
345 | +</script> | ||
346 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
347 | + seajs.use(\'js/me/logistic\'); | ||
348 | +</script> | ||
349 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
350 | + seajs.use(\'js/me/pay\'); | ||
351 | +</script> | ||
352 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
353 | + seajs.use(\'js/me/currency\'); | ||
354 | +</script> | ||
355 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
356 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
357 | +<script> | ||
358 | +var _hmt = _hmt || []; | ||
359 | +(function() { | ||
360 | + function async_load(){ | ||
361 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
362 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
363 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
364 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
365 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
366 | + (function() { | ||
367 | + var hm = document.createElement("script"); | ||
368 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
369 | + hm.async = 1; | ||
370 | + var s = document.getElementsByTagName("script")[0]; | ||
371 | + s.parentNode.insertBefore(hm, s); | ||
372 | + })(); | ||
373 | + (function() { | ||
374 | + var hm = document.createElement("script"); | ||
375 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
376 | + hm.async = 1; | ||
377 | + var s = document.getElementsByTagName("script")[0]; | ||
378 | + s.parentNode.insertBefore(hm, s); | ||
379 | + })(); | ||
380 | + (function() { | ||
381 | + var hm = document.createElement("script"); | ||
382 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
383 | + hm.async = 1; | ||
384 | + var s = document.getElementsByTagName("script")[0]; | ||
385 | + s.parentNode.insertBefore(hm, s); | ||
386 | + })(); | ||
387 | + } | ||
388 | + window.addEventListener(\'load\', async_load, false); | ||
389 | +})(); | ||
390 | +</script> | ||
391 | +<script> | ||
392 | + window._py = window._py||[]; | ||
393 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
394 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
395 | + window._py.push([\'e\',\'\']); | ||
396 | + if(typeof _goodsData!=\'undefined\'){ | ||
397 | + window._py.push([\'pi\',_goodsData]); | ||
398 | + } | ||
399 | + -function(d){ | ||
400 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
401 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
402 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
403 | + }(document); | ||
404 | +</script> | ||
405 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
406 | +</html>'.''; | ||
407 | +} | ||
408 | +?> |
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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> | ||
62 | + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> | ||
63 | + <span>X</span> | ||
64 | + </div> | ||
65 | +' : '').''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-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' : '').'"> | ||
66 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'" class="iconfont nav-back"></a> | ||
67 | +';}).''.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> | ||
68 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navPhone')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home"></a> | ||
69 | +';}).''.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> | ||
70 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <!-- <span class="nav-btn">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> --> | ||
71 | + <!-- <i class="iconfont nav-home"></i> --> | ||
72 | + <!-- <div class="homebuttom none"> | ||
73 | + <ul> | ||
74 | + <li> | ||
75 | + <i class="iconfont"></i> | ||
76 | + <span>首页</span> | ||
77 | + </li> | ||
78 | + <li> | ||
79 | + <i class="iconfont"></i> | ||
80 | + <span>分类</span> | ||
81 | + </li> | ||
82 | + <li> | ||
83 | + <i class="iconfont"></i> | ||
84 | + <span>购物车</span> | ||
85 | + </li> | ||
86 | + <li> | ||
87 | + <i class="iconfont"></i> | ||
88 | + <span>我的</span> | ||
89 | + </li> | ||
90 | + </ul> | ||
91 | + </div> --> | ||
92 | +';}).'</header> | ||
93 | + | ||
94 | +';}).''.''.'<div class="reg-code-page passport-page yoho-page"> | ||
95 | +'.''.' <div class="header"> | ||
96 | + <a class="go-back" href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'"></a> | ||
97 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showHeaderImg')), $in, false, function($cx, $in) {return ' <div class="img-header"></div> | ||
98 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerText')), $in, false, function($cx, $in) {return ' <p class="title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> | ||
99 | +';}).' </div>'.' <div class="content"> | ||
100 | + <div class="text-container"> | ||
101 | + 验证码已发送至 | ||
102 | + <span class="phone"> | ||
103 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('areaCode')), ENT_QUOTES, 'UTF-8').' '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').' | ||
104 | + </span> | ||
105 | + </div> | ||
106 | + <div class="input-container row has-clear"> | ||
107 | + <input id="captcha" class="input captcha" type="text" placeholder="验证码" maxlength="6" autocomplete="off"> | ||
108 | + <div id="captcha-tip" class="captcha-tip disable">重发验证码 (60秒)</div> | ||
109 | + </div> | ||
110 | + <span id="btn-next" class="btn btn-next disable row">下一步</span> | ||
111 | + <input id="phone-num" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'> | ||
112 | + <input id="area-code" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('areaCode')), ENT_QUOTES, 'UTF-8').'> | ||
113 | + <input id="token" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('token')), ENT_QUOTES, 'UTF-8').'> | ||
114 | + </div>'.'</div> | ||
115 | +'.''.''.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"> | ||
116 | + <p class="op-row"> | ||
117 | + <span class="back-to-top"> | ||
118 | + Back to top | ||
119 | + <i class="iconfont"></i> | ||
120 | + </span> | ||
121 | + </p> | ||
122 | + <address class="copyright"> | ||
123 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
124 | + </address> | ||
125 | +</footer> | ||
126 | +';}).' | ||
127 | +'.''.''.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"> | ||
128 | + <div class="float-layer-left"> | ||
129 | + <span class="yoho-icon iconfont"></span> | ||
130 | + <p>新用户送千元礼包</p> | ||
131 | + </div> | ||
132 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
133 | + <i class="close-icon iconfont"></i> | ||
134 | + <div class="circle-rightbottom"></div> | ||
135 | + </a> | ||
136 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
137 | + 立即下载 | ||
138 | + </a> | ||
139 | +</div> | ||
140 | +';}).' | ||
141 | + | ||
142 | + '.''.((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> | ||
143 | +' : '').''.((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> | ||
144 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
145 | +' : '').''.((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> | ||
146 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
147 | +' : '').''.((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> | ||
148 | +<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> | ||
149 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
150 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
151 | +' : '').''.'<script> | ||
152 | + seajs.use(\'js/common\'); | ||
153 | +</script> | ||
154 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
155 | + seajs.use(\'js/guang/plus-star/list\'); | ||
156 | +</script> | ||
157 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
158 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
159 | +</script> | ||
160 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
161 | + seajs.use(\'js/guang/home\'); | ||
162 | +</script> | ||
163 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
164 | + seajs.use(\'js/guang/list\'); | ||
165 | +</script> | ||
166 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
167 | + seajs.use(\'js/guang/detail\', function(d) { | ||
168 | + d.i(true); | ||
169 | + }); | ||
170 | +</script> | ||
171 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
172 | + seajs.use(\'js/guang/detail\', function(d) { | ||
173 | + d.i(false); | ||
174 | + }); | ||
175 | +</script> | ||
176 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
177 | + seajs.use(\'js/passport/register/register\'); | ||
178 | +</script> | ||
179 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
180 | + seajs.use(\'js/passport/register/code\'); | ||
181 | +</script> | ||
182 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
183 | + seajs.use(\'js/passport/register/password\'); | ||
184 | +</script> | ||
185 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
186 | + seajs.use(\'js/passport/bind/bind\'); | ||
187 | +</script> | ||
188 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
189 | + seajs.use(\'js/passport/bind/code\'); | ||
190 | +</script> | ||
191 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
192 | + seajs.use(\'js/passport/bind/password\'); | ||
193 | +</script> | ||
194 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
195 | + seajs.use(\'js/passport/login/login\'); | ||
196 | +</script> | ||
197 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
198 | + seajs.use(\'js/passport/login/international\'); | ||
199 | +</script> | ||
200 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
201 | + seajs.use(\'js/passport/back/email\'); | ||
202 | +</script> | ||
203 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
204 | + seajs.use(\'js/passport/back/email-success\'); | ||
205 | +</script> | ||
206 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
207 | + seajs.use(\'js/passport/back/mobile\'); | ||
208 | +</script> | ||
209 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
210 | + seajs.use(\'js/passport/back/code\'); | ||
211 | +</script> | ||
212 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
213 | + seajs.use(\'js/passport/back/new-password\'); | ||
214 | +</script> | ||
215 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
216 | + seajs.use(\'js/index/channel\'); | ||
217 | + seajs.use(\'js/index/footer\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
220 | + seajs.use(\'js/home/home\', function(h) { | ||
221 | + h.set(\'girls\'); | ||
222 | + }); | ||
223 | + seajs.use(\'js/index/footer\'); | ||
224 | +</script> | ||
225 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
226 | + seajs.use(\'js/home/home\', function(h) { | ||
227 | + h.set(\'boys\'); | ||
228 | + }); | ||
229 | + seajs.use(\'js/index/footer\'); | ||
230 | +</script> | ||
231 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
232 | + seajs.use(\'js/home/home\', function(h) { | ||
233 | + h.set(\'kids\'); | ||
234 | + }); | ||
235 | + seajs.use(\'js/index/footer\'); | ||
236 | +</script> | ||
237 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
238 | + seajs.use(\'js/home/home\', function(h) { | ||
239 | + h.set(\'lifestyle\'); | ||
240 | + }); | ||
241 | + seajs.use(\'js/index/footer\'); | ||
242 | +</script> | ||
243 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
244 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
245 | + seajs.use(\'js/index/footer\'); | ||
246 | +</script> | ||
247 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
248 | + seajs.use(\'js/product/newsale/discount\'); | ||
249 | + seajs.use(\'js/index/footer\'); | ||
250 | +</script> | ||
251 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
252 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
253 | + seajs.use(\'js/index/footer\'); | ||
254 | +</script> | ||
255 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
256 | + seajs.use(\'js/product/list\'); | ||
257 | + seajs.use(\'js/index/footer\'); | ||
258 | +</script> | ||
259 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
260 | + seajs.use(\'js/product/detail/detail\'); | ||
261 | +</script> | ||
262 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
263 | + seajs.use(\'js/product/detail/loadmore\'); | ||
264 | +</script> | ||
265 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
266 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
267 | +</script> | ||
268 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
269 | + seajs.use(\'js/product/detail/consultform\'); | ||
270 | +</script> | ||
271 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
272 | + seajs.use(\'js/category/index\'); | ||
273 | + seajs.use(\'js/index/footer\'); | ||
274 | +</script> | ||
275 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
276 | + seajs.use(\'js/category/brand\'); | ||
277 | + seajs.use(\'js/index/footer\'); | ||
278 | +</script> | ||
279 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
280 | + seajs.use(\'js/index/search\'); | ||
281 | + seajs.use(\'js/index/footer\'); | ||
282 | +</script> | ||
283 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
284 | + seajs.use(\'js/cart/cart\'); | ||
285 | +</script> | ||
286 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
287 | + seajs.use(\'js/cart/gift-advance\'); | ||
288 | +</script> | ||
289 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
290 | + seajs.use(\'js/cart/gift-advance\'); | ||
291 | +</script> | ||
292 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
293 | + seajs.use(\'js/cart/order-ensure\'); | ||
294 | +</script> | ||
295 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
296 | + seajs.use(\'js/me/address\'); | ||
297 | + seajs.use(\'js/cart/select-address\'); | ||
298 | +</script> | ||
299 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
300 | + seajs.use(\'js/cart/select-coupon\'); | ||
301 | +</script> | ||
302 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
303 | + seajs.use(\'js/me/index\'); | ||
304 | + seajs.use(\'js/index/footer\'); | ||
305 | +</script> | ||
306 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
307 | + seajs.use(\'js/me/order\'); | ||
308 | +</script> | ||
309 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
310 | + seajs.use(\'js/me/order-detail\'); | ||
311 | +</script> | ||
312 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
313 | + seajs.use(\'js/me/fav\'); | ||
314 | +</script> | ||
315 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
316 | + seajs.use(\'js/me/suggest\'); | ||
317 | +</script> | ||
318 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
319 | + seajs.use(\'js/me/coupons\'); | ||
320 | +</script> | ||
321 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
322 | + seajs.use(\'js/me/online-service\'); | ||
323 | +</script> | ||
324 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
325 | + seajs.use(\'js/index/footer\'); | ||
326 | +</script> | ||
327 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
328 | + seajs.use(\'js/me/address\'); | ||
329 | +</script> | ||
330 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
331 | + seajs.use(\'js/me/address-act\'); | ||
332 | +</script> | ||
333 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
334 | + seajs.use(\'js/me/my-guang\'); | ||
335 | +</script> | ||
336 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
337 | + seajs.use(\'js/me/personal-details\'); | ||
338 | +</script> | ||
339 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
340 | + seajs.use(\'js/me/browse-record\'); | ||
341 | +</script> | ||
342 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
343 | + seajs.use(\'js/me/logistic\'); | ||
344 | +</script> | ||
345 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
346 | + seajs.use(\'js/me/pay\'); | ||
347 | +</script> | ||
348 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
349 | + seajs.use(\'js/me/currency\'); | ||
350 | +</script> | ||
351 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
352 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
353 | +<script> | ||
354 | +var _hmt = _hmt || []; | ||
355 | +(function() { | ||
356 | + function async_load(){ | ||
357 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
358 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
359 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
360 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
361 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
362 | + (function() { | ||
363 | + var hm = document.createElement("script"); | ||
364 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
365 | + hm.async = 1; | ||
366 | + var s = document.getElementsByTagName("script")[0]; | ||
367 | + s.parentNode.insertBefore(hm, s); | ||
368 | + })(); | ||
369 | + (function() { | ||
370 | + var hm = document.createElement("script"); | ||
371 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
372 | + hm.async = 1; | ||
373 | + var s = document.getElementsByTagName("script")[0]; | ||
374 | + s.parentNode.insertBefore(hm, s); | ||
375 | + })(); | ||
376 | + (function() { | ||
377 | + var hm = document.createElement("script"); | ||
378 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
379 | + hm.async = 1; | ||
380 | + var s = document.getElementsByTagName("script")[0]; | ||
381 | + s.parentNode.insertBefore(hm, s); | ||
382 | + })(); | ||
383 | + } | ||
384 | + window.addEventListener(\'load\', async_load, false); | ||
385 | +})(); | ||
386 | +</script> | ||
387 | +<script> | ||
388 | + window._py = window._py||[]; | ||
389 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
390 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
391 | + window._py.push([\'e\',\'\']); | ||
392 | + if(typeof _goodsData!=\'undefined\'){ | ||
393 | + window._py.push([\'pi\',_goodsData]); | ||
394 | + } | ||
395 | + -function(d){ | ||
396 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
397 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
398 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
399 | + }(document); | ||
400 | +</script> | ||
401 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
402 | +</html>'.''; | ||
403 | +} | ||
404 | +?> |
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::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('systemUpdate')))) ? ' <div class="systemUpdate"> | ||
62 | + <a href="index/systemUpdate" class="systemHeader">Yoho!Buy有货关于系统升级的公告</a> | ||
63 | + <span>X</span> | ||
64 | + </div> | ||
65 | +' : '').''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return '<header id="yoho-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' : '').'"> | ||
66 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBack')), $in, false, function($cx, $in) {return ' <a href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'" class="iconfont nav-back"></a> | ||
67 | +';}).''.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> | ||
68 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navPhone')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont nav-home"></a> | ||
69 | +';}).''.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> | ||
70 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navBtn')), $in, false, function($cx, $in) {return ' <!-- <span class="nav-btn">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span> --> | ||
71 | + <!-- <i class="iconfont nav-home"></i> --> | ||
72 | + <!-- <div class="homebuttom none"> | ||
73 | + <ul> | ||
74 | + <li> | ||
75 | + <i class="iconfont"></i> | ||
76 | + <span>首页</span> | ||
77 | + </li> | ||
78 | + <li> | ||
79 | + <i class="iconfont"></i> | ||
80 | + <span>分类</span> | ||
81 | + </li> | ||
82 | + <li> | ||
83 | + <i class="iconfont"></i> | ||
84 | + <span>购物车</span> | ||
85 | + </li> | ||
86 | + <li> | ||
87 | + <i class="iconfont"></i> | ||
88 | + <span>我的</span> | ||
89 | + </li> | ||
90 | + </ul> | ||
91 | + </div> --> | ||
92 | +';}).'</header> | ||
93 | + | ||
94 | +';}).''.''.'<div class="reg-page passport-page yoho-page"> | ||
95 | +'.' <div class="header"> | ||
96 | + <a class="go-back" href="'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backUrl')))) ? ''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('backUrl')), ENT_QUOTES, 'UTF-8').'' : 'javascript:history.go(-1);').'"></a> | ||
97 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showHeaderImg')), $in, false, function($cx, $in) {return ' <div class="img-header"></div> | ||
98 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerText')), $in, false, function($cx, $in) {return ' <p class="title">'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</p> | ||
99 | +';}).' </div>'.' <div class="content"> | ||
100 | +'.' <div class="select-container row"> | ||
101 | + <span class="select-title">国家和地区</span> | ||
102 | + <select id="country-select" class="country-select select in-android-uc"> | ||
103 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('countrys')), $in, false, function($cx, $in) {return ' <option value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('areaCode')), ENT_QUOTES, 'UTF-8').' '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selected')))) ? 'selected' : '').'>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</option> | ||
104 | +';}).' </select> | ||
105 | + <div class="arrow-right"></div> | ||
106 | + </div>'.' <div class="input-container phone-container row has-clear"> | ||
107 | + <span id="area-code" class="area-code">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('areaCode')), ENT_QUOTES, 'UTF-8').'</span> | ||
108 | + <input id="phone-num" class="input phone-num" type="text" placeholder="手机号"> | ||
109 | + </div> | ||
110 | + <span id="btn-next" class="btn btn-next disable row">下一步</span> | ||
111 | + <p class="register-tip">YOHO!Family账号可登录Yoho!Buy有货、YOHO!Boys、YOHO!Girls及SHOW</p> | ||
112 | + </div> | ||
113 | +</div> | ||
114 | +'.''.''.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"> | ||
115 | + <p class="op-row"> | ||
116 | + <span class="back-to-top"> | ||
117 | + Back to top | ||
118 | + <i class="iconfont"></i> | ||
119 | + </span> | ||
120 | + </p> | ||
121 | + <address class="copyright"> | ||
122 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
123 | + </address> | ||
124 | +</footer> | ||
125 | +';}).' | ||
126 | +'.''.''.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"> | ||
127 | + <div class="float-layer-left"> | ||
128 | + <span class="yoho-icon iconfont"></span> | ||
129 | + <p>新用户送千元礼包</p> | ||
130 | + </div> | ||
131 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
132 | + <i class="close-icon iconfont"></i> | ||
133 | + <div class="circle-rightbottom"></div> | ||
134 | + </a> | ||
135 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
136 | + 立即下载 | ||
137 | + </a> | ||
138 | +</div> | ||
139 | +';}).' | ||
140 | + | ||
141 | + '.''.((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> | ||
142 | +' : '').''.((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> | ||
143 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
144 | +' : '').''.((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> | ||
145 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
146 | +' : '').''.((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> | ||
147 | +<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> | ||
148 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
149 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
150 | +' : '').''.'<script> | ||
151 | + seajs.use(\'js/common\'); | ||
152 | +</script> | ||
153 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
154 | + seajs.use(\'js/guang/plus-star/list\'); | ||
155 | +</script> | ||
156 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
157 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
158 | +</script> | ||
159 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
160 | + seajs.use(\'js/guang/home\'); | ||
161 | +</script> | ||
162 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
163 | + seajs.use(\'js/guang/list\'); | ||
164 | +</script> | ||
165 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
166 | + seajs.use(\'js/guang/detail\', function(d) { | ||
167 | + d.i(true); | ||
168 | + }); | ||
169 | +</script> | ||
170 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
171 | + seajs.use(\'js/guang/detail\', function(d) { | ||
172 | + d.i(false); | ||
173 | + }); | ||
174 | +</script> | ||
175 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
176 | + seajs.use(\'js/passport/register/register\'); | ||
177 | +</script> | ||
178 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
179 | + seajs.use(\'js/passport/register/code\'); | ||
180 | +</script> | ||
181 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
182 | + seajs.use(\'js/passport/register/password\'); | ||
183 | +</script> | ||
184 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
185 | + seajs.use(\'js/passport/bind/bind\'); | ||
186 | +</script> | ||
187 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
188 | + seajs.use(\'js/passport/bind/code\'); | ||
189 | +</script> | ||
190 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
191 | + seajs.use(\'js/passport/bind/password\'); | ||
192 | +</script> | ||
193 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
194 | + seajs.use(\'js/passport/login/login\'); | ||
195 | +</script> | ||
196 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
197 | + seajs.use(\'js/passport/login/international\'); | ||
198 | +</script> | ||
199 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
200 | + seajs.use(\'js/passport/back/email\'); | ||
201 | +</script> | ||
202 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
203 | + seajs.use(\'js/passport/back/email-success\'); | ||
204 | +</script> | ||
205 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
206 | + seajs.use(\'js/passport/back/mobile\'); | ||
207 | +</script> | ||
208 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
209 | + seajs.use(\'js/passport/back/code\'); | ||
210 | +</script> | ||
211 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
212 | + seajs.use(\'js/passport/back/new-password\'); | ||
213 | +</script> | ||
214 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
215 | + seajs.use(\'js/index/channel\'); | ||
216 | + seajs.use(\'js/index/footer\'); | ||
217 | +</script> | ||
218 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
219 | + seajs.use(\'js/home/home\', function(h) { | ||
220 | + h.set(\'girls\'); | ||
221 | + }); | ||
222 | + seajs.use(\'js/index/footer\'); | ||
223 | +</script> | ||
224 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
225 | + seajs.use(\'js/home/home\', function(h) { | ||
226 | + h.set(\'boys\'); | ||
227 | + }); | ||
228 | + seajs.use(\'js/index/footer\'); | ||
229 | +</script> | ||
230 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
231 | + seajs.use(\'js/home/home\', function(h) { | ||
232 | + h.set(\'kids\'); | ||
233 | + }); | ||
234 | + seajs.use(\'js/index/footer\'); | ||
235 | +</script> | ||
236 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
237 | + seajs.use(\'js/home/home\', function(h) { | ||
238 | + h.set(\'lifestyle\'); | ||
239 | + }); | ||
240 | + seajs.use(\'js/index/footer\'); | ||
241 | +</script> | ||
242 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
243 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
244 | + seajs.use(\'js/index/footer\'); | ||
245 | +</script> | ||
246 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
247 | + seajs.use(\'js/product/newsale/discount\'); | ||
248 | + seajs.use(\'js/index/footer\'); | ||
249 | +</script> | ||
250 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
251 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
252 | + seajs.use(\'js/index/footer\'); | ||
253 | +</script> | ||
254 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
255 | + seajs.use(\'js/product/list\'); | ||
256 | + seajs.use(\'js/index/footer\'); | ||
257 | +</script> | ||
258 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
259 | + seajs.use(\'js/product/detail/detail\'); | ||
260 | +</script> | ||
261 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
262 | + seajs.use(\'js/product/detail/loadmore\'); | ||
263 | +</script> | ||
264 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
265 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
266 | +</script> | ||
267 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
268 | + seajs.use(\'js/product/detail/consultform\'); | ||
269 | +</script> | ||
270 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
271 | + seajs.use(\'js/category/index\'); | ||
272 | + seajs.use(\'js/index/footer\'); | ||
273 | +</script> | ||
274 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
275 | + seajs.use(\'js/category/brand\'); | ||
276 | + seajs.use(\'js/index/footer\'); | ||
277 | +</script> | ||
278 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
279 | + seajs.use(\'js/index/search\'); | ||
280 | + seajs.use(\'js/index/footer\'); | ||
281 | +</script> | ||
282 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
283 | + seajs.use(\'js/cart/cart\'); | ||
284 | +</script> | ||
285 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
286 | + seajs.use(\'js/cart/gift-advance\'); | ||
287 | +</script> | ||
288 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
289 | + seajs.use(\'js/cart/gift-advance\'); | ||
290 | +</script> | ||
291 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
292 | + seajs.use(\'js/cart/order-ensure\'); | ||
293 | +</script> | ||
294 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
295 | + seajs.use(\'js/me/address\'); | ||
296 | + seajs.use(\'js/cart/select-address\'); | ||
297 | +</script> | ||
298 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
299 | + seajs.use(\'js/cart/select-coupon\'); | ||
300 | +</script> | ||
301 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
302 | + seajs.use(\'js/me/index\'); | ||
303 | + seajs.use(\'js/index/footer\'); | ||
304 | +</script> | ||
305 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
306 | + seajs.use(\'js/me/order\'); | ||
307 | +</script> | ||
308 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
309 | + seajs.use(\'js/me/order-detail\'); | ||
310 | +</script> | ||
311 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
312 | + seajs.use(\'js/me/fav\'); | ||
313 | +</script> | ||
314 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
315 | + seajs.use(\'js/me/suggest\'); | ||
316 | +</script> | ||
317 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
318 | + seajs.use(\'js/me/coupons\'); | ||
319 | +</script> | ||
320 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
321 | + seajs.use(\'js/me/online-service\'); | ||
322 | +</script> | ||
323 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
324 | + seajs.use(\'js/index/footer\'); | ||
325 | +</script> | ||
326 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
327 | + seajs.use(\'js/me/address\'); | ||
328 | +</script> | ||
329 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
330 | + seajs.use(\'js/me/address-act\'); | ||
331 | +</script> | ||
332 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
333 | + seajs.use(\'js/me/my-guang\'); | ||
334 | +</script> | ||
335 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
336 | + seajs.use(\'js/me/personal-details\'); | ||
337 | +</script> | ||
338 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
339 | + seajs.use(\'js/me/browse-record\'); | ||
340 | +</script> | ||
341 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
342 | + seajs.use(\'js/me/logistic\'); | ||
343 | +</script> | ||
344 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
345 | + seajs.use(\'js/me/pay\'); | ||
346 | +</script> | ||
347 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
348 | + seajs.use(\'js/me/currency\'); | ||
349 | +</script> | ||
350 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
351 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
352 | +<script> | ||
353 | +var _hmt = _hmt || []; | ||
354 | +(function() { | ||
355 | + function async_load(){ | ||
356 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
357 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
358 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
359 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
360 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
361 | + (function() { | ||
362 | + var hm = document.createElement("script"); | ||
363 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
364 | + hm.async = 1; | ||
365 | + var s = document.getElementsByTagName("script")[0]; | ||
366 | + s.parentNode.insertBefore(hm, s); | ||
367 | + })(); | ||
368 | + (function() { | ||
369 | + var hm = document.createElement("script"); | ||
370 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
371 | + hm.async = 1; | ||
372 | + var s = document.getElementsByTagName("script")[0]; | ||
373 | + s.parentNode.insertBefore(hm, s); | ||
374 | + })(); | ||
375 | + (function() { | ||
376 | + var hm = document.createElement("script"); | ||
377 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
378 | + hm.async = 1; | ||
379 | + var s = document.getElementsByTagName("script")[0]; | ||
380 | + s.parentNode.insertBefore(hm, s); | ||
381 | + })(); | ||
382 | + } | ||
383 | + window.addEventListener(\'load\', async_load, false); | ||
384 | +})(); | ||
385 | +</script> | ||
386 | +<script> | ||
387 | + window._py = window._py||[]; | ||
388 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
389 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
390 | + window._py.push([\'e\',\'\']); | ||
391 | + if(typeof _goodsData!=\'undefined\'){ | ||
392 | + window._py.push([\'pi\',_goodsData]); | ||
393 | + } | ||
394 | + -function(d){ | ||
395 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
396 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
397 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
398 | + }(document); | ||
399 | +</script> | ||
400 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
401 | +</html>'.''; | ||
402 | +} | ||
403 | +?> |
@@ -7,8 +7,17 @@ | @@ -7,8 +7,17 @@ | ||
7 | </div> | 7 | </div> |
8 | <span id="btn-sure" class="btn btn-sure disable row">确定</span> | 8 | <span id="btn-sure" class="btn btn-sure disable row">确定</span> |
9 | </div> | 9 | </div> |
10 | - <input id="phone-num" type="hidden" value={{phoneNum}}> | ||
11 | - <input id="area-code" type="hidden" value={{areaCode}}> | ||
12 | - <input id="token" type="hidden" value={{token}}> | 10 | + <input id="phone-num" type="hidden" value="{{phoneNum}}"> |
11 | + <input id="area-code" type="hidden" value="{{areaCode}}"> | ||
12 | + <input id="token" type="hidden" value="{{token}}"> | ||
13 | </div> | 13 | </div> |
14 | +<script type='text/javascript'> | ||
15 | +(function(a,b,c,d){ | ||
16 | +a[c]=function(){a[c]['ar']=a[c]['ar']||[];a[c]['ar'].push(arguments);}; | ||
17 | +var s=b.createElement('script');s.async = 1;s.src='//t.agrantsem.com/js/agt.js'; | ||
18 | +var r=b.getElementsByTagName('script')[0];r.parentNode.insertBefore(s,r); | ||
19 | +})(window,document,'_agtjs','script'); | ||
20 | +_agtjs('init','AG_052186_PHCW','yohobuy.com'); | ||
21 | +_agtjs('loadEvent',{atsev:101,'atsrmv':""}); | ||
22 | +</script> | ||
14 | {{> layout/footer}} | 23 | {{> layout/footer}} |
@@ -15,6 +15,9 @@ class RegController extends AbstractAction | @@ -15,6 +15,9 @@ class RegController extends AbstractAction | ||
15 | */ | 15 | */ |
16 | public function indexAction() | 16 | public function indexAction() |
17 | { | 17 | { |
18 | + // 设置注册有效时间30分钟, 防机器刷 | ||
19 | + $this->setSession('_REG_EXPIRE', time() + 1800); | ||
20 | + | ||
18 | $this->setTitle('注册'); | 21 | $this->setTitle('注册'); |
19 | 22 | ||
20 | $data = array(); | 23 | $data = array(); |
@@ -124,6 +127,12 @@ class RegController extends AbstractAction | @@ -124,6 +127,12 @@ class RegController extends AbstractAction | ||
124 | break; | 127 | break; |
125 | } | 128 | } |
126 | 129 | ||
130 | + /* 设置注册有效时间30分钟, 防机器刷 */ | ||
131 | + $expire = $this->getSession('_REG_EXPIRE'); | ||
132 | + if (empty($expire) || $expire < time()) { | ||
133 | + break; | ||
134 | + } | ||
135 | + | ||
127 | /* 向手机发送注册验证码 */ | 136 | /* 向手机发送注册验证码 */ |
128 | $data = RegData::sendCodeToMobile($area, $mobile); | 137 | $data = RegData::sendCodeToMobile($area, $mobile); |
129 | if (!isset($data['code'])) { | 138 | if (!isset($data['code'])) { |
@@ -167,6 +176,12 @@ class RegController extends AbstractAction | @@ -167,6 +176,12 @@ class RegController extends AbstractAction | ||
167 | break; | 176 | break; |
168 | } | 177 | } |
169 | 178 | ||
179 | + /* 设置注册有效时间30分钟, 防机器刷 */ | ||
180 | + $expire = $this->getSession('_REG_EXPIRE'); | ||
181 | + if (empty($expire) || $expire < time()) { | ||
182 | + break; | ||
183 | + } | ||
184 | + | ||
170 | /* 验证注册的标识码是否有效 */ | 185 | /* 验证注册的标识码是否有效 */ |
171 | $data = RegData::validMobileCode($area, $mobile, $code); | 186 | $data = RegData::validMobileCode($area, $mobile, $code); |
172 | if (!isset($data['code'])) { | 187 | if (!isset($data['code'])) { |
@@ -209,6 +224,12 @@ class RegController extends AbstractAction | @@ -209,6 +224,12 @@ class RegController extends AbstractAction | ||
209 | break; | 224 | break; |
210 | } | 225 | } |
211 | 226 | ||
227 | + /* 设置注册有效时间30分钟, 防机器刷 */ | ||
228 | + $expire = $this->getSession('_REG_EXPIRE'); | ||
229 | + if (empty($expire) || $expire < time()) { | ||
230 | + break; | ||
231 | + } | ||
232 | + | ||
212 | /* 向手机发送注册验证码 */ | 233 | /* 向手机发送注册验证码 */ |
213 | $data = RegData::sendCodeToMobile($area, $mobile); | 234 | $data = RegData::sendCodeToMobile($area, $mobile); |
214 | if (!isset($data['code'])) { | 235 | if (!isset($data['code'])) { |
@@ -276,6 +297,7 @@ class RegController extends AbstractAction | @@ -276,6 +297,7 @@ class RegController extends AbstractAction | ||
276 | $token = Helpers::makeToken($data['data']['uid']); | 297 | $token = Helpers::makeToken($data['data']['uid']); |
277 | $this->setCookie('_TOKEN', $token); | 298 | $this->setCookie('_TOKEN', $token); |
278 | $this->setSession('_TOKEN', $token); | 299 | $this->setSession('_TOKEN', $token); |
300 | + $this->setSession('_LOGIN_UID', $data['data']['uid']); | ||
279 | } while (false); | 301 | } while (false); |
280 | 302 | ||
281 | $this->echoJson($data); | 303 | $this->echoJson($data); |
-
Please register or login to post a comment