code review by hf: do add 99click partner analysis code and add login,cart to support https config
Showing
7 changed files
with
1294 additions
and
8 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="err-page yoho-page"> | ||
95 | + <div class="err-bg"></div> | ||
96 | +</div> | ||
97 | +'.''.''.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"> | ||
98 | + <p class="op-row"> | ||
99 | + <span class="back-to-top"> | ||
100 | + Back to top | ||
101 | + <i class="iconfont"></i> | ||
102 | + </span> | ||
103 | + </p> | ||
104 | + <address class="copyright"> | ||
105 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
106 | + </address> | ||
107 | +</footer> | ||
108 | +';}).' | ||
109 | +'.''.''.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"> | ||
110 | + <div class="float-layer-left"> | ||
111 | + <span class="yoho-icon iconfont"></span> | ||
112 | + <p>新用户送千元礼包</p> | ||
113 | + </div> | ||
114 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
115 | + <i class="close-icon iconfont"></i> | ||
116 | + <div class="circle-rightbottom"></div> | ||
117 | + </a> | ||
118 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
119 | + 立即下载 | ||
120 | + </a> | ||
121 | +</div> | ||
122 | +';}).' | ||
123 | + | ||
124 | + '.''.((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> | ||
125 | +' : '').''.((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> | ||
126 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
127 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
128 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
129 | +' : '').''.((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> | ||
130 | +<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> | ||
131 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
132 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
133 | +' : '').''.'<script> | ||
134 | + seajs.use(\'js/common\'); | ||
135 | +</script> | ||
136 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
137 | + seajs.use(\'js/guang/plus-star/list\'); | ||
138 | +</script> | ||
139 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
140 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
141 | +</script> | ||
142 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
143 | + seajs.use(\'js/guang/home\'); | ||
144 | +</script> | ||
145 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
146 | + seajs.use(\'js/guang/list\'); | ||
147 | +</script> | ||
148 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
149 | + seajs.use(\'js/guang/detail\', function(d) { | ||
150 | + d.i(true); | ||
151 | + }); | ||
152 | +</script> | ||
153 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
154 | + seajs.use(\'js/guang/detail\', function(d) { | ||
155 | + d.i(false); | ||
156 | + }); | ||
157 | +</script> | ||
158 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
159 | + seajs.use(\'js/passport/register/register\'); | ||
160 | +</script> | ||
161 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
162 | + seajs.use(\'js/passport/register/code\'); | ||
163 | +</script> | ||
164 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
165 | + seajs.use(\'js/passport/register/password\'); | ||
166 | +</script> | ||
167 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
168 | + seajs.use(\'js/passport/bind/bind\'); | ||
169 | +</script> | ||
170 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
171 | + seajs.use(\'js/passport/bind/code\'); | ||
172 | +</script> | ||
173 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
174 | + seajs.use(\'js/passport/bind/password\'); | ||
175 | +</script> | ||
176 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
177 | + seajs.use(\'js/passport/login/login\'); | ||
178 | +</script> | ||
179 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
180 | + seajs.use(\'js/passport/login/international\'); | ||
181 | +</script> | ||
182 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
183 | + seajs.use(\'js/passport/back/email\'); | ||
184 | +</script> | ||
185 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
186 | + seajs.use(\'js/passport/back/email-success\'); | ||
187 | +</script> | ||
188 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
189 | + seajs.use(\'js/passport/back/mobile\'); | ||
190 | +</script> | ||
191 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
192 | + seajs.use(\'js/passport/back/code\'); | ||
193 | +</script> | ||
194 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
195 | + seajs.use(\'js/passport/back/new-password\'); | ||
196 | +</script> | ||
197 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
198 | + seajs.use(\'js/index/channel\'); | ||
199 | + seajs.use(\'js/index/footer\'); | ||
200 | +</script> | ||
201 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
202 | + seajs.use(\'js/home/home\', function(h) { | ||
203 | + h.set(\'girls\'); | ||
204 | + }); | ||
205 | + seajs.use(\'js/index/footer\'); | ||
206 | +</script> | ||
207 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
208 | + seajs.use(\'js/home/home\', function(h) { | ||
209 | + h.set(\'boys\'); | ||
210 | + }); | ||
211 | + seajs.use(\'js/index/footer\'); | ||
212 | +</script> | ||
213 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
214 | + seajs.use(\'js/home/home\', function(h) { | ||
215 | + h.set(\'kids\'); | ||
216 | + }); | ||
217 | + seajs.use(\'js/index/footer\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
220 | + seajs.use(\'js/home/home\', function(h) { | ||
221 | + h.set(\'lifestyle\'); | ||
222 | + }); | ||
223 | + seajs.use(\'js/index/footer\'); | ||
224 | +</script> | ||
225 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
226 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
227 | + seajs.use(\'js/index/footer\'); | ||
228 | +</script> | ||
229 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
230 | + seajs.use(\'js/product/newsale/discount\'); | ||
231 | + seajs.use(\'js/index/footer\'); | ||
232 | +</script> | ||
233 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
234 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
235 | + seajs.use(\'js/index/footer\'); | ||
236 | +</script> | ||
237 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
238 | + seajs.use(\'js/product/list\'); | ||
239 | + seajs.use(\'js/index/footer\'); | ||
240 | +</script> | ||
241 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
242 | + seajs.use(\'js/product/detail/detail\'); | ||
243 | +</script> | ||
244 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
245 | + seajs.use(\'js/product/detail/loadmore\'); | ||
246 | +</script> | ||
247 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
248 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
249 | +</script> | ||
250 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
251 | + seajs.use(\'js/product/detail/consultform\'); | ||
252 | +</script> | ||
253 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
254 | + seajs.use(\'js/category/index\'); | ||
255 | + seajs.use(\'js/index/footer\'); | ||
256 | +</script> | ||
257 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
258 | + seajs.use(\'js/category/brand\'); | ||
259 | + seajs.use(\'js/index/footer\'); | ||
260 | +</script> | ||
261 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
262 | + seajs.use(\'js/index/search\'); | ||
263 | + seajs.use(\'js/index/footer\'); | ||
264 | +</script> | ||
265 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
266 | + seajs.use(\'js/cart/cart\'); | ||
267 | +</script> | ||
268 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
269 | + seajs.use(\'js/cart/gift-advance\'); | ||
270 | +</script> | ||
271 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
272 | + seajs.use(\'js/cart/gift-advance\'); | ||
273 | +</script> | ||
274 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
275 | + seajs.use(\'js/cart/order-ensure\'); | ||
276 | +</script> | ||
277 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
278 | + seajs.use(\'js/me/address\'); | ||
279 | + seajs.use(\'js/cart/select-address\'); | ||
280 | +</script> | ||
281 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
282 | + seajs.use(\'js/cart/select-coupon\'); | ||
283 | +</script> | ||
284 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
285 | + seajs.use(\'js/me/index\'); | ||
286 | + seajs.use(\'js/index/footer\'); | ||
287 | +</script> | ||
288 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
289 | + seajs.use(\'js/me/order\'); | ||
290 | +</script> | ||
291 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
292 | + seajs.use(\'js/me/order-detail\'); | ||
293 | +</script> | ||
294 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
295 | + seajs.use(\'js/me/fav\'); | ||
296 | +</script> | ||
297 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
298 | + seajs.use(\'js/me/suggest\'); | ||
299 | +</script> | ||
300 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
301 | + seajs.use(\'js/me/coupons\'); | ||
302 | +</script> | ||
303 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
304 | + seajs.use(\'js/me/online-service\'); | ||
305 | +</script> | ||
306 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
307 | + seajs.use(\'js/index/footer\'); | ||
308 | +</script> | ||
309 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
310 | + seajs.use(\'js/me/address\'); | ||
311 | +</script> | ||
312 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
313 | + seajs.use(\'js/me/address-act\'); | ||
314 | +</script> | ||
315 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
316 | + seajs.use(\'js/me/my-guang\'); | ||
317 | +</script> | ||
318 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
319 | + seajs.use(\'js/me/personal-details\'); | ||
320 | +</script> | ||
321 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
322 | + seajs.use(\'js/me/browse-record\'); | ||
323 | +</script> | ||
324 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
325 | + seajs.use(\'js/me/logistic\'); | ||
326 | +</script> | ||
327 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
328 | + seajs.use(\'js/me/pay\'); | ||
329 | +</script> | ||
330 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
331 | + seajs.use(\'js/me/currency\'); | ||
332 | +</script> | ||
333 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
334 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
335 | +<script> | ||
336 | +var _hmt = _hmt || []; | ||
337 | +(function() { | ||
338 | + function async_load(){ | ||
339 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
340 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
341 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
342 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
343 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
344 | + (function() { | ||
345 | + var hm = document.createElement("script"); | ||
346 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
347 | + hm.async = 1; | ||
348 | + var s = document.getElementsByTagName("script")[0]; | ||
349 | + s.parentNode.insertBefore(hm, s); | ||
350 | + })(); | ||
351 | + (function() { | ||
352 | + var hm = document.createElement("script"); | ||
353 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
354 | + hm.async = 1; | ||
355 | + var s = document.getElementsByTagName("script")[0]; | ||
356 | + s.parentNode.insertBefore(hm, s); | ||
357 | + })(); | ||
358 | + (function() { | ||
359 | + var hm = document.createElement("script"); | ||
360 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
361 | + hm.async = 1; | ||
362 | + var s = document.getElementsByTagName("script")[0]; | ||
363 | + s.parentNode.insertBefore(hm, s); | ||
364 | + })(); | ||
365 | + } | ||
366 | + window.addEventListener(\'load\', async_load, false); | ||
367 | +})(); | ||
368 | +</script> | ||
369 | +<script> | ||
370 | + window._py = window._py||[]; | ||
371 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
372 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
373 | + window._py.push([\'e\',\'\']); | ||
374 | + if(typeof _goodsData!=\'undefined\'){ | ||
375 | + window._py.push([\'pi\',_goodsData]); | ||
376 | + } | ||
377 | + -function(d){ | ||
378 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
379 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
380 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
381 | + }(document); | ||
382 | +</script> | ||
383 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
384 | +</html>'.''; | ||
385 | +} | ||
386 | +?> |
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 | +'.''.''.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"> | ||
202 | + <p class="op-row"> | ||
203 | + <span class="back-to-top"> | ||
204 | + Back to top | ||
205 | + <i class="iconfont"></i> | ||
206 | + </span> | ||
207 | + </p> | ||
208 | + <address class="copyright"> | ||
209 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
210 | + </address> | ||
211 | +</footer> | ||
212 | +';}).' | ||
213 | +'.''.''.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"> | ||
214 | + <div class="float-layer-left"> | ||
215 | + <span class="yoho-icon iconfont"></span> | ||
216 | + <p>新用户送千元礼包</p> | ||
217 | + </div> | ||
218 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
219 | + <i class="close-icon iconfont"></i> | ||
220 | + <div class="circle-rightbottom"></div> | ||
221 | + </a> | ||
222 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
223 | + 立即下载 | ||
224 | + </a> | ||
225 | +</div> | ||
226 | +';}).' | ||
227 | + | ||
228 | + '.''.((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> | ||
229 | +' : '').''.((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> | ||
230 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
231 | +' : '').''.((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> | ||
232 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
233 | +' : '').''.((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> | ||
234 | +<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> | ||
235 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
236 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
237 | +' : '').''.'<script> | ||
238 | + seajs.use(\'js/common\'); | ||
239 | +</script> | ||
240 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
241 | + seajs.use(\'js/guang/plus-star/list\'); | ||
242 | +</script> | ||
243 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
244 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
245 | +</script> | ||
246 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
247 | + seajs.use(\'js/guang/home\'); | ||
248 | +</script> | ||
249 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
250 | + seajs.use(\'js/guang/list\'); | ||
251 | +</script> | ||
252 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
253 | + seajs.use(\'js/guang/detail\', function(d) { | ||
254 | + d.i(true); | ||
255 | + }); | ||
256 | +</script> | ||
257 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
258 | + seajs.use(\'js/guang/detail\', function(d) { | ||
259 | + d.i(false); | ||
260 | + }); | ||
261 | +</script> | ||
262 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
263 | + seajs.use(\'js/passport/register/register\'); | ||
264 | +</script> | ||
265 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
266 | + seajs.use(\'js/passport/register/code\'); | ||
267 | +</script> | ||
268 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
269 | + seajs.use(\'js/passport/register/password\'); | ||
270 | +</script> | ||
271 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
272 | + seajs.use(\'js/passport/bind/bind\'); | ||
273 | +</script> | ||
274 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
275 | + seajs.use(\'js/passport/bind/code\'); | ||
276 | +</script> | ||
277 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
278 | + seajs.use(\'js/passport/bind/password\'); | ||
279 | +</script> | ||
280 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
281 | + seajs.use(\'js/passport/login/login\'); | ||
282 | +</script> | ||
283 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
284 | + seajs.use(\'js/passport/login/international\'); | ||
285 | +</script> | ||
286 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
287 | + seajs.use(\'js/passport/back/email\'); | ||
288 | +</script> | ||
289 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
290 | + seajs.use(\'js/passport/back/email-success\'); | ||
291 | +</script> | ||
292 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
293 | + seajs.use(\'js/passport/back/mobile\'); | ||
294 | +</script> | ||
295 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
296 | + seajs.use(\'js/passport/back/code\'); | ||
297 | +</script> | ||
298 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
299 | + seajs.use(\'js/passport/back/new-password\'); | ||
300 | +</script> | ||
301 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
302 | + seajs.use(\'js/index/channel\'); | ||
303 | + seajs.use(\'js/index/footer\'); | ||
304 | +</script> | ||
305 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
306 | + seajs.use(\'js/home/home\', function(h) { | ||
307 | + h.set(\'girls\'); | ||
308 | + }); | ||
309 | + seajs.use(\'js/index/footer\'); | ||
310 | +</script> | ||
311 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
312 | + seajs.use(\'js/home/home\', function(h) { | ||
313 | + h.set(\'boys\'); | ||
314 | + }); | ||
315 | + seajs.use(\'js/index/footer\'); | ||
316 | +</script> | ||
317 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
318 | + seajs.use(\'js/home/home\', function(h) { | ||
319 | + h.set(\'kids\'); | ||
320 | + }); | ||
321 | + seajs.use(\'js/index/footer\'); | ||
322 | +</script> | ||
323 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
324 | + seajs.use(\'js/home/home\', function(h) { | ||
325 | + h.set(\'lifestyle\'); | ||
326 | + }); | ||
327 | + seajs.use(\'js/index/footer\'); | ||
328 | +</script> | ||
329 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
330 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
331 | + seajs.use(\'js/index/footer\'); | ||
332 | +</script> | ||
333 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
334 | + seajs.use(\'js/product/newsale/discount\'); | ||
335 | + seajs.use(\'js/index/footer\'); | ||
336 | +</script> | ||
337 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
338 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
339 | + seajs.use(\'js/index/footer\'); | ||
340 | +</script> | ||
341 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
342 | + seajs.use(\'js/product/list\'); | ||
343 | + seajs.use(\'js/index/footer\'); | ||
344 | +</script> | ||
345 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
346 | + seajs.use(\'js/product/detail/detail\'); | ||
347 | +</script> | ||
348 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
349 | + seajs.use(\'js/product/detail/loadmore\'); | ||
350 | +</script> | ||
351 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
352 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
353 | +</script> | ||
354 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
355 | + seajs.use(\'js/product/detail/consultform\'); | ||
356 | +</script> | ||
357 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
358 | + seajs.use(\'js/category/index\'); | ||
359 | + seajs.use(\'js/index/footer\'); | ||
360 | +</script> | ||
361 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
362 | + seajs.use(\'js/category/brand\'); | ||
363 | + seajs.use(\'js/index/footer\'); | ||
364 | +</script> | ||
365 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
366 | + seajs.use(\'js/index/search\'); | ||
367 | + seajs.use(\'js/index/footer\'); | ||
368 | +</script> | ||
369 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
370 | + seajs.use(\'js/cart/cart\'); | ||
371 | +</script> | ||
372 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
373 | + seajs.use(\'js/cart/gift-advance\'); | ||
374 | +</script> | ||
375 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
376 | + seajs.use(\'js/cart/gift-advance\'); | ||
377 | +</script> | ||
378 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
379 | + seajs.use(\'js/cart/order-ensure\'); | ||
380 | +</script> | ||
381 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
382 | + seajs.use(\'js/me/address\'); | ||
383 | + seajs.use(\'js/cart/select-address\'); | ||
384 | +</script> | ||
385 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
386 | + seajs.use(\'js/cart/select-coupon\'); | ||
387 | +</script> | ||
388 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
389 | + seajs.use(\'js/me/index\'); | ||
390 | + seajs.use(\'js/index/footer\'); | ||
391 | +</script> | ||
392 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
393 | + seajs.use(\'js/me/order\'); | ||
394 | +</script> | ||
395 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
396 | + seajs.use(\'js/me/order-detail\'); | ||
397 | +</script> | ||
398 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
399 | + seajs.use(\'js/me/fav\'); | ||
400 | +</script> | ||
401 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
402 | + seajs.use(\'js/me/suggest\'); | ||
403 | +</script> | ||
404 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
405 | + seajs.use(\'js/me/coupons\'); | ||
406 | +</script> | ||
407 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
408 | + seajs.use(\'js/me/online-service\'); | ||
409 | +</script> | ||
410 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
411 | + seajs.use(\'js/index/footer\'); | ||
412 | +</script> | ||
413 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
414 | + seajs.use(\'js/me/address\'); | ||
415 | +</script> | ||
416 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
417 | + seajs.use(\'js/me/address-act\'); | ||
418 | +</script> | ||
419 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
420 | + seajs.use(\'js/me/my-guang\'); | ||
421 | +</script> | ||
422 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
423 | + seajs.use(\'js/me/personal-details\'); | ||
424 | +</script> | ||
425 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
426 | + seajs.use(\'js/me/browse-record\'); | ||
427 | +</script> | ||
428 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
429 | + seajs.use(\'js/me/logistic\'); | ||
430 | +</script> | ||
431 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
432 | + seajs.use(\'js/me/pay\'); | ||
433 | +</script> | ||
434 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
435 | + seajs.use(\'js/me/currency\'); | ||
436 | +</script> | ||
437 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
438 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
439 | +<script> | ||
440 | +var _hmt = _hmt || []; | ||
441 | +(function() { | ||
442 | + function async_load(){ | ||
443 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
444 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
445 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
446 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
447 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
448 | + (function() { | ||
449 | + var hm = document.createElement("script"); | ||
450 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
451 | + hm.async = 1; | ||
452 | + var s = document.getElementsByTagName("script")[0]; | ||
453 | + s.parentNode.insertBefore(hm, s); | ||
454 | + })(); | ||
455 | + (function() { | ||
456 | + var hm = document.createElement("script"); | ||
457 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
458 | + hm.async = 1; | ||
459 | + var s = document.getElementsByTagName("script")[0]; | ||
460 | + s.parentNode.insertBefore(hm, s); | ||
461 | + })(); | ||
462 | + (function() { | ||
463 | + var hm = document.createElement("script"); | ||
464 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
465 | + hm.async = 1; | ||
466 | + var s = document.getElementsByTagName("script")[0]; | ||
467 | + s.parentNode.insertBefore(hm, s); | ||
468 | + })(); | ||
469 | + } | ||
470 | + window.addEventListener(\'load\', async_load, false); | ||
471 | +})(); | ||
472 | +</script> | ||
473 | +<script> | ||
474 | + window._py = window._py||[]; | ||
475 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
476 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
477 | + window._py.push([\'e\',\'\']); | ||
478 | + if(typeof _goodsData!=\'undefined\'){ | ||
479 | + window._py.push([\'pi\',_goodsData]); | ||
480 | + } | ||
481 | + -function(d){ | ||
482 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
483 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
484 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
485 | + }(document); | ||
486 | +</script> | ||
487 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
488 | +</html>'.''; | ||
489 | +} | ||
490 | +?> |
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 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageFooter')), $in, false, function($cx, $in) {return '<footer id="yoho-footer" class="yoho-footer hide"> | ||
116 | + <p class="op-row"> | ||
117 | + <span class="back-to-top"> | ||
118 | + Back to top | ||
119 | + <i class="iconfont"></i> | ||
120 | + </span> | ||
121 | + </p> | ||
122 | + <address class="copyright"> | ||
123 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
124 | + </address> | ||
125 | +</footer> | ||
126 | +';}).' | ||
127 | +'.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showDownloadApp')), $in, false, function($cx, $in) {return '<div class="float-layer hide" id="float-layer-app"> | ||
128 | + <div class="float-layer-left"> | ||
129 | + <span class="yoho-icon iconfont"></span> | ||
130 | + <p>新用户送千元礼包</p> | ||
131 | + </div> | ||
132 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
133 | + <i class="close-icon iconfont"></i> | ||
134 | + <div class="circle-rightbottom"></div> | ||
135 | + </a> | ||
136 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
137 | + 立即下载 | ||
138 | + </a> | ||
139 | +</div> | ||
140 | +';}).' | ||
141 | + | ||
142 | + '.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hasWxShare')))) ? '<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> | ||
143 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
144 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
145 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
146 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
147 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/lib.js"></script> | ||
148 | +<script src="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index-debug.js"></script> | ||
149 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
150 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
151 | +' : '').''.'<script> | ||
152 | + seajs.use(\'js/common\'); | ||
153 | +</script> | ||
154 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
155 | + seajs.use(\'js/guang/plus-star/list\'); | ||
156 | +</script> | ||
157 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
158 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
159 | +</script> | ||
160 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
161 | + seajs.use(\'js/guang/home\'); | ||
162 | +</script> | ||
163 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
164 | + seajs.use(\'js/guang/list\'); | ||
165 | +</script> | ||
166 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
167 | + seajs.use(\'js/guang/detail\', function(d) { | ||
168 | + d.i(true); | ||
169 | + }); | ||
170 | +</script> | ||
171 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
172 | + seajs.use(\'js/guang/detail\', function(d) { | ||
173 | + d.i(false); | ||
174 | + }); | ||
175 | +</script> | ||
176 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
177 | + seajs.use(\'js/passport/register/register\'); | ||
178 | +</script> | ||
179 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
180 | + seajs.use(\'js/passport/register/code\'); | ||
181 | +</script> | ||
182 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
183 | + seajs.use(\'js/passport/register/password\'); | ||
184 | +</script> | ||
185 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindIndex')))) ? '<script> | ||
186 | + seajs.use(\'js/passport/bind/bind\'); | ||
187 | +</script> | ||
188 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindCode')))) ? '<script> | ||
189 | + seajs.use(\'js/passport/bind/code\'); | ||
190 | +</script> | ||
191 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bindPwd')))) ? '<script> | ||
192 | + seajs.use(\'js/passport/bind/password\'); | ||
193 | +</script> | ||
194 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
195 | + seajs.use(\'js/passport/login/login\'); | ||
196 | +</script> | ||
197 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
198 | + seajs.use(\'js/passport/login/international\'); | ||
199 | +</script> | ||
200 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
201 | + seajs.use(\'js/passport/back/email\'); | ||
202 | +</script> | ||
203 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
204 | + seajs.use(\'js/passport/back/email-success\'); | ||
205 | +</script> | ||
206 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
207 | + seajs.use(\'js/passport/back/mobile\'); | ||
208 | +</script> | ||
209 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
210 | + seajs.use(\'js/passport/back/code\'); | ||
211 | +</script> | ||
212 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
213 | + seajs.use(\'js/passport/back/new-password\'); | ||
214 | +</script> | ||
215 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
216 | + seajs.use(\'js/index/channel\'); | ||
217 | + seajs.use(\'js/index/footer\'); | ||
218 | +</script> | ||
219 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
220 | + seajs.use(\'js/home/home\', function(h) { | ||
221 | + h.set(\'girls\'); | ||
222 | + }); | ||
223 | + seajs.use(\'js/index/footer\'); | ||
224 | +</script> | ||
225 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
226 | + seajs.use(\'js/home/home\', function(h) { | ||
227 | + h.set(\'boys\'); | ||
228 | + }); | ||
229 | + seajs.use(\'js/index/footer\'); | ||
230 | +</script> | ||
231 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
232 | + seajs.use(\'js/home/home\', function(h) { | ||
233 | + h.set(\'kids\'); | ||
234 | + }); | ||
235 | + seajs.use(\'js/index/footer\'); | ||
236 | +</script> | ||
237 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
238 | + seajs.use(\'js/home/home\', function(h) { | ||
239 | + h.set(\'lifestyle\'); | ||
240 | + }); | ||
241 | + seajs.use(\'js/index/footer\'); | ||
242 | +</script> | ||
243 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
244 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
245 | + seajs.use(\'js/index/footer\'); | ||
246 | +</script> | ||
247 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
248 | + seajs.use(\'js/product/newsale/discount\'); | ||
249 | + seajs.use(\'js/index/footer\'); | ||
250 | +</script> | ||
251 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script> | ||
252 | + seajs.use(\'js/product/newsale/hot-rank\'); | ||
253 | + seajs.use(\'js/index/footer\'); | ||
254 | +</script> | ||
255 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
256 | + seajs.use(\'js/product/list\'); | ||
257 | + seajs.use(\'js/index/footer\'); | ||
258 | +</script> | ||
259 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
260 | + seajs.use(\'js/product/detail/detail\'); | ||
261 | +</script> | ||
262 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsCommentsPage')))) ? '<script> | ||
263 | + seajs.use(\'js/product/detail/loadmore\'); | ||
264 | +</script> | ||
265 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsConsultsPage')))) ? '<script> | ||
266 | + seajs.use(\'js/product/detail/comments-consults\'); | ||
267 | +</script> | ||
268 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('consultformPage')))) ? '<script> | ||
269 | + seajs.use(\'js/product/detail/consultform\'); | ||
270 | +</script> | ||
271 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
272 | + seajs.use(\'js/category/index\'); | ||
273 | + seajs.use(\'js/index/footer\'); | ||
274 | +</script> | ||
275 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
276 | + seajs.use(\'js/category/brand\'); | ||
277 | + seajs.use(\'js/index/footer\'); | ||
278 | +</script> | ||
279 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
280 | + seajs.use(\'js/index/search\'); | ||
281 | + seajs.use(\'js/index/footer\'); | ||
282 | +</script> | ||
283 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
284 | + seajs.use(\'js/cart/cart\'); | ||
285 | +</script> | ||
286 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftPage')))) ? '<script> | ||
287 | + seajs.use(\'js/cart/gift-advance\'); | ||
288 | +</script> | ||
289 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('advanceBuyPage')))) ? '<script> | ||
290 | + seajs.use(\'js/cart/gift-advance\'); | ||
291 | +</script> | ||
292 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderEnsurePage')))) ? '<script> | ||
293 | + seajs.use(\'js/cart/order-ensure\'); | ||
294 | +</script> | ||
295 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectAddressPage')))) ? '<script> | ||
296 | + seajs.use(\'js/me/address\'); | ||
297 | + seajs.use(\'js/cart/select-address\'); | ||
298 | +</script> | ||
299 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('selectCouponPage')))) ? '<script> | ||
300 | + seajs.use(\'js/cart/select-coupon\'); | ||
301 | +</script> | ||
302 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myIndexPage')))) ? '<script> | ||
303 | + seajs.use(\'js/me/index\'); | ||
304 | + seajs.use(\'js/index/footer\'); | ||
305 | +</script> | ||
306 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script> | ||
307 | + seajs.use(\'js/me/order\'); | ||
308 | +</script> | ||
309 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderDetailPage')))) ? '<script> | ||
310 | + seajs.use(\'js/me/order-detail\'); | ||
311 | +</script> | ||
312 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('favPage')))) ? '<script> | ||
313 | + seajs.use(\'js/me/fav\'); | ||
314 | +</script> | ||
315 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('suggestPage')))) ? '<script> | ||
316 | + seajs.use(\'js/me/suggest\'); | ||
317 | +</script> | ||
318 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('couponsPage')))) ? '<script> | ||
319 | + seajs.use(\'js/me/coupons\'); | ||
320 | +</script> | ||
321 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServicePage')))) ? '<script> | ||
322 | + seajs.use(\'js/me/online-service\'); | ||
323 | +</script> | ||
324 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('onlineServiceDetailPage')))) ? '<script> | ||
325 | + seajs.use(\'js/index/footer\'); | ||
326 | +</script> | ||
327 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressPage')))) ? '<script> | ||
328 | + seajs.use(\'js/me/address\'); | ||
329 | +</script> | ||
330 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('addressActionPage')))) ? '<script> | ||
331 | + seajs.use(\'js/me/address-act\'); | ||
332 | +</script> | ||
333 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('myGuangPage')))) ? '<script> | ||
334 | + seajs.use(\'js/me/my-guang\'); | ||
335 | +</script> | ||
336 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('personalDetailsPage')))) ? '<script> | ||
337 | + seajs.use(\'js/me/personal-details\'); | ||
338 | +</script> | ||
339 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('browseRecordPage')))) ? '<script> | ||
340 | + seajs.use(\'js/me/browse-record\'); | ||
341 | +</script> | ||
342 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('logisticInfoPage')))) ? '<script> | ||
343 | + seajs.use(\'js/me/logistic\'); | ||
344 | +</script> | ||
345 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('payCenterPage')))) ? '<script> | ||
346 | + seajs.use(\'js/me/pay\'); | ||
347 | +</script> | ||
348 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('currencyDetail')))) ? '<script> | ||
349 | + seajs.use(\'js/me/currency\'); | ||
350 | +</script> | ||
351 | +' : '').''.''.'<!-- Google Tag Manager --> | ||
352 | +<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
353 | +<script> | ||
354 | +var _hmt = _hmt || []; | ||
355 | +(function() { | ||
356 | + function async_load(){ | ||
357 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
358 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
359 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
360 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
361 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
362 | + (function() { | ||
363 | + var hm = document.createElement("script"); | ||
364 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
365 | + hm.async = 1; | ||
366 | + var s = document.getElementsByTagName("script")[0]; | ||
367 | + s.parentNode.insertBefore(hm, s); | ||
368 | + })(); | ||
369 | + (function() { | ||
370 | + var hm = document.createElement("script"); | ||
371 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
372 | + hm.async = 1; | ||
373 | + var s = document.getElementsByTagName("script")[0]; | ||
374 | + s.parentNode.insertBefore(hm, s); | ||
375 | + })(); | ||
376 | + (function() { | ||
377 | + var hm = document.createElement("script"); | ||
378 | + hm.src = "http://static.yohobuy.com/js/analytics/analysis.js"; | ||
379 | + hm.async = 1; | ||
380 | + var s = document.getElementsByTagName("script")[0]; | ||
381 | + s.parentNode.insertBefore(hm, s); | ||
382 | + })(); | ||
383 | + } | ||
384 | + window.addEventListener(\'load\', async_load, false); | ||
385 | +})(); | ||
386 | +</script> | ||
387 | +<script> | ||
388 | + window._py = window._py||[]; | ||
389 | + window._py.push([\'a\', \'MC..o8vMMWxEXDCiqYckD81lUX\']); | ||
390 | + window._py.push([\'domain\',\'stats.ipinyou.com\']); | ||
391 | + window._py.push([\'e\',\'\']); | ||
392 | + if(typeof _goodsData!=\'undefined\'){ | ||
393 | + window._py.push([\'pi\',_goodsData]); | ||
394 | + } | ||
395 | + -function(d){ | ||
396 | + var f = \'https:\' == d.location.protocol;var c = d.createElement(\'script\');c.type=\'text/javascript\';c.async=1; | ||
397 | + c.src=(f ? \'https\' : \'http\') + \'://\'+(f?\'fm.ipinyou.com\':\'fm.p0y.cn\')+\'/j/t/adv.js\'; | ||
398 | + var h = d.getElementsByTagName("script")[0];h.parentNode.insertBefore(c, h); | ||
399 | + }(document); | ||
400 | +</script> | ||
401 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js" async="async"></script>'.'</body> | ||
402 | +</html>'.' | ||
403 | +'; | ||
404 | +} | ||
405 | +?> |
@@ -97,7 +97,5 @@ | @@ -97,7 +97,5 @@ | ||
97 | </div> | 97 | </div> |
98 | {{/ orderDetail}} | 98 | {{/ orderDetail}} |
99 | </div> | 99 | </div> |
100 | -<script> | ||
101 | - var orderid="{{orderCode}}"; | ||
102 | -</script> | 100 | +<script>_ozprm="orderid={{orderCode}}&ordertotal={{orderTotal}}";</script> |
103 | {{> layout/footer}} | 101 | {{> layout/footer}} |
@@ -32,8 +32,6 @@ | @@ -32,8 +32,6 @@ | ||
32 | {{/ payAppInfo}} | 32 | {{/ payAppInfo}} |
33 | </div> | 33 | </div> |
34 | </div> | 34 | </div> |
35 | -<script> | ||
36 | - var orderid="{{orderCode}}"; | ||
37 | -</script> | 35 | +<script>_ozprm="orderid={{orderCode}}&ordertotal={{orderTotal}}";</script> |
38 | {{> layout/footer}} | 36 | {{> layout/footer}} |
39 | 37 |
@@ -793,6 +793,12 @@ class HomeController extends AbstractAction | @@ -793,6 +793,12 @@ class HomeController extends AbstractAction | ||
793 | if (empty($orderCode)) { | 793 | if (empty($orderCode)) { |
794 | $this->error(); | 794 | $this->error(); |
795 | } | 795 | } |
796 | + | ||
797 | + /* 判断订单信息是否存在 */ | ||
798 | + $orderDetail = OrderModel::orderDetail($orderCode, $this->_uid, $this->_usession); | ||
799 | + if (empty($orderDetail)) { | ||
800 | + $this->error(); | ||
801 | + } | ||
796 | 802 | ||
797 | $hasWxShare = strpos($this->server('HTTP_USER_AGENT', ''), 'MicroMessenger') !== false; | 803 | $hasWxShare = strpos($this->server('HTTP_USER_AGENT', ''), 'MicroMessenger') !== false; |
798 | if ($hasWxShare) { | 804 | if ($hasWxShare) { |
@@ -823,8 +829,9 @@ class HomeController extends AbstractAction | @@ -823,8 +829,9 @@ class HomeController extends AbstractAction | ||
823 | 'subHint' => '', | 829 | 'subHint' => '', |
824 | ), | 830 | ), |
825 | ), | 831 | ), |
826 | - 'orderCode' => $orderCode, | ||
827 | 'hasWxShare' => $hasWxShare, | 832 | 'hasWxShare' => $hasWxShare, |
833 | + 'orderCode' => $orderCode, | ||
834 | + 'orderTotal' => isset($orderDetail['goodsAmount']) ? $orderDetail['goodsAmount'] : 0, | ||
828 | )); | 835 | )); |
829 | } | 836 | } |
830 | 837 | ||
@@ -905,7 +912,7 @@ class HomeController extends AbstractAction | @@ -905,7 +912,7 @@ class HomeController extends AbstractAction | ||
905 | $this->error(); | 912 | $this->error(); |
906 | } | 913 | } |
907 | 914 | ||
908 | - /* 订单信息不存在 */ | 915 | + /* 判断订单信息是否存在 */ |
909 | $orderDetail = OrderModel::orderDetail($orderCode, $this->_uid, $this->_usession); | 916 | $orderDetail = OrderModel::orderDetail($orderCode, $this->_uid, $this->_usession); |
910 | if (empty($orderDetail)) { | 917 | if (empty($orderDetail)) { |
911 | $this->error(); | 918 | $this->error(); |
@@ -919,6 +926,7 @@ class HomeController extends AbstractAction | @@ -919,6 +926,7 @@ class HomeController extends AbstractAction | ||
919 | 'navPhone' => 'tel:400-889-9646', | 926 | 'navPhone' => 'tel:400-889-9646', |
920 | 'orderDetail' => $orderDetail, | 927 | 'orderDetail' => $orderDetail, |
921 | 'orderCode' => $orderCode, | 928 | 'orderCode' => $orderCode, |
929 | + 'orderTotal' => isset($orderDetail['goodsAmount']) ? $orderDetail['goodsAmount'] : 0, | ||
922 | )); | 930 | )); |
923 | } | 931 | } |
924 | 932 |
@@ -150,6 +150,7 @@ class OrderModel | @@ -150,6 +150,7 @@ class OrderModel | ||
150 | $result['coupon'] = $orderDetail['data']['coupons_amount']; // 优惠券 | 150 | $result['coupon'] = $orderDetail['data']['coupons_amount']; // 优惠券 |
151 | $result['yohoCoin'] = $orderDetail['data']['yoho_coin_num']; // YOHO币 | 151 | $result['yohoCoin'] = $orderDetail['data']['yoho_coin_num']; // YOHO币 |
152 | $result['price'] = $orderDetail['data']['amount']; // 实付金额 | 152 | $result['price'] = $orderDetail['data']['amount']; // 实付金额 |
153 | + $result['goodsAmount'] = $orderDetail['data']['payment_amount']; // 商品总金额没有人民币符号 | ||
153 | } | 154 | } |
154 | } | 155 | } |
155 | 156 |
-
Please register or login to post a comment