code review by hf: do add analysis code
Showing
4 changed files
with
2061 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> | ||
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="pay-page yoho-page"> | ||
95 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderCode')))) ? ' <input id=\'ordercode\' type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"> | ||
96 | +' : '').' <div class="payapp-list"> | ||
97 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('payAppInfo')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payLink')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payLink')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | +' : '').' <div class="box" id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appId')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | + <div class="icon"> | ||
100 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appIcon')))) ? ' <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appIcon')), ENT_QUOTES, 'UTF-8').'" alt="app图标"> | ||
101 | +' : ' <div></div> | ||
102 | +').' </div> | ||
103 | + <div class="app">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('app')), ENT_QUOTES, 'UTF-8').'</div> | ||
104 | + <div class="hint"> | ||
105 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('hint')), ENT_QUOTES, 'UTF-8').' | ||
106 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('subHint')))) ? ' <br> | ||
107 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('subHint')), ENT_QUOTES, 'UTF-8').' | ||
108 | +' : '').' </div> | ||
109 | + <div class="iconfont"></div> | ||
110 | + </div> | ||
111 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payLink')))) ? ' </a> | ||
112 | +' : '').'';}).' </div> | ||
113 | +</div> | ||
114 | +<script>_ozprm="orderid='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'&ordertotal='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'";</script> | ||
115 | +<script type="text/javascript" src ="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> | ||
116 | +<script type="text/javascript"> | ||
117 | +var _agq = _agq || []; | ||
118 | +_agq.push([\'_cid\', \'415\']); //生成value | ||
119 | +_agq.push([\'_eid\', \'102\']); //生成value | ||
120 | +_agq.push([\'_orderSum\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"]);//订单金额,客户在页面填写 | ||
121 | +_agq.push([\'_orderNo\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"]);//订单号,客户在页面填写 | ||
122 | +_agq.push([\'_orderNew\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"]);//是否新客单,客户标记是为true否为false | ||
123 | +_agq.push([\'_orderCount\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'"]);//订单货品数目,客户填写 | ||
124 | +ag_send(_agq); | ||
125 | + | ||
126 | +var __order_code = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"; | ||
127 | +var __order_amount = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"; | ||
128 | +var __order_user = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"; | ||
129 | +var __order_goods_num = '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'; | ||
130 | +var __order_uid = \''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'\'; | ||
131 | + | ||
132 | +var _fxcmd=_fxcmd||[]; | ||
133 | +_fxcmd.push([\'trackOrder\', { | ||
134 | + oid: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", | ||
135 | + otp : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotalFormat')), ENT_QUOTES, 'UTF-8').'", | ||
136 | + unid : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'" | ||
137 | +}]); | ||
138 | +</script> | ||
139 | +<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script> | ||
140 | +<script type="text/javascript"> | ||
141 | +window.criteo_q = window.criteo_q || []; | ||
142 | +window.criteo_q.push( | ||
143 | +{ event: "setAccount", account: [21397] }, | ||
144 | +{ event: "setHashedEmail", email: "" }, | ||
145 | +{ event: "setSiteType", type: "m" }, | ||
146 | +{ event: "trackTransaction" , id: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", currency: "CNY", item: ""} | ||
147 | +); | ||
148 | +</script> | ||
149 | +'.''.''.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"> | ||
150 | + <p class="op-row"> | ||
151 | + <span class="back-to-top"> | ||
152 | + Back to top | ||
153 | + <i class="iconfont"></i> | ||
154 | + </span> | ||
155 | + </p> | ||
156 | + <address class="copyright"> | ||
157 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
158 | + </address> | ||
159 | +</footer> | ||
160 | +';}).' | ||
161 | +'.''.''.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"> | ||
162 | + <div class="float-layer-left"> | ||
163 | + <span class="yoho-icon iconfont"></span> | ||
164 | + <p>新用户送千元礼包</p> | ||
165 | + </div> | ||
166 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
167 | + <i class="close-icon iconfont"></i> | ||
168 | + <div class="circle-rightbottom"></div> | ||
169 | + </a> | ||
170 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
171 | + 立即下载 | ||
172 | + </a> | ||
173 | +</div> | ||
174 | +';}).' | ||
175 | + | ||
176 | + '.''.((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> | ||
177 | +' : '').''.((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> | ||
178 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
179 | +' : '').''.((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> | ||
180 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
181 | +' : '').''.((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> | ||
182 | +<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> | ||
183 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
184 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
185 | +' : '').''.'<script> | ||
186 | + seajs.use(\'js/common\'); | ||
187 | +</script> | ||
188 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
189 | + seajs.use(\'js/guang/plus-star/list\'); | ||
190 | +</script> | ||
191 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
192 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
193 | +</script> | ||
194 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
195 | + seajs.use(\'js/guang/home\'); | ||
196 | +</script> | ||
197 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
198 | + seajs.use(\'js/guang/list\'); | ||
199 | +</script> | ||
200 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
201 | + seajs.use(\'js/guang/detail\', function(d) { | ||
202 | + d.i(true); | ||
203 | + }); | ||
204 | +</script> | ||
205 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
206 | + seajs.use(\'js/guang/detail\', function(d) { | ||
207 | + d.i(false); | ||
208 | + }); | ||
209 | +</script> | ||
210 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
211 | + seajs.use(\'js/passport/register/register\'); | ||
212 | +</script> | ||
213 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
214 | + seajs.use(\'js/passport/register/code\'); | ||
215 | +</script> | ||
216 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
217 | + seajs.use(\'js/passport/register/password\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
220 | + seajs.use(\'js/passport/bind/bind\'); | ||
221 | +</script> | ||
222 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
223 | + seajs.use(\'js/passport/bind/code\'); | ||
224 | +</script> | ||
225 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
226 | + seajs.use(\'js/passport/bind/password\'); | ||
227 | +</script> | ||
228 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
229 | + seajs.use(\'js/passport/login/login\'); | ||
230 | +</script> | ||
231 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
232 | + seajs.use(\'js/passport/login/international\'); | ||
233 | +</script> | ||
234 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
235 | + seajs.use(\'js/passport/back/email\'); | ||
236 | +</script> | ||
237 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
238 | + seajs.use(\'js/passport/back/email-success\'); | ||
239 | +</script> | ||
240 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
241 | + seajs.use(\'js/passport/back/mobile\'); | ||
242 | +</script> | ||
243 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
244 | + seajs.use(\'js/passport/back/code\'); | ||
245 | +</script> | ||
246 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
247 | + seajs.use(\'js/passport/back/new-password\'); | ||
248 | +</script> | ||
249 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
250 | + seajs.use(\'js/index/channel\'); | ||
251 | + seajs.use(\'js/index/footer\'); | ||
252 | +</script> | ||
253 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
254 | + seajs.use(\'js/home/home\', function(h) { | ||
255 | + h.set(\'girls\'); | ||
256 | + }); | ||
257 | + seajs.use(\'js/index/footer\'); | ||
258 | +</script> | ||
259 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
260 | + seajs.use(\'js/home/home\', function(h) { | ||
261 | + h.set(\'boys\'); | ||
262 | + }); | ||
263 | + seajs.use(\'js/index/footer\'); | ||
264 | +</script> | ||
265 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
266 | + seajs.use(\'js/home/home\', function(h) { | ||
267 | + h.set(\'kids\'); | ||
268 | + }); | ||
269 | + seajs.use(\'js/index/footer\'); | ||
270 | +</script> | ||
271 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
272 | + seajs.use(\'js/home/home\', function(h) { | ||
273 | + h.set(\'lifestyle\'); | ||
274 | + }); | ||
275 | + seajs.use(\'js/index/footer\'); | ||
276 | +</script> | ||
277 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
278 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
279 | + seajs.use(\'js/index/footer\'); | ||
280 | +</script> | ||
281 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
282 | + seajs.use(\'js/product/newsale/discount\'); | ||
283 | + seajs.use(\'js/index/footer\'); | ||
284 | +</script> | ||
285 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
286 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
287 | + seajs.use(\'js/index/footer\'); | ||
288 | +</script> | ||
289 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
290 | + seajs.use(\'js/product/list\'); | ||
291 | + seajs.use(\'js/index/footer\'); | ||
292 | +</script> | ||
293 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
294 | + seajs.use(\'js/product/detail/detail\'); | ||
295 | +</script> | ||
296 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
297 | + seajs.use(\'js/product/detail/loadmore\'); | ||
298 | +</script> | ||
299 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
300 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
301 | +</script> | ||
302 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
303 | + seajs.use(\'js/product/detail/consultform\'); | ||
304 | +</script> | ||
305 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
306 | + seajs.use(\'js/category/index\'); | ||
307 | + seajs.use(\'js/index/footer\'); | ||
308 | +</script> | ||
309 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
310 | + seajs.use(\'js/category/brand\'); | ||
311 | + seajs.use(\'js/index/footer\'); | ||
312 | +</script> | ||
313 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
314 | + seajs.use(\'js/index/search\'); | ||
315 | + seajs.use(\'js/index/footer\'); | ||
316 | +</script> | ||
317 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
318 | + seajs.use(\'js/cart/cart\'); | ||
319 | +</script> | ||
320 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
321 | + seajs.use(\'js/cart/gift-advance\'); | ||
322 | +</script> | ||
323 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
324 | + seajs.use(\'js/cart/gift-advance\'); | ||
325 | +</script> | ||
326 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
327 | + seajs.use(\'js/cart/order-ensure\'); | ||
328 | +</script> | ||
329 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
330 | + seajs.use(\'js/me/address\'); | ||
331 | + seajs.use(\'js/cart/select-address\'); | ||
332 | +</script> | ||
333 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
334 | + seajs.use(\'js/cart/select-coupon\'); | ||
335 | +</script> | ||
336 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
337 | + seajs.use(\'js/me/index\'); | ||
338 | + seajs.use(\'js/index/footer\'); | ||
339 | +</script> | ||
340 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
341 | + seajs.use(\'js/me/order\'); | ||
342 | +</script> | ||
343 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
344 | + seajs.use(\'js/me/order-detail\'); | ||
345 | +</script> | ||
346 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
347 | + seajs.use(\'js/me/fav\'); | ||
348 | +</script> | ||
349 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
350 | + seajs.use(\'js/me/suggest\'); | ||
351 | +</script> | ||
352 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
353 | + seajs.use(\'js/me/coupons\'); | ||
354 | +</script> | ||
355 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
356 | + seajs.use(\'js/me/online-service\'); | ||
357 | +</script> | ||
358 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
359 | + seajs.use(\'js/index/footer\'); | ||
360 | +</script> | ||
361 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
362 | + seajs.use(\'js/me/address\'); | ||
363 | +</script> | ||
364 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
365 | + seajs.use(\'js/me/address-act\'); | ||
366 | +</script> | ||
367 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
368 | + seajs.use(\'js/me/my-guang\'); | ||
369 | +</script> | ||
370 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
371 | + seajs.use(\'js/me/personal-details\'); | ||
372 | +</script> | ||
373 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
374 | + seajs.use(\'js/me/browse-record\'); | ||
375 | +</script> | ||
376 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
377 | + seajs.use(\'js/me/logistic\'); | ||
378 | +</script> | ||
379 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
380 | + seajs.use(\'js/me/pay\'); | ||
381 | +</script> | ||
382 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
383 | + seajs.use(\'js/me/currency\'); | ||
384 | +</script> | ||
385 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
386 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
387 | +<script> | ||
388 | +var _hmt = _hmt || []; | ||
389 | +(function() { | ||
390 | + function async_load(){ | ||
391 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
392 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
393 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
394 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
395 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
396 | + (function() { | ||
397 | + var hm = document.createElement("script"); | ||
398 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
399 | + hm.async = 1; | ||
400 | + var s = document.getElementsByTagName("script")[0]; | ||
401 | + s.parentNode.insertBefore(hm, s); | ||
402 | + })(); | ||
403 | + (function() { | ||
404 | + var hm = document.createElement("script"); | ||
405 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
406 | + hm.async = 1; | ||
407 | + var s = document.getElementsByTagName("script")[0]; | ||
408 | + s.parentNode.insertBefore(hm, s); | ||
409 | + })(); | ||
410 | + (function() { | ||
411 | + var hm = document.createElement("script"); | ||
412 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
413 | + hm.async = 1; | ||
414 | + var s = document.getElementsByTagName("script")[0]; | ||
415 | + s.parentNode.insertBefore(hm, s); | ||
416 | + })(); | ||
417 | + } | ||
418 | + window.addEventListener(\'load\', async_load, false); | ||
419 | +})(); | ||
420 | +</script> | ||
421 | +<script> | ||
422 | + window._py = window._py||[]; | ||
423 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
424 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
425 | + window._py.push([\'e\',\'\']); | ||
426 | + if(typeof _goodsData!=\'undefined\'){ | ||
427 | + window._py.push([\'pi\',_goodsData]); | ||
428 | + } | ||
429 | + -function(d){ | ||
430 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
431 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
432 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
433 | + }(document); | ||
434 | +</script> | ||
435 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
436 | +</html>'.' | ||
437 | +'; | ||
438 | +} | ||
439 | +?> |
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="order-detail-page yoho-page"> | ||
95 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('orderDetail')), $in, false, function($cx, $in) {return ' <div id="order-detail" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'"> | ||
96 | + <section class="owner-info block"> | ||
97 | + <span class="iconfont"></span> | ||
98 | + <div class="beside-icon"> | ||
99 | + <p class="name-phone"> | ||
100 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
101 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('phoneNum')), ENT_QUOTES, 'UTF-8').'</span> | ||
102 | + </p> | ||
103 | + <p class="address"> | ||
104 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('address')), ENT_QUOTES, 'UTF-8').' | ||
105 | + </p> | ||
106 | + </div> | ||
107 | + </section> | ||
108 | + | ||
109 | + <section class="order-status block"> | ||
110 | + <div class="status sub"> | ||
111 | + <span class="iconfont"></span> | ||
112 | + <p class="beside-icon sub-content"> | ||
113 | + <span class="sub-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderStatus')), ENT_QUOTES, 'UTF-8').'</span> | ||
114 | + <span>订单编号:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderNum')), ENT_QUOTES, 'UTF-8').'</span> | ||
115 | + <span>下单时间:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTime')), ENT_QUOTES, 'UTF-8').'</span> | ||
116 | + </p> | ||
117 | + </div> | ||
118 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticsUrl')))) ? ' <a class="logistics sub" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
119 | + <span class="iconfont"></span> | ||
120 | + <p class="beside-icon sub-content"> | ||
121 | + <span class="sub-title">物流信息</span> | ||
122 | + <span>物流公司:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsCompany')), ENT_QUOTES, 'UTF-8').'</span> | ||
123 | + <span>快递单号:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsNum')), ENT_QUOTES, 'UTF-8').'</span> | ||
124 | + </p> | ||
125 | + <span class="iconfont icon-right"></span> | ||
126 | + </a> | ||
127 | +' : '').'' : '').' </section> | ||
128 | + | ||
129 | + <section class="goods block"> | ||
130 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' <div class="order-good" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
131 | + <div class="thumb-wrap"> | ||
132 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('link')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('link')), ENT_QUOTES, 'UTF-8').'"><img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"></a> | ||
133 | +' : ' <img class="thumb lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
134 | +').' <p class="tag'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gift')))) ? ' gift-tag' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuy')))) ? ' advance-buy-tag' : '').'"></p> | ||
135 | + </div> | ||
136 | + <div class="deps"> | ||
137 | + <p class="name row">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> | ||
138 | + <p class="row"> | ||
139 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <span class="color"> | ||
140 | + 颜色:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').' | ||
141 | + </span> | ||
142 | +' : '').' | ||
143 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <span class="size"> | ||
144 | + 尺码:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').' | ||
145 | + </span> | ||
146 | +' : '').' </p> | ||
147 | + <p class="row price-wrap"> | ||
148 | + <span class="price"> | ||
149 | + ¥'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').' | ||
150 | + </span> | ||
151 | + <span class="count"> | ||
152 | + ×'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').' | ||
153 | + </span> | ||
154 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appearDate')))) ? ' <span class="appear-date">上市期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appearDate')), ENT_QUOTES, 'UTF-8').'</span> | ||
155 | +' : '').' </p> | ||
156 | + </div> | ||
157 | + </div>'.'';}).' </section> | ||
158 | + | ||
159 | + <ul class="cost block"> | ||
160 | + <li> | ||
161 | + 商品总金额 | ||
162 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sumPrice')), ENT_QUOTES, 'UTF-8').'</span> | ||
163 | + </li> | ||
164 | + <li> | ||
165 | + 活动金额 | ||
166 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('salePrice')), ENT_QUOTES, 'UTF-8').'</span> | ||
167 | + </li> | ||
168 | + <li> | ||
169 | + 运费 | ||
170 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('freight')), ENT_QUOTES, 'UTF-8').'</span> | ||
171 | + </li> | ||
172 | + <li> | ||
173 | + 优惠券 | ||
174 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('coupon')), ENT_QUOTES, 'UTF-8').'</span> | ||
175 | + </li> | ||
176 | + <li> | ||
177 | + YOHO币 | ||
178 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('yohoCoin')), ENT_QUOTES, 'UTF-8').'</span> | ||
179 | + </li> | ||
180 | + <li> | ||
181 | + 实付金额 | ||
182 | + <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> | ||
183 | + </li> | ||
184 | + </ul> | ||
185 | + | ||
186 | + <div class="opt block"> | ||
187 | +'.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unreceived')))) ? ''.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ' <span class="btn btn-del">删除订单</span> | ||
188 | +' : '').'' : '').' | ||
189 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('unpaid')))) ? ' <span class="btn btn-cancel">取消订单</span> | ||
190 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payUrl')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
191 | + <span class="btn btn-pay">立即付款</span> | ||
192 | + </a> | ||
193 | +' : '').'' : '').' | ||
194 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticsUrl')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logisticsUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
195 | + <span class="btn btn-check-logistics">查看物流</span> | ||
196 | + </a> | ||
197 | +' : '').' </div> | ||
198 | + </div> | ||
199 | +';}).'</div> | ||
200 | +<script>_ozprm="orderid='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'&ordertotal='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'";</script> | ||
201 | +<script type="text/javascript" src ="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> | ||
202 | +<script type="text/javascript"> | ||
203 | +var _agq = _agq || []; | ||
204 | +_agq.push([\'_cid\', \'415\']); //生成value | ||
205 | +_agq.push([\'_eid\', \'102\']); //生成value | ||
206 | +_agq.push([\'_orderSum\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"]);//订单金额,客户在页面填写 | ||
207 | +_agq.push([\'_orderNo\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"]);//订单号,客户在页面填写 | ||
208 | +_agq.push([\'_orderNew\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"]);//是否新客单,客户标记是为true否为false | ||
209 | +_agq.push([\'_orderCount\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'"]);//订单货品数目,客户填写 | ||
210 | +ag_send(_agq); | ||
211 | + | ||
212 | +var __order_code = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"; | ||
213 | +var __order_amount = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"; | ||
214 | +var __order_user = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"; | ||
215 | +var __order_goods_num = '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'; | ||
216 | +var __order_uid = \''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'\'; | ||
217 | + | ||
218 | +var _fxcmd=_fxcmd||[]; | ||
219 | +_fxcmd.push([\'trackOrder\', { | ||
220 | + oid: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", | ||
221 | + otp : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotalFormat')), ENT_QUOTES, 'UTF-8').'", | ||
222 | + unid : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'" | ||
223 | +}]); | ||
224 | +</script> | ||
225 | +<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script> | ||
226 | +<script type="text/javascript"> | ||
227 | +window.criteo_q = window.criteo_q || []; | ||
228 | +window.criteo_q.push( | ||
229 | +{ event: "setAccount", account: [21397] }, | ||
230 | +{ event: "setHashedEmail", email: "" }, | ||
231 | +{ event: "setSiteType", type: "m" }, | ||
232 | +{ event: "trackTransaction" , id: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", currency: "CNY", item: ""} | ||
233 | +); | ||
234 | +</script> | ||
235 | +'.''.''.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"> | ||
236 | + <p class="op-row"> | ||
237 | + <span class="back-to-top"> | ||
238 | + Back to top | ||
239 | + <i class="iconfont"></i> | ||
240 | + </span> | ||
241 | + </p> | ||
242 | + <address class="copyright"> | ||
243 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
244 | + </address> | ||
245 | +</footer> | ||
246 | +';}).' | ||
247 | +'.''.''.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"> | ||
248 | + <div class="float-layer-left"> | ||
249 | + <span class="yoho-icon iconfont"></span> | ||
250 | + <p>新用户送千元礼包</p> | ||
251 | + </div> | ||
252 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
253 | + <i class="close-icon iconfont"></i> | ||
254 | + <div class="circle-rightbottom"></div> | ||
255 | + </a> | ||
256 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
257 | + 立即下载 | ||
258 | + </a> | ||
259 | +</div> | ||
260 | +';}).' | ||
261 | + | ||
262 | + '.''.((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> | ||
263 | +' : '').''.((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> | ||
264 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
265 | +' : '').''.((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> | ||
266 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
267 | +' : '').''.((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> | ||
268 | +<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> | ||
269 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
270 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
271 | +' : '').''.'<script> | ||
272 | + seajs.use(\'js/common\'); | ||
273 | +</script> | ||
274 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
275 | + seajs.use(\'js/guang/plus-star/list\'); | ||
276 | +</script> | ||
277 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
278 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
279 | +</script> | ||
280 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
281 | + seajs.use(\'js/guang/home\'); | ||
282 | +</script> | ||
283 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
284 | + seajs.use(\'js/guang/list\'); | ||
285 | +</script> | ||
286 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
287 | + seajs.use(\'js/guang/detail\', function(d) { | ||
288 | + d.i(true); | ||
289 | + }); | ||
290 | +</script> | ||
291 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
292 | + seajs.use(\'js/guang/detail\', function(d) { | ||
293 | + d.i(false); | ||
294 | + }); | ||
295 | +</script> | ||
296 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
297 | + seajs.use(\'js/passport/register/register\'); | ||
298 | +</script> | ||
299 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
300 | + seajs.use(\'js/passport/register/code\'); | ||
301 | +</script> | ||
302 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
303 | + seajs.use(\'js/passport/register/password\'); | ||
304 | +</script> | ||
305 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
306 | + seajs.use(\'js/passport/bind/bind\'); | ||
307 | +</script> | ||
308 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
309 | + seajs.use(\'js/passport/bind/code\'); | ||
310 | +</script> | ||
311 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
312 | + seajs.use(\'js/passport/bind/password\'); | ||
313 | +</script> | ||
314 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
315 | + seajs.use(\'js/passport/login/login\'); | ||
316 | +</script> | ||
317 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
318 | + seajs.use(\'js/passport/login/international\'); | ||
319 | +</script> | ||
320 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
321 | + seajs.use(\'js/passport/back/email\'); | ||
322 | +</script> | ||
323 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
324 | + seajs.use(\'js/passport/back/email-success\'); | ||
325 | +</script> | ||
326 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
327 | + seajs.use(\'js/passport/back/mobile\'); | ||
328 | +</script> | ||
329 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
330 | + seajs.use(\'js/passport/back/code\'); | ||
331 | +</script> | ||
332 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
333 | + seajs.use(\'js/passport/back/new-password\'); | ||
334 | +</script> | ||
335 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
336 | + seajs.use(\'js/index/channel\'); | ||
337 | + seajs.use(\'js/index/footer\'); | ||
338 | +</script> | ||
339 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
340 | + seajs.use(\'js/home/home\', function(h) { | ||
341 | + h.set(\'girls\'); | ||
342 | + }); | ||
343 | + seajs.use(\'js/index/footer\'); | ||
344 | +</script> | ||
345 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
346 | + seajs.use(\'js/home/home\', function(h) { | ||
347 | + h.set(\'boys\'); | ||
348 | + }); | ||
349 | + seajs.use(\'js/index/footer\'); | ||
350 | +</script> | ||
351 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
352 | + seajs.use(\'js/home/home\', function(h) { | ||
353 | + h.set(\'kids\'); | ||
354 | + }); | ||
355 | + seajs.use(\'js/index/footer\'); | ||
356 | +</script> | ||
357 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
358 | + seajs.use(\'js/home/home\', function(h) { | ||
359 | + h.set(\'lifestyle\'); | ||
360 | + }); | ||
361 | + seajs.use(\'js/index/footer\'); | ||
362 | +</script> | ||
363 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
364 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
365 | + seajs.use(\'js/index/footer\'); | ||
366 | +</script> | ||
367 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
368 | + seajs.use(\'js/product/newsale/discount\'); | ||
369 | + seajs.use(\'js/index/footer\'); | ||
370 | +</script> | ||
371 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
372 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
373 | + seajs.use(\'js/index/footer\'); | ||
374 | +</script> | ||
375 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
376 | + seajs.use(\'js/product/list\'); | ||
377 | + seajs.use(\'js/index/footer\'); | ||
378 | +</script> | ||
379 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
380 | + seajs.use(\'js/product/detail/detail\'); | ||
381 | +</script> | ||
382 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
383 | + seajs.use(\'js/product/detail/loadmore\'); | ||
384 | +</script> | ||
385 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
386 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
387 | +</script> | ||
388 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
389 | + seajs.use(\'js/product/detail/consultform\'); | ||
390 | +</script> | ||
391 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
392 | + seajs.use(\'js/category/index\'); | ||
393 | + seajs.use(\'js/index/footer\'); | ||
394 | +</script> | ||
395 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
396 | + seajs.use(\'js/category/brand\'); | ||
397 | + seajs.use(\'js/index/footer\'); | ||
398 | +</script> | ||
399 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
400 | + seajs.use(\'js/index/search\'); | ||
401 | + seajs.use(\'js/index/footer\'); | ||
402 | +</script> | ||
403 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
404 | + seajs.use(\'js/cart/cart\'); | ||
405 | +</script> | ||
406 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
407 | + seajs.use(\'js/cart/gift-advance\'); | ||
408 | +</script> | ||
409 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
410 | + seajs.use(\'js/cart/gift-advance\'); | ||
411 | +</script> | ||
412 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
413 | + seajs.use(\'js/cart/order-ensure\'); | ||
414 | +</script> | ||
415 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
416 | + seajs.use(\'js/me/address\'); | ||
417 | + seajs.use(\'js/cart/select-address\'); | ||
418 | +</script> | ||
419 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
420 | + seajs.use(\'js/cart/select-coupon\'); | ||
421 | +</script> | ||
422 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
423 | + seajs.use(\'js/me/index\'); | ||
424 | + seajs.use(\'js/index/footer\'); | ||
425 | +</script> | ||
426 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
427 | + seajs.use(\'js/me/order\'); | ||
428 | +</script> | ||
429 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
430 | + seajs.use(\'js/me/order-detail\'); | ||
431 | +</script> | ||
432 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
433 | + seajs.use(\'js/me/fav\'); | ||
434 | +</script> | ||
435 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
436 | + seajs.use(\'js/me/suggest\'); | ||
437 | +</script> | ||
438 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
439 | + seajs.use(\'js/me/coupons\'); | ||
440 | +</script> | ||
441 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
442 | + seajs.use(\'js/me/online-service\'); | ||
443 | +</script> | ||
444 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
445 | + seajs.use(\'js/index/footer\'); | ||
446 | +</script> | ||
447 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
448 | + seajs.use(\'js/me/address\'); | ||
449 | +</script> | ||
450 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
451 | + seajs.use(\'js/me/address-act\'); | ||
452 | +</script> | ||
453 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
454 | + seajs.use(\'js/me/my-guang\'); | ||
455 | +</script> | ||
456 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
457 | + seajs.use(\'js/me/personal-details\'); | ||
458 | +</script> | ||
459 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
460 | + seajs.use(\'js/me/browse-record\'); | ||
461 | +</script> | ||
462 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
463 | + seajs.use(\'js/me/logistic\'); | ||
464 | +</script> | ||
465 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
466 | + seajs.use(\'js/me/pay\'); | ||
467 | +</script> | ||
468 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
469 | + seajs.use(\'js/me/currency\'); | ||
470 | +</script> | ||
471 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
472 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
473 | +<script> | ||
474 | +var _hmt = _hmt || []; | ||
475 | +(function() { | ||
476 | + function async_load(){ | ||
477 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
478 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
479 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
480 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
481 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
482 | + (function() { | ||
483 | + var hm = document.createElement("script"); | ||
484 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
485 | + hm.async = 1; | ||
486 | + var s = document.getElementsByTagName("script")[0]; | ||
487 | + s.parentNode.insertBefore(hm, s); | ||
488 | + })(); | ||
489 | + (function() { | ||
490 | + var hm = document.createElement("script"); | ||
491 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
492 | + hm.async = 1; | ||
493 | + var s = document.getElementsByTagName("script")[0]; | ||
494 | + s.parentNode.insertBefore(hm, s); | ||
495 | + })(); | ||
496 | + (function() { | ||
497 | + var hm = document.createElement("script"); | ||
498 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
499 | + hm.async = 1; | ||
500 | + var s = document.getElementsByTagName("script")[0]; | ||
501 | + s.parentNode.insertBefore(hm, s); | ||
502 | + })(); | ||
503 | + } | ||
504 | + window.addEventListener(\'load\', async_load, false); | ||
505 | +})(); | ||
506 | +</script> | ||
507 | +<script> | ||
508 | + window._py = window._py||[]; | ||
509 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
510 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
511 | + window._py.push([\'e\',\'\']); | ||
512 | + if(typeof _goodsData!=\'undefined\'){ | ||
513 | + window._py.push([\'pi\',_goodsData]); | ||
514 | + } | ||
515 | + -function(d){ | ||
516 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
517 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
518 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
519 | + }(document); | ||
520 | +</script> | ||
521 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
522 | +</html>'.''; | ||
523 | +} | ||
524 | +?> |
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="good-detail-page yoho-page"> | ||
95 | + <div class="banner-container"> | ||
96 | + <div class="tag-container"> | ||
97 | +'.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> | ||
98 | +';}).''.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> | ||
99 | +';}).''.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> | ||
100 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag">新品节</div> | ||
101 | +';}).''.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> | ||
102 | +';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="good-tag soonSoldOut-tag">即将售罄</p> | ||
103 | +';}).'';}).' </div> | ||
104 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> | ||
105 | + <div class="banner-swiper swiper-container"> | ||
106 | + <ul class="swiper-wrapper"> | ||
107 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> | ||
108 | + <a href="javascript:;"> | ||
109 | + <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
110 | + </a> | ||
111 | + </li> | ||
112 | +';}).' </ul> | ||
113 | + </div> | ||
114 | + <div class="swiper-pagination"> | ||
115 | + <div class="pagination-inner"> | ||
116 | + </div> | ||
117 | + </div> | ||
118 | + | ||
119 | + <div class="my-swiper-button-prev prev-grey"></div> | ||
120 | + <div class="my-swiper-button-next next-grey"></div> | ||
121 | + </div> | ||
122 | +' : ' <div class="banner-top-single"> | ||
123 | + <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
124 | + <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
125 | + </a> | ||
126 | + </div> | ||
127 | + ').''.'';}).' </div> | ||
128 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsName')), $in, false, function($cx, $in) {return ' <h2 class="goodsName"><span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span></h2> | ||
129 | +';}).' | ||
130 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsSubtitle')), $in, false, function($cx, $in) {return ' <h1 class="goodsSubtitle"><span>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span></h1> | ||
131 | +';}).' | ||
132 | + <div class="price-date"> | ||
133 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsPrice')), $in, false, function($cx, $in) {return ' <div class="goodsPrice"> | ||
134 | + <h1 class="currentPrice">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('currentPrice')), ENT_QUOTES, 'UTF-8').'</h1> | ||
135 | + <h1 class="previousPrice">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('previousPrice')), ENT_QUOTES, 'UTF-8').'</h1> | ||
136 | + </div> | ||
137 | +';}).' | ||
138 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('periodOfMarket')))) ? ' <div class="periodOfMarket"> | ||
139 | + <h1>上市期:</h1> | ||
140 | + <h1 >'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('periodOfMarket')), ENT_QUOTES, 'UTF-8').'</h1> | ||
141 | + </div> | ||
142 | +' : '').' </div> | ||
143 | + | ||
144 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('vipLevel')), $in, false, function($cx, $in) {return ' <ul class="vip-level clearfix"> | ||
145 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currentLevel')))) ? 'current-level' : '').'"> | ||
146 | + <span class="vip-img " style="background-size:contain;"> | ||
147 | + </span> | ||
148 | + <span class="vip-price ">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</span> | ||
149 | + </li> | ||
150 | +';}).' </ul> | ||
151 | +';}).' | ||
152 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsDiscount')), $in, false, function($cx, $in) {return ' <div class="goodsDiscount" id="goodsDiscount"> | ||
153 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('text')))) ? ' <h1 class="first-item short-text tap-hightlight">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'<span class="icon-down iconfont dropdown"></span></h1> | ||
154 | +' : '').'' : '').'';}).' <div class="discount-folder"> | ||
155 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? '' : ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('text')))) ? ' <h1 class="folder-item tap-hightlight">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</h1> | ||
156 | +' : '').'').'';}).' </div> | ||
157 | + </div> | ||
158 | +';}).' | ||
159 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('feedbacks')), $in, false, function($cx, $in) {return ' <div class="feedback-list "> | ||
160 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('commentsNum')))) ? ''.' <ul id="nav-tab" class="nav-tab clearfix"> | ||
161 | + <li class="comment-nav tap-hightlight">商品评价(<span class="comments-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> | ||
162 | + <li class="consult-nav tap-hightlight">购买咨询(<span class="consults-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> | ||
163 | + </ul> | ||
164 | + <div id="feedback-content" > | ||
165 | + <div class="comment-content content "> | ||
166 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('commentsNum')))) ? ' <div class="comment-content-main content-main"> | ||
167 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('comments')), $in, false, function($cx, $in) {return ' <span class="user-name"> | ||
168 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('userName')), ENT_QUOTES, 'UTF-8').' | ||
169 | + </span> | ||
170 | + <span class="goods-spec"> | ||
171 | + 购买了'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' | ||
172 | + </span> | ||
173 | + <p class="detail-content"> | ||
174 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('content')), ENT_QUOTES, 'UTF-8').' | ||
175 | + </p> | ||
176 | + <span class="comment-time"> | ||
177 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').' | ||
178 | + </span> | ||
179 | +';}).' </div> | ||
180 | + <a class="comment-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
181 | + 查看更多 | ||
182 | + <span class="iconfont"></span> | ||
183 | + </a> | ||
184 | +' : ' <div class="comment-content-main content-main no-item"> | ||
185 | + <span class="iconfont"></span>暂无评论 | ||
186 | + </div> | ||
187 | +').' </div> | ||
188 | + | ||
189 | + <div class="consult-content content hide "> | ||
190 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultsNum')))) ? ' <div class="consult-content-main content-main"> | ||
191 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('consults')), $in, false, function($cx, $in) {return ' <div class="question"> | ||
192 | + <span class="iconfont"></span> | ||
193 | + <p> | ||
194 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('question')), ENT_QUOTES, 'UTF-8').'<br> | ||
195 | + <span class="time">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').'</span> | ||
196 | + </p> | ||
197 | + </div> | ||
198 | + | ||
199 | + <div class="answer"> | ||
200 | + <span class="iconfont"></span> | ||
201 | + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('answer')), ENT_QUOTES, 'UTF-8').'</p> | ||
202 | + </div> | ||
203 | +';}).' </div> | ||
204 | + <a class="consult-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
205 | + 查看更多 | ||
206 | + <span class="iconfont"></span> | ||
207 | + </a> | ||
208 | +' : ' <div class="consult-content-main content-main no-item"> | ||
209 | + <span class="iconfont"></span>暂无咨询 | ||
210 | + </div> | ||
211 | + | ||
212 | + <div class="consult-content-footer tap-hightlight" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsLink')), ENT_QUOTES, 'UTF-8').'"> | ||
213 | + <a href="javascript:;"> | ||
214 | + 我要咨询 | ||
215 | + <span class="iconfont"></span></a> | ||
216 | + </div> | ||
217 | +').' </div> | ||
218 | + </div> | ||
219 | +'.'' : ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultsNum')))) ? ''.' <ul id="nav-tab" class="nav-tab clearfix"> | ||
220 | + <li class="comment-nav tap-hightlight">商品评价(<span class="comments-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> | ||
221 | + <li class="consult-nav tap-hightlight">购买咨询(<span class="consults-num">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsNum')), ENT_QUOTES, 'UTF-8').'</span>)</li> | ||
222 | + </ul> | ||
223 | + <div id="feedback-content" > | ||
224 | + <div class="comment-content content "> | ||
225 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('commentsNum')))) ? ' <div class="comment-content-main content-main"> | ||
226 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('comments')), $in, false, function($cx, $in) {return ' <span class="user-name"> | ||
227 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('userName')), ENT_QUOTES, 'UTF-8').' | ||
228 | + </span> | ||
229 | + <span class="goods-spec"> | ||
230 | + 购买了'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('desc')), ENT_QUOTES, 'UTF-8').' | ||
231 | + </span> | ||
232 | + <p class="detail-content"> | ||
233 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('content')), ENT_QUOTES, 'UTF-8').' | ||
234 | + </p> | ||
235 | + <span class="comment-time"> | ||
236 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').' | ||
237 | + </span> | ||
238 | +';}).' </div> | ||
239 | + <a class="comment-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
240 | + 查看更多 | ||
241 | + <span class="iconfont"></span> | ||
242 | + </a> | ||
243 | +' : ' <div class="comment-content-main content-main no-item"> | ||
244 | + <span class="iconfont"></span>暂无评论 | ||
245 | + </div> | ||
246 | +').' </div> | ||
247 | + | ||
248 | + <div class="consult-content content hide "> | ||
249 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultsNum')))) ? ' <div class="consult-content-main content-main"> | ||
250 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('consults')), $in, false, function($cx, $in) {return ' <div class="question"> | ||
251 | + <span class="iconfont"></span> | ||
252 | + <p> | ||
253 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('question')), ENT_QUOTES, 'UTF-8').'<br> | ||
254 | + <span class="time">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('time')), ENT_QUOTES, 'UTF-8').'</span> | ||
255 | + </p> | ||
256 | + </div> | ||
257 | + | ||
258 | + <div class="answer"> | ||
259 | + <span class="iconfont"></span> | ||
260 | + <p>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('answer')), ENT_QUOTES, 'UTF-8').'</p> | ||
261 | + </div> | ||
262 | +';}).' </div> | ||
263 | + <a class="consult-content-footer tap-hightlight" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
264 | + 查看更多 | ||
265 | + <span class="iconfont"></span> | ||
266 | + </a> | ||
267 | +' : ' <div class="consult-content-main content-main no-item"> | ||
268 | + <span class="iconfont"></span>暂无咨询 | ||
269 | + </div> | ||
270 | + | ||
271 | + <div class="consult-content-footer tap-hightlight" data-href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('commentsLink')), ENT_QUOTES, 'UTF-8').'"> | ||
272 | + <a href="javascript:;"> | ||
273 | + 我要咨询 | ||
274 | + <span class="iconfont"></span></a> | ||
275 | + </div> | ||
276 | +').' </div> | ||
277 | + </div> | ||
278 | +'.'' : ' <div class="nodata tap-hightlight" id="goto-consult"> | ||
279 | + <span>暂无商品评价和咨询</span> | ||
280 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('consultsUrl')), ENT_QUOTES, 'UTF-8').'" class="go-consult">我要咨询<span class="iconfont"></span></a> | ||
281 | + </div> | ||
282 | +').'').' </div> | ||
283 | +';}).' | ||
284 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('enterStore')), $in, false, function($cx, $in) {return ' <div id="enter-store" class="enter-store page-block tap-hightlight"> | ||
285 | + <a class="store-logo" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" style=""> | ||
286 | + <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('storeName')), ENT_QUOTES, 'UTF-8').'"> | ||
287 | + </a> | ||
288 | + <a class="store-name" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('storeName')), ENT_QUOTES, 'UTF-8').'</a> | ||
289 | + <a class="store-link" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">进入店铺<span class="iconfont"></span></a> | ||
290 | + </div> | ||
291 | +';}).' | ||
292 | + <div id="productDesc"> </div> | ||
293 | +'.' <div class="recommend-for-you hide"> | ||
294 | + </div>'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartInfo')), $in, false, function($cx, $in) {return ' <div class="chose-panel"> | ||
295 | + <div class="main"> | ||
296 | + <div class="infos"> | ||
297 | + <div class="basic-info" > | ||
298 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('thumbs')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <img class="thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> | ||
299 | +' : ' <img class="thumb hide" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> | ||
300 | +').'';}).' <div class="text-info"> | ||
301 | + <p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> | ||
302 | + <p class="price"> | ||
303 | + <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> | ||
304 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <span class="market-price">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'</span> | ||
305 | +' : '').' </p> | ||
306 | + </div> | ||
307 | + </div> | ||
308 | + <div class="chose-items"> | ||
309 | + <div class="color-list block-list"> | ||
310 | + <span>颜色</span> | ||
311 | + <ul class="clearfix" data-type="color"> | ||
312 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('colors')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('colorNum')))) ? 'zero-stock' : '').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNum')), ENT_QUOTES, 'UTF-8').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNumStr')), ENT_QUOTES, 'UTF-8').'" data-skcid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skcId')), ENT_QUOTES, 'UTF-8').'"> | ||
313 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
314 | + </li> | ||
315 | +';}).' </ul> | ||
316 | + </div> | ||
317 | + <div class="size-list block-list"> | ||
318 | + <span>尺码</span> | ||
319 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sizes')), $in, false, function($cx, $in) {return ' | ||
320 | + <ul class="size-row clearfix hide"> | ||
321 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('size')), $in, false, function($cx, $in) {return ' <li class="block '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? 'chosed' : '').' '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sizeNum')))) ? 'zero-stock' : '').'" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'" data-colorid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorId')), ENT_QUOTES, 'UTF-8').'" data-num="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sizeNum')), ENT_QUOTES, 'UTF-8').'" data-numstr="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('colorNumStr')), ENT_QUOTES, 'UTF-8').'" data-skuid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('skuId')), ENT_QUOTES, 'UTF-8').'" data-goodid="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('goodsId')), ENT_QUOTES, 'UTF-8').'"> | ||
322 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
323 | + </li> | ||
324 | +';}).' </ul> | ||
325 | + | ||
326 | +';}).' </div> | ||
327 | + <p> | ||
328 | + <div class="num"> | ||
329 | + <span>数量</span> | ||
330 | + <div class="clearfix"> | ||
331 | + <a class="btn btn-minus" href="javascript:void(0);"> | ||
332 | + <span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span> | ||
333 | + </a> | ||
334 | + <input id="good-num" class="good-num disabled" type="text" value="1" disabled="true"> | ||
335 | + <a class="btn btn-plus" href="javascript:void(0);"> | ||
336 | + <span class="iconfont '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('promotionId')))) ? 'disabled' : '').'"></span> | ||
337 | + </a> | ||
338 | + </div> | ||
339 | + <span class="left-num"></span> | ||
340 | + <input id="left-num" type="hidden" value="0"> | ||
341 | + </div> | ||
342 | + </div> | ||
343 | + </div> | ||
344 | + <div class="btn-wrap"> | ||
345 | + <button id="chose-btn-sure" class="btn btn-sure">加入购物车</button> | ||
346 | + </div> | ||
347 | + </div> | ||
348 | + </div> | ||
349 | +';}).' <input id="promotionId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('promotionId')), ENT_QUOTES, 'UTF-8').'">'.' | ||
350 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('cartInfo')), $in, false, function($cx, $in) {return ' <div class="cart-bar"> | ||
351 | + <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'" class="num-incart iconfont"><span class="num-tag hide"></span></a> | ||
352 | + | ||
353 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addToCartUrl')))) ? ' <!-- <a id="addtoCart" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('addToCartUrl')), ENT_QUOTES, 'UTF-8').'" class="addto-cart">加入购物车</a> --> | ||
354 | + <a id="addtoCart" href="javascript:;" class="addto-cart">加入购物车</a> | ||
355 | +' : '').' | ||
356 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('soldOut')))) ? ' <a href="javascript:;" class="sold-out">已售罄</a> | ||
357 | +' : '').' | ||
358 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('notForSale')))) ? ' <a href="javascript:;" class="sold-out">非卖品</a> | ||
359 | +' : '').' | ||
360 | + <a href="javascript:;" id="likeBtn" class="favorite iconfont '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollect')), $in, false, function($cx, $in) {return 'liked';}).'"></a> | ||
361 | + </div> | ||
362 | +';}).''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('introUrl')))) ? ' <input id="introUrl" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('introUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
363 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('id')))) ? ' <input id="productId" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
364 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preferenceUrl')))) ? ' <input id="preferenceUrl" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('preferenceUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
365 | +' : '').' | ||
366 | +</div> | ||
367 | +'.''.''.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"> | ||
368 | + <p class="op-row"> | ||
369 | + <span class="back-to-top"> | ||
370 | + Back to top | ||
371 | + <i class="iconfont"></i> | ||
372 | + </span> | ||
373 | + </p> | ||
374 | + <address class="copyright"> | ||
375 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
376 | + </address> | ||
377 | +</footer> | ||
378 | +';}).' | ||
379 | +'.''.''.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"> | ||
380 | + <div class="float-layer-left"> | ||
381 | + <span class="yoho-icon iconfont"></span> | ||
382 | + <p>新用户送千元礼包</p> | ||
383 | + </div> | ||
384 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
385 | + <i class="close-icon iconfont"></i> | ||
386 | + <div class="circle-rightbottom"></div> | ||
387 | + </a> | ||
388 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
389 | + 立即下载 | ||
390 | + </a> | ||
391 | +</div> | ||
392 | +';}).' | ||
393 | + | ||
394 | + '.''.((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> | ||
395 | +' : '').''.((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> | ||
396 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
397 | +' : '').''.((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> | ||
398 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
399 | +' : '').''.((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> | ||
400 | +<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> | ||
401 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
402 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
403 | +' : '').''.'<script> | ||
404 | + seajs.use(\'js/common\'); | ||
405 | +</script> | ||
406 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
407 | + seajs.use(\'js/guang/plus-star/list\'); | ||
408 | +</script> | ||
409 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
410 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
411 | +</script> | ||
412 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
413 | + seajs.use(\'js/guang/home\'); | ||
414 | +</script> | ||
415 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
416 | + seajs.use(\'js/guang/list\'); | ||
417 | +</script> | ||
418 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
419 | + seajs.use(\'js/guang/detail\', function(d) { | ||
420 | + d.i(true); | ||
421 | + }); | ||
422 | +</script> | ||
423 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
424 | + seajs.use(\'js/guang/detail\', function(d) { | ||
425 | + d.i(false); | ||
426 | + }); | ||
427 | +</script> | ||
428 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
429 | + seajs.use(\'js/passport/register/register\'); | ||
430 | +</script> | ||
431 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
432 | + seajs.use(\'js/passport/register/code\'); | ||
433 | +</script> | ||
434 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
435 | + seajs.use(\'js/passport/register/password\'); | ||
436 | +</script> | ||
437 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
438 | + seajs.use(\'js/passport/bind/bind\'); | ||
439 | +</script> | ||
440 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
441 | + seajs.use(\'js/passport/bind/code\'); | ||
442 | +</script> | ||
443 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
444 | + seajs.use(\'js/passport/bind/password\'); | ||
445 | +</script> | ||
446 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
447 | + seajs.use(\'js/passport/login/login\'); | ||
448 | +</script> | ||
449 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
450 | + seajs.use(\'js/passport/login/international\'); | ||
451 | +</script> | ||
452 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
453 | + seajs.use(\'js/passport/back/email\'); | ||
454 | +</script> | ||
455 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
456 | + seajs.use(\'js/passport/back/email-success\'); | ||
457 | +</script> | ||
458 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
459 | + seajs.use(\'js/passport/back/mobile\'); | ||
460 | +</script> | ||
461 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
462 | + seajs.use(\'js/passport/back/code\'); | ||
463 | +</script> | ||
464 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
465 | + seajs.use(\'js/passport/back/new-password\'); | ||
466 | +</script> | ||
467 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
468 | + seajs.use(\'js/index/channel\'); | ||
469 | + seajs.use(\'js/index/footer\'); | ||
470 | +</script> | ||
471 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
472 | + seajs.use(\'js/home/home\', function(h) { | ||
473 | + h.set(\'girls\'); | ||
474 | + }); | ||
475 | + seajs.use(\'js/index/footer\'); | ||
476 | +</script> | ||
477 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
478 | + seajs.use(\'js/home/home\', function(h) { | ||
479 | + h.set(\'boys\'); | ||
480 | + }); | ||
481 | + seajs.use(\'js/index/footer\'); | ||
482 | +</script> | ||
483 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
484 | + seajs.use(\'js/home/home\', function(h) { | ||
485 | + h.set(\'kids\'); | ||
486 | + }); | ||
487 | + seajs.use(\'js/index/footer\'); | ||
488 | +</script> | ||
489 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
490 | + seajs.use(\'js/home/home\', function(h) { | ||
491 | + h.set(\'lifestyle\'); | ||
492 | + }); | ||
493 | + seajs.use(\'js/index/footer\'); | ||
494 | +</script> | ||
495 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
496 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
497 | + seajs.use(\'js/index/footer\'); | ||
498 | +</script> | ||
499 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
500 | + seajs.use(\'js/product/newsale/discount\'); | ||
501 | + seajs.use(\'js/index/footer\'); | ||
502 | +</script> | ||
503 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
504 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
505 | + seajs.use(\'js/index/footer\'); | ||
506 | +</script> | ||
507 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
508 | + seajs.use(\'js/product/list\'); | ||
509 | + seajs.use(\'js/index/footer\'); | ||
510 | +</script> | ||
511 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
512 | + seajs.use(\'js/product/detail/detail\'); | ||
513 | +</script> | ||
514 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
515 | + seajs.use(\'js/product/detail/loadmore\'); | ||
516 | +</script> | ||
517 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
518 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
519 | +</script> | ||
520 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
521 | + seajs.use(\'js/product/detail/consultform\'); | ||
522 | +</script> | ||
523 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
524 | + seajs.use(\'js/category/index\'); | ||
525 | + seajs.use(\'js/index/footer\'); | ||
526 | +</script> | ||
527 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
528 | + seajs.use(\'js/category/brand\'); | ||
529 | + seajs.use(\'js/index/footer\'); | ||
530 | +</script> | ||
531 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
532 | + seajs.use(\'js/index/search\'); | ||
533 | + seajs.use(\'js/index/footer\'); | ||
534 | +</script> | ||
535 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
536 | + seajs.use(\'js/cart/cart\'); | ||
537 | +</script> | ||
538 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
539 | + seajs.use(\'js/cart/gift-advance\'); | ||
540 | +</script> | ||
541 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
542 | + seajs.use(\'js/cart/gift-advance\'); | ||
543 | +</script> | ||
544 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
545 | + seajs.use(\'js/cart/order-ensure\'); | ||
546 | +</script> | ||
547 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
548 | + seajs.use(\'js/me/address\'); | ||
549 | + seajs.use(\'js/cart/select-address\'); | ||
550 | +</script> | ||
551 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
552 | + seajs.use(\'js/cart/select-coupon\'); | ||
553 | +</script> | ||
554 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
555 | + seajs.use(\'js/me/index\'); | ||
556 | + seajs.use(\'js/index/footer\'); | ||
557 | +</script> | ||
558 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
559 | + seajs.use(\'js/me/order\'); | ||
560 | +</script> | ||
561 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
562 | + seajs.use(\'js/me/order-detail\'); | ||
563 | +</script> | ||
564 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
565 | + seajs.use(\'js/me/fav\'); | ||
566 | +</script> | ||
567 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
568 | + seajs.use(\'js/me/suggest\'); | ||
569 | +</script> | ||
570 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
571 | + seajs.use(\'js/me/coupons\'); | ||
572 | +</script> | ||
573 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
574 | + seajs.use(\'js/me/online-service\'); | ||
575 | +</script> | ||
576 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
577 | + seajs.use(\'js/index/footer\'); | ||
578 | +</script> | ||
579 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
580 | + seajs.use(\'js/me/address\'); | ||
581 | +</script> | ||
582 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
583 | + seajs.use(\'js/me/address-act\'); | ||
584 | +</script> | ||
585 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
586 | + seajs.use(\'js/me/my-guang\'); | ||
587 | +</script> | ||
588 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
589 | + seajs.use(\'js/me/personal-details\'); | ||
590 | +</script> | ||
591 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
592 | + seajs.use(\'js/me/browse-record\'); | ||
593 | +</script> | ||
594 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
595 | + seajs.use(\'js/me/logistic\'); | ||
596 | +</script> | ||
597 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
598 | + seajs.use(\'js/me/pay\'); | ||
599 | +</script> | ||
600 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
601 | + seajs.use(\'js/me/currency\'); | ||
602 | +</script> | ||
603 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
604 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
605 | +<script> | ||
606 | +var _hmt = _hmt || []; | ||
607 | +(function() { | ||
608 | + function async_load(){ | ||
609 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
610 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
611 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
612 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
613 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
614 | + (function() { | ||
615 | + var hm = document.createElement("script"); | ||
616 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
617 | + hm.async = 1; | ||
618 | + var s = document.getElementsByTagName("script")[0]; | ||
619 | + s.parentNode.insertBefore(hm, s); | ||
620 | + })(); | ||
621 | + (function() { | ||
622 | + var hm = document.createElement("script"); | ||
623 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
624 | + hm.async = 1; | ||
625 | + var s = document.getElementsByTagName("script")[0]; | ||
626 | + s.parentNode.insertBefore(hm, s); | ||
627 | + })(); | ||
628 | + (function() { | ||
629 | + var hm = document.createElement("script"); | ||
630 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
631 | + hm.async = 1; | ||
632 | + var s = document.getElementsByTagName("script")[0]; | ||
633 | + s.parentNode.insertBefore(hm, s); | ||
634 | + })(); | ||
635 | + } | ||
636 | + window.addEventListener(\'load\', async_load, false); | ||
637 | +})(); | ||
638 | +</script> | ||
639 | +<script> | ||
640 | + window._py = window._py||[]; | ||
641 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
642 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
643 | + window._py.push([\'e\',\'\']); | ||
644 | + if(typeof _goodsData!=\'undefined\'){ | ||
645 | + window._py.push([\'pi\',_goodsData]); | ||
646 | + } | ||
647 | + -function(d){ | ||
648 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
649 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
650 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
651 | + }(document); | ||
652 | +</script> | ||
653 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
654 | +</html>'.''; | ||
655 | +} | ||
656 | +?> |
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="pay-page yoho-page"> | ||
95 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderCode')))) ? ' <input id=\'ordercode\' type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"> | ||
96 | +' : '').' <div class="payapp-list"> | ||
97 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('payAppInfo')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payLink')))) ? ' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('payLink')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | +' : '').' <div class="box" id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appId')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | + <div class="icon"> | ||
100 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('appIcon')))) ? ' <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('appIcon')), ENT_QUOTES, 'UTF-8').'" alt="app图标"> | ||
101 | +' : ' <div></div> | ||
102 | +').' </div> | ||
103 | + <div class="app">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('app')), ENT_QUOTES, 'UTF-8').'</div> | ||
104 | + <div class="hint"> | ||
105 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('hint')), ENT_QUOTES, 'UTF-8').' | ||
106 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('subHint')))) ? ' <br> | ||
107 | + '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('subHint')), ENT_QUOTES, 'UTF-8').' | ||
108 | +' : '').' </div> | ||
109 | + <div class="iconfont"></div> | ||
110 | + </div> | ||
111 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payLink')))) ? ' </a> | ||
112 | +' : '').'';}).' </div> | ||
113 | +</div> | ||
114 | +<script>_ozprm="orderid='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'&ordertotal='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'";</script> | ||
115 | +<script type="text/javascript" src ="http://static.yohobuy.com/m/v1/js/AG_Tracking.js"></script> | ||
116 | +<script type="text/javascript"> | ||
117 | +var _agq = _agq || []; | ||
118 | +_agq.push([\'_cid\', \'415\']); //生成value | ||
119 | +_agq.push([\'_eid\', \'102\']); //生成value | ||
120 | +_agq.push([\'_orderSum\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"]);//订单金额,客户在页面填写 | ||
121 | +_agq.push([\'_orderNo\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"]);//订单号,客户在页面填写 | ||
122 | +_agq.push([\'_orderNew\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"]);//是否新客单,客户标记是为true否为false | ||
123 | +_agq.push([\'_orderCount\',"'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'"]);//订单货品数目,客户填写 | ||
124 | +ag_send(_agq); | ||
125 | + | ||
126 | +var __order_code = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'"; | ||
127 | +var __order_amount = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotal')), ENT_QUOTES, 'UTF-8').'"; | ||
128 | +var __order_user = "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isOldUser')), ENT_QUOTES, 'UTF-8').'"; | ||
129 | +var __order_goods_num = '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCount')), ENT_QUOTES, 'UTF-8').'; | ||
130 | +var __order_uid = \''.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'\'; | ||
131 | + | ||
132 | +var _fxcmd=_fxcmd||[]; | ||
133 | +_fxcmd.push([\'trackOrder\', { | ||
134 | + // 订单ID | ||
135 | + oid: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", | ||
136 | + // 订单总费用 | ||
137 | + otp : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderTotalFormat')), ENT_QUOTES, 'UTF-8').'", | ||
138 | + // 用户ID* | ||
139 | + unid : "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('uid')), ENT_QUOTES, 'UTF-8').'" | ||
140 | +}]); | ||
141 | +</script> | ||
142 | +<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script> | ||
143 | +<script type="text/javascript"> | ||
144 | +window.criteo_q = window.criteo_q || []; | ||
145 | +window.criteo_q.push( | ||
146 | +{ event: "setAccount", account: [21397] }, | ||
147 | +{ event: "setHashedEmail", email: "" }, | ||
148 | +{ event: "setSiteType", type: "m" }, | ||
149 | +{ event: "trackTransaction" , id: "'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('orderCode')), ENT_QUOTES, 'UTF-8').'", currency: "CNY", item: ""} | ||
150 | +); | ||
151 | +</script> | ||
152 | +'.''.''.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"> | ||
153 | + <p class="op-row"> | ||
154 | + <span class="back-to-top"> | ||
155 | + Back to top | ||
156 | + <i class="iconfont"></i> | ||
157 | + </span> | ||
158 | + </p> | ||
159 | + <address class="copyright"> | ||
160 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
161 | + </address> | ||
162 | +</footer> | ||
163 | +';}).' | ||
164 | +'.''.''.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"> | ||
165 | + <div class="float-layer-left"> | ||
166 | + <span class="yoho-icon iconfont"></span> | ||
167 | + <p>新用户送千元礼包</p> | ||
168 | + </div> | ||
169 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
170 | + <i class="close-icon iconfont"></i> | ||
171 | + <div class="circle-rightbottom"></div> | ||
172 | + </a> | ||
173 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
174 | + 立即下载 | ||
175 | + </a> | ||
176 | +</div> | ||
177 | +';}).' | ||
178 | + | ||
179 | + '.''.((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> | ||
180 | +' : '').''.((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> | ||
181 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
182 | +' : '').''.((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> | ||
183 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
184 | +' : '').''.((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> | ||
185 | +<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> | ||
186 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
187 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
188 | +' : '').''.'<script> | ||
189 | + seajs.use(\'js/common\'); | ||
190 | +</script> | ||
191 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
192 | + seajs.use(\'js/guang/plus-star/list\'); | ||
193 | +</script> | ||
194 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
195 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
196 | +</script> | ||
197 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
198 | + seajs.use(\'js/guang/home\'); | ||
199 | +</script> | ||
200 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
201 | + seajs.use(\'js/guang/list\'); | ||
202 | +</script> | ||
203 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
204 | + seajs.use(\'js/guang/detail\', function(d) { | ||
205 | + d.i(true); | ||
206 | + }); | ||
207 | +</script> | ||
208 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
209 | + seajs.use(\'js/guang/detail\', function(d) { | ||
210 | + d.i(false); | ||
211 | + }); | ||
212 | +</script> | ||
213 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
214 | + seajs.use(\'js/passport/register/register\'); | ||
215 | +</script> | ||
216 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
217 | + seajs.use(\'js/passport/register/code\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
220 | + seajs.use(\'js/passport/register/password\'); | ||
221 | +</script> | ||
222 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
223 | + seajs.use(\'js/passport/bind/bind\'); | ||
224 | +</script> | ||
225 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
226 | + seajs.use(\'js/passport/bind/code\'); | ||
227 | +</script> | ||
228 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
229 | + seajs.use(\'js/passport/bind/password\'); | ||
230 | +</script> | ||
231 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
232 | + seajs.use(\'js/passport/login/login\'); | ||
233 | +</script> | ||
234 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
235 | + seajs.use(\'js/passport/login/international\'); | ||
236 | +</script> | ||
237 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
238 | + seajs.use(\'js/passport/back/email\'); | ||
239 | +</script> | ||
240 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
241 | + seajs.use(\'js/passport/back/email-success\'); | ||
242 | +</script> | ||
243 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
244 | + seajs.use(\'js/passport/back/mobile\'); | ||
245 | +</script> | ||
246 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
247 | + seajs.use(\'js/passport/back/code\'); | ||
248 | +</script> | ||
249 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
250 | + seajs.use(\'js/passport/back/new-password\'); | ||
251 | +</script> | ||
252 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
253 | + seajs.use(\'js/index/channel\'); | ||
254 | + seajs.use(\'js/index/footer\'); | ||
255 | +</script> | ||
256 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
257 | + seajs.use(\'js/home/home\', function(h) { | ||
258 | + h.set(\'girls\'); | ||
259 | + }); | ||
260 | + seajs.use(\'js/index/footer\'); | ||
261 | +</script> | ||
262 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
263 | + seajs.use(\'js/home/home\', function(h) { | ||
264 | + h.set(\'boys\'); | ||
265 | + }); | ||
266 | + seajs.use(\'js/index/footer\'); | ||
267 | +</script> | ||
268 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
269 | + seajs.use(\'js/home/home\', function(h) { | ||
270 | + h.set(\'kids\'); | ||
271 | + }); | ||
272 | + seajs.use(\'js/index/footer\'); | ||
273 | +</script> | ||
274 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
275 | + seajs.use(\'js/home/home\', function(h) { | ||
276 | + h.set(\'lifestyle\'); | ||
277 | + }); | ||
278 | + seajs.use(\'js/index/footer\'); | ||
279 | +</script> | ||
280 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
281 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
282 | + seajs.use(\'js/index/footer\'); | ||
283 | +</script> | ||
284 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
285 | + seajs.use(\'js/product/newsale/discount\'); | ||
286 | + seajs.use(\'js/index/footer\'); | ||
287 | +</script> | ||
288 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
289 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
290 | + seajs.use(\'js/index/footer\'); | ||
291 | +</script> | ||
292 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
293 | + seajs.use(\'js/product/list\'); | ||
294 | + seajs.use(\'js/index/footer\'); | ||
295 | +</script> | ||
296 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
297 | + seajs.use(\'js/product/detail/detail\'); | ||
298 | +</script> | ||
299 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
300 | + seajs.use(\'js/product/detail/loadmore\'); | ||
301 | +</script> | ||
302 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
303 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
304 | +</script> | ||
305 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
306 | + seajs.use(\'js/product/detail/consultform\'); | ||
307 | +</script> | ||
308 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
309 | + seajs.use(\'js/category/index\'); | ||
310 | + seajs.use(\'js/index/footer\'); | ||
311 | +</script> | ||
312 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
313 | + seajs.use(\'js/category/brand\'); | ||
314 | + seajs.use(\'js/index/footer\'); | ||
315 | +</script> | ||
316 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
317 | + seajs.use(\'js/index/search\'); | ||
318 | + seajs.use(\'js/index/footer\'); | ||
319 | +</script> | ||
320 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
321 | + seajs.use(\'js/cart/cart\'); | ||
322 | +</script> | ||
323 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
324 | + seajs.use(\'js/cart/gift-advance\'); | ||
325 | +</script> | ||
326 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
327 | + seajs.use(\'js/cart/gift-advance\'); | ||
328 | +</script> | ||
329 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
330 | + seajs.use(\'js/cart/order-ensure\'); | ||
331 | +</script> | ||
332 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
333 | + seajs.use(\'js/me/address\'); | ||
334 | + seajs.use(\'js/cart/select-address\'); | ||
335 | +</script> | ||
336 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
337 | + seajs.use(\'js/cart/select-coupon\'); | ||
338 | +</script> | ||
339 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
340 | + seajs.use(\'js/me/index\'); | ||
341 | + seajs.use(\'js/index/footer\'); | ||
342 | +</script> | ||
343 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
344 | + seajs.use(\'js/me/order\'); | ||
345 | +</script> | ||
346 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
347 | + seajs.use(\'js/me/order-detail\'); | ||
348 | +</script> | ||
349 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
350 | + seajs.use(\'js/me/fav\'); | ||
351 | +</script> | ||
352 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
353 | + seajs.use(\'js/me/suggest\'); | ||
354 | +</script> | ||
355 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
356 | + seajs.use(\'js/me/coupons\'); | ||
357 | +</script> | ||
358 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
359 | + seajs.use(\'js/me/online-service\'); | ||
360 | +</script> | ||
361 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
362 | + seajs.use(\'js/index/footer\'); | ||
363 | +</script> | ||
364 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
365 | + seajs.use(\'js/me/address\'); | ||
366 | +</script> | ||
367 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
368 | + seajs.use(\'js/me/address-act\'); | ||
369 | +</script> | ||
370 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
371 | + seajs.use(\'js/me/my-guang\'); | ||
372 | +</script> | ||
373 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
374 | + seajs.use(\'js/me/personal-details\'); | ||
375 | +</script> | ||
376 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
377 | + seajs.use(\'js/me/browse-record\'); | ||
378 | +</script> | ||
379 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
380 | + seajs.use(\'js/me/logistic\'); | ||
381 | +</script> | ||
382 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
383 | + seajs.use(\'js/me/pay\'); | ||
384 | +</script> | ||
385 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
386 | + seajs.use(\'js/me/currency\'); | ||
387 | +</script> | ||
388 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
389 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
390 | +<script> | ||
391 | +var _hmt = _hmt || []; | ||
392 | +(function() { | ||
393 | + function async_load(){ | ||
394 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
395 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
396 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
397 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
398 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
399 | + (function() { | ||
400 | + var hm = document.createElement("script"); | ||
401 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
402 | + hm.async = 1; | ||
403 | + var s = document.getElementsByTagName("script")[0]; | ||
404 | + s.parentNode.insertBefore(hm, s); | ||
405 | + })(); | ||
406 | + (function() { | ||
407 | + var hm = document.createElement("script"); | ||
408 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
409 | + hm.async = 1; | ||
410 | + var s = document.getElementsByTagName("script")[0]; | ||
411 | + s.parentNode.insertBefore(hm, s); | ||
412 | + })(); | ||
413 | + (function() { | ||
414 | + var hm = document.createElement("script"); | ||
415 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
416 | + hm.async = 1; | ||
417 | + var s = document.getElementsByTagName("script")[0]; | ||
418 | + s.parentNode.insertBefore(hm, s); | ||
419 | + })(); | ||
420 | + } | ||
421 | + window.addEventListener(\'load\', async_load, false); | ||
422 | +})(); | ||
423 | +</script> | ||
424 | +<script> | ||
425 | + window._py = window._py||[]; | ||
426 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
427 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
428 | + window._py.push([\'e\',\'\']); | ||
429 | + if(typeof _goodsData!=\'undefined\'){ | ||
430 | + window._py.push([\'pi\',_goodsData]); | ||
431 | + } | ||
432 | + -function(d){ | ||
433 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
434 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
435 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
436 | + }(document); | ||
437 | +</script> | ||
438 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
439 | +</html>'.' | ||
440 | +'; | ||
441 | +} | ||
442 | +?> |
-
Please register or login to post a comment