Authored by hf

merge master css js code

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 -'.((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">  
49 -' : '').''.((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">  
50 -' : '').''.((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">  
51 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">  
52 -' : '').'</head>  
53 -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>  
54 - '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isShow')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">  
55 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a>  
56 -' : '').''.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="nav-home"></a>  
57 -';}).''.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>  
58 -';}).'</header>  
59 -';}).'';}).''.''.'<div class="good-list-page yoho-page">  
60 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodList')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('search')), $in, false, function($cx, $in) {return ' <div id="search-input" class="search-input">  
61 - <form id="search-form" action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" method="get">  
62 - <i class="search-icon iconfont">&#xe60f;</i>  
63 - <input type="text" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('default')), ENT_QUOTES, 'UTF-8').'" name="query">  
64 - <input type="hidden" value="search" name="from">  
65 - <i class="clear-input iconfont hide">&#xe626;</i>  
66 - <span id="search" class="search" type="submit">搜索</span>  
67 - </form>  
68 - </div>  
69 -';}).'  
70 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandWay')), $in, false, function($cx, $in) {return ' <div class="brand-way">  
71 - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'>  
72 - <img class="brand-thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'>  
73 - <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span>  
74 - <span class="entry">  
75 - 进入品牌  
76 - <i class="iconfont">&#xe614;</i>  
77 - </span>  
78 - </a>  
79 - </div>  
80 -';}).'  
81 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandHome')), $in, false, function($cx, $in) {return ' <div id="brand-header" class="brand-header" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'>  
82 - <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'>  
83 - <a class="btn-intro" href="javascript:void(0);">  
84 - 品牌介绍  
85 - </a>  
86 - <a class="btn-col'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collected')))) ? ' coled' : '').'" href="javascript:void(0);">  
87 - <span class="iconfont">&#xe622;</span>  
88 - <span class="txt"></span>  
89 - </a>  
90 - </div>  
91 - <div id="intro-box" class="brand-intro-box hide">  
92 - <div id="brand-intro" class="brand-intro">  
93 - <h2>品牌介绍</h2>  
94 - <div class="con">  
95 - '.Plugin\LCRun3::v($cx, $in, array('intro')).'  
96 - </div>  
97 - <p class="fo">  
98 - <span class="iconfont">&#xe629;</span>  
99 - 100%品牌授权正品  
100 - </p>  
101 - <span class="iconfont close-intro">&#xe623;</span>  
102 - </div>  
103 - </div>  
104 -';}).'  
105 - <ul id="list-nav" class="list-nav clearfix">  
106 - <li class="new active">  
107 - <a href="javascript:void(0);">  
108 - <span class="nav-txt">最新</span>  
109 - <span class="iconfont cur">&#xe616;</span>  
110 - </a>  
111 - </li>  
112 - <li class="price">  
113 - <a href="javascript:void(0);">  
114 - <span class="nav-txt">价格</span>  
115 - <span class="icon">  
116 - <i class="iconfont up">&#xe615;</i>  
117 - <i class="iconfont down cur">&#xe616;</i>  
118 - </span>  
119 - </a>  
120 - </li>  
121 - <li class="discount">  
122 - <a href="javascript:void(0);">  
123 - <span class="nav-txt">折扣</span>  
124 - <span class="icon">  
125 - <i class="iconfont up">&#xe615;</i>  
126 - <i class="iconfont down cur">&#xe616;</i>  
127 - </span>  
128 - </a>  
129 - </li>  
130 - <li class="filter">  
131 - <a href="javascript:void(0);">  
132 - <span class="nav-txt">筛选</span>  
133 - <span class="iconfont">&#xe613;</span>  
134 - </a>  
135 - </li>  
136 - </ul>  
137 - <div id="goods-container" class="goods-container">  
138 - <div class="new-goods container clearfix"></div>  
139 - <div class="price-goods container clearfix hide"></div>  
140 - <div class="discount-goods container clearfix hide"></div>  
141 -  
142 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide">  
143 - <div class="filter-body">  
144 - <ul class="classify">  
145 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('classify')), $in, true, function($cx, $in) {return ' <li class="classify-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' active' : '').'">  
146 - <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'">  
147 - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span>  
148 - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'  
149 - </p>  
150 - <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'>  
151 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subs')), $in, false, function($cx, $in) {return ' <li class="sub-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? ' chosed' : '').'" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataId')), ENT_QUOTES, 'UTF-8').'>  
152 - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'  
153 - <i class="iconfont chosed-icon">&#xe617;</i>  
154 - </li>  
155 -';}).' </ul>  
156 - </li>  
157 -';}).' </ul>  
158 - </div>  
159 - </div>  
160 - ';}).''.' </div>  
161 -  
162 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brand')))) ? ' <input id="brand" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('brand')), ENT_QUOTES, 'UTF-8').'>  
163 -' : '').'  
164 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('gender')))) ? ' <input id="gender" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'>  
165 -' : '').'  
166 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('sort')))) ? ' <input id="sort" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('sort')), ENT_QUOTES, 'UTF-8').'>  
167 -' : '').'  
168 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('msort')))) ? ' <input id="msort" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('msort')), ENT_QUOTES, 'UTF-8').'>  
169 -' : '').'  
170 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('misort')))) ? ' <input id="misort" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('misort')), ENT_QUOTES, 'UTF-8').'>  
171 -' : '').'  
172 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('color')))) ? ' <input id="color" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('color')), ENT_QUOTES, 'UTF-8').'>  
173 -' : '').'  
174 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('size')))) ? ' <input id="size" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('size')), ENT_QUOTES, 'UTF-8').'>  
175 -' : '').'  
176 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('price')))) ? ' <input id="price" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('price')), ENT_QUOTES, 'UTF-8').'>  
177 -' : '').'  
178 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discount')))) ? ' <input id="discount" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('discount')), ENT_QUOTES, 'UTF-8').'>  
179 -' : '').'  
180 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('query')))) ? ' <input id="query" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('query')), ENT_QUOTES, 'UTF-8').'>  
181 -' : '').'  
182 -'.' <div id="suspend-cart" class="suspend-cart">  
183 - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'>  
184 - <span class="iconfont">&#xe62c;</span>  
185 - </a>  
186 - <span class="cart-count hide">0</span>  
187 - </div>'.' ';}).''.'</div>  
188 -'.''.''.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">  
189 - <p class="op-row">  
190 - <span class="back-to-top">  
191 - Back to top  
192 - <i class="iconfont">&#xe608;</i>  
193 - </span>  
194 - </p>  
195 - <address class="copyright">  
196 - CopyRight©2007-2016 南京新与力文化传播有限公司  
197 - </address>  
198 - </footer>  
199 -';}).'  
200 - '.''.''.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">  
201 - <div class="float-layer-left">  
202 - <span class="yoho-icon iconfont">&#xe60d;</span>  
203 - <p>新用户首单减10元</p>  
204 - </div>  
205 - <a href="javascript:void(0);" id="float-layer-close" >  
206 - <i class="close-icon iconfont">&#xe623;</i>  
207 - <div class="circle-rightbottom"></div>  
208 - </a>  
209 - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">  
210 - 立即下载  
211 - </a>  
212 -</div>  
213 -';}).'  
214 -  
215 - '.''.((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>  
216 -' : '').''.((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>  
217 -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>  
218 -' : '').''.((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>  
219 -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>  
220 -' : '').''.((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>  
221 -<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>  
222 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>  
223 -<script>seajs.config({base: \'http://localhost:8000/\'});</script>  
224 -' : '').'  
225 -<script type="text/javascript">  
226 - (function(w,d,s,j,f){  
227 - w[\'YohoAcquisitionObject\']=f;  
228 - w[f]=function(){w[f].p=arguments;};  
229 - var a=d.createElement(s);  
230 - var m=d.getElementsByTagName(s)[0];  
231 - a.async=1;  
232 - a.src=j;  
233 - m.parentNode.insertBefore(a,m);  
234 - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');  
235 -</script>  
236 -  
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('loginIndex')))) ? '<script>  
272 - seajs.use(\'js/passport/login/login\');  
273 -</script>  
274 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>  
275 - seajs.use(\'js/passport/login/international\');  
276 -</script>  
277 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>  
278 - seajs.use(\'js/passport/back/email\');  
279 -</script>  
280 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>  
281 - seajs.use(\'js/passport/back/email-success\');  
282 -</script>  
283 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>  
284 - seajs.use(\'js/passport/back/mobile\');  
285 -</script>  
286 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>  
287 - seajs.use(\'js/passport/back/code\');  
288 -</script>  
289 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>  
290 - seajs.use(\'js/passport/back/new-password\');  
291 -</script>  
292 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>  
293 - seajs.use(\'js/index/channel\');  
294 - seajs.use(\'js/index/footer\');  
295 -</script>  
296 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>  
297 - seajs.use(\'js/home/home\', function(h) {  
298 - h.set(\'girls\');  
299 - });  
300 - seajs.use(\'js/index/footer\');  
301 -</script>  
302 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>  
303 - seajs.use(\'js/home/home\', function(h) {  
304 - h.set(\'boys\');  
305 - });  
306 - seajs.use(\'js/index/footer\');  
307 -</script>  
308 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>  
309 - seajs.use(\'js/home/home\', function(h) {  
310 - h.set(\'kids\');  
311 - });  
312 - seajs.use(\'js/index/footer\');  
313 -</script>  
314 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>  
315 - seajs.use(\'js/home/home\', function(h) {  
316 - h.set(\'lifestyle\');  
317 - });  
318 - seajs.use(\'js/index/footer\');  
319 -</script>  
320 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>  
321 - seajs.use(\'js/product/newsale/newarrival\');  
322 - seajs.use(\'js/index/footer\');  
323 -</script>  
324 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>  
325 - seajs.use(\'js/product/newsale/discount\');  
326 - seajs.use(\'js/index/footer\');  
327 -</script>  
328 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script>  
329 - seajs.use(\'js/product/newsale/hot-rank\');  
330 - seajs.use(\'js/index/footer\');  
331 -</script>  
332 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>  
333 - seajs.use(\'js/product/list\');  
334 - seajs.use(\'js/index/footer\');  
335 -</script>  
336 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>  
337 - seajs.use(\'js/product/detail/detail\');  
338 -</script>  
339 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>  
340 - seajs.use(\'js/category/index\');  
341 - seajs.use(\'js/index/footer\');  
342 -</script>  
343 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>  
344 - seajs.use(\'js/category/brand\');  
345 - seajs.use(\'js/index/footer\');  
346 -</script>  
347 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>  
348 - seajs.use(\'js/index/search\');  
349 - seajs.use(\'js/index/footer\');  
350 -</script>  
351 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>  
352 - seajs.use(\'js/shopping-cart/cart\');  
353 -</script>  
354 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>  
355 - seajs.use(\'js/shopping-cart/gift-advance\');  
356 -</script>  
357 -' : '').'  
358 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script>  
359 - seajs.use(\'js/me/order\');  
360 -</script>  
361 -' : '').''.'  
362 -'.' <!-- Google Tag Manager -->  
363 - <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>  
364 - <script>  
365 - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':  
366 - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],  
367 - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=  
368 - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);  
369 - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');  
370 - </script>  
371 - <!-- End Google Tag Manager -->  
372 -  
373 -<script type="text/javascript">  
374 - var _hmt = _hmt || [];  
375 - (function() {  
376 - var hm = document.createElement("script");  
377 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
378 - var s = document.getElementsByTagName("script")[0];  
379 - s.parentNode.insertBefore(hm, s);  
380 - })();  
381 -</script>  
382 -  
383 -<script>  
384 - var _hmt = _hmt || [];  
385 - (function() {  
386 - var hm = document.createElement("script");  
387 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
388 - var s = document.getElementsByTagName("script")[0];  
389 - s.parentNode.insertBefore(hm, s);  
390 - })();  
391 -</script>  
392 -  
393 -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>  
394 -  
395 -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>'.'</body>  
396 -</html>'.'';  
397 -}  
398 -?>  
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 -'.((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">  
49 -' : '').''.((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">  
50 -' : '').''.((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">  
51 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">  
52 -' : '').'</head>  
53 -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>  
54 - '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isShow')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">  
55 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a>  
56 -' : '').''.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="nav-home"></a>  
57 -';}).''.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>  
58 -';}).'</header>  
59 -';}).'';}).''.''.'<div class="index-page yoho-page">  
60 - <div class="index-container">  
61 - <div class="index-header clearfix">  
62 - <div class="index-logo">  
63 - </div>  
64 - <div class="box">  
65 - <a href="javascript:void(0);" class="no-search">取消</a>  
66 - <form action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'" class="index-search">  
67 - <div class="search-box">  
68 - <input type="hidden" name="from" value="search">  
69 - <input type="text" name="query" placeholder="搜索" autocomplete="off">  
70 - <span class="iconfont clear-text">&#xe623;</span>  
71 - <span class="iconfont search-icon empty">&#xe60f;</span>  
72 - </div>  
73 - </form>  
74 - </div>  
75 - </div>  
76 - <div class="index-channel">  
77 - <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('background')), ENT_QUOTES, 'UTF-8').'">  
78 - <div class="index-channel-list">  
79 - <a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon">&#xe614;</span></a>  
80 - <a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon">&#xe614;</span></a>  
81 - <a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon">&#xe614;</span></a>  
82 - <a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon">&#xe614;</span></a>  
83 - </div>  
84 - </div>  
85 - </div>  
86 -</div>  
87 -'.''.''.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">  
88 - <p class="op-row">  
89 - <span class="back-to-top">  
90 - Back to top  
91 - <i class="iconfont">&#xe608;</i>  
92 - </span>  
93 - </p>  
94 - <address class="copyright">  
95 - CopyRight©2007-2016 南京新与力文化传播有限公司  
96 - </address>  
97 - </footer>  
98 -';}).'  
99 - '.''.''.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">  
100 - <div class="float-layer-left">  
101 - <span class="yoho-icon iconfont">&#xe60d;</span>  
102 - <p>新用户首单减10元</p>  
103 - </div>  
104 - <a href="javascript:void(0);" id="float-layer-close" >  
105 - <i class="close-icon iconfont">&#xe623;</i>  
106 - <div class="circle-rightbottom"></div>  
107 - </a>  
108 - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">  
109 - 立即下载  
110 - </a>  
111 -</div>  
112 -';}).'  
113 -  
114 - '.''.((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>  
115 -' : '').''.((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>  
116 -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>  
117 -' : '').''.((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>  
118 -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>  
119 -' : '').''.((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>  
120 -<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>  
121 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>  
122 -<script>seajs.config({base: \'http://localhost:8000/\'});</script>  
123 -' : '').'  
124 -<script type="text/javascript">  
125 - (function(w,d,s,j,f){  
126 - w[\'YohoAcquisitionObject\']=f;  
127 - w[f]=function(){w[f].p=arguments;};  
128 - var a=d.createElement(s);  
129 - var m=d.getElementsByTagName(s)[0];  
130 - a.async=1;  
131 - a.src=j;  
132 - m.parentNode.insertBefore(a,m);  
133 - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');  
134 -</script>  
135 -  
136 -'.'<script>  
137 - seajs.use(\'js/common\');  
138 -</script>  
139 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>  
140 - seajs.use(\'js/guang/plus-star/list\');  
141 -</script>  
142 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>  
143 - seajs.use(\'js/guang/plus-star/detail\');  
144 -</script>  
145 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>  
146 - seajs.use(\'js/guang/home\');  
147 -</script>  
148 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>  
149 - seajs.use(\'js/guang/list\');  
150 -</script>  
151 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>  
152 - seajs.use(\'js/guang/detail\', function(d) {  
153 - d.i(true);  
154 - });  
155 -</script>  
156 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>  
157 - seajs.use(\'js/guang/detail\', function(d) {  
158 - d.i(false);  
159 - });  
160 -</script>  
161 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>  
162 - seajs.use(\'js/passport/register/register\');  
163 -</script>  
164 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>  
165 - seajs.use(\'js/passport/register/code\');  
166 -</script>  
167 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>  
168 - seajs.use(\'js/passport/register/password\');  
169 -</script>  
170 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>  
171 - seajs.use(\'js/passport/login/login\');  
172 -</script>  
173 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>  
174 - seajs.use(\'js/passport/login/international\');  
175 -</script>  
176 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>  
177 - seajs.use(\'js/passport/back/email\');  
178 -</script>  
179 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>  
180 - seajs.use(\'js/passport/back/email-success\');  
181 -</script>  
182 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>  
183 - seajs.use(\'js/passport/back/mobile\');  
184 -</script>  
185 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>  
186 - seajs.use(\'js/passport/back/code\');  
187 -</script>  
188 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>  
189 - seajs.use(\'js/passport/back/new-password\');  
190 -</script>  
191 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>  
192 - seajs.use(\'js/index/channel\');  
193 - seajs.use(\'js/index/footer\');  
194 -</script>  
195 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>  
196 - seajs.use(\'js/home/home\', function(h) {  
197 - h.set(\'girls\');  
198 - });  
199 - seajs.use(\'js/index/footer\');  
200 -</script>  
201 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>  
202 - seajs.use(\'js/home/home\', function(h) {  
203 - h.set(\'boys\');  
204 - });  
205 - seajs.use(\'js/index/footer\');  
206 -</script>  
207 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>  
208 - seajs.use(\'js/home/home\', function(h) {  
209 - h.set(\'kids\');  
210 - });  
211 - seajs.use(\'js/index/footer\');  
212 -</script>  
213 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>  
214 - seajs.use(\'js/home/home\', function(h) {  
215 - h.set(\'lifestyle\');  
216 - });  
217 - seajs.use(\'js/index/footer\');  
218 -</script>  
219 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>  
220 - seajs.use(\'js/product/newsale/newarrival\');  
221 - seajs.use(\'js/index/footer\');  
222 -</script>  
223 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>  
224 - seajs.use(\'js/product/newsale/discount\');  
225 - seajs.use(\'js/index/footer\');  
226 -</script>  
227 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script>  
228 - seajs.use(\'js/product/newsale/hot-rank\');  
229 - seajs.use(\'js/index/footer\');  
230 -</script>  
231 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>  
232 - seajs.use(\'js/product/list\');  
233 - seajs.use(\'js/index/footer\');  
234 -</script>  
235 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>  
236 - seajs.use(\'js/product/detail/detail\');  
237 -</script>  
238 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>  
239 - seajs.use(\'js/category/index\');  
240 - seajs.use(\'js/index/footer\');  
241 -</script>  
242 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>  
243 - seajs.use(\'js/category/brand\');  
244 - seajs.use(\'js/index/footer\');  
245 -</script>  
246 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>  
247 - seajs.use(\'js/index/search\');  
248 - seajs.use(\'js/index/footer\');  
249 -</script>  
250 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>  
251 - seajs.use(\'js/shopping-cart/cart\');  
252 -</script>  
253 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>  
254 - seajs.use(\'js/shopping-cart/gift-advance\');  
255 -</script>  
256 -' : '').'  
257 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script>  
258 - seajs.use(\'js/me/order\');  
259 -</script>  
260 -' : '').''.'  
261 -'.' <!-- Google Tag Manager -->  
262 - <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>  
263 - <script>  
264 - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':  
265 - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],  
266 - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=  
267 - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);  
268 - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');  
269 - </script>  
270 - <!-- End Google Tag Manager -->  
271 -  
272 -<script type="text/javascript">  
273 - var _hmt = _hmt || [];  
274 - (function() {  
275 - var hm = document.createElement("script");  
276 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
277 - var s = document.getElementsByTagName("script")[0];  
278 - s.parentNode.insertBefore(hm, s);  
279 - })();  
280 -</script>  
281 -  
282 -<script>  
283 - var _hmt = _hmt || [];  
284 - (function() {  
285 - var hm = document.createElement("script");  
286 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
287 - var s = document.getElementsByTagName("script")[0];  
288 - s.parentNode.insertBefore(hm, s);  
289 - })();  
290 -</script>  
291 -  
292 -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>  
293 -  
294 -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>'.'</body>  
295 -</html>'.'';  
296 -}  
297 -?>  
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 -'.((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">  
49 -' : '').''.((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">  
50 -' : '').''.((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">  
51 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css">  
52 -' : '').'</head>  
53 -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'>  
54 - '.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('pageHeader')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isShow')), $in, false, function($cx, $in) {return '<header class="yoho-header'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boys')))) ? ' boys' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('girls')))) ? ' girls' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kids')))) ? ' kids' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifeStyle')))) ? ' life-style' : '').'">  
55 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a>  
56 -' : '').''.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="nav-home"></a>  
57 -';}).''.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>  
58 -';}).'</header>  
59 -';}).'';}).''.''.' <div class="mobile-container">  
60 - <div class="mobile-wrap boys-wrap yoho-page">  
61 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('homeHeader')), $in, false, function($cx, $in) {return ''.' <div class="home-header clearfix" '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bgColor')), $in, false, function($cx, $in) {return 'style="background-color:'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').';background-image:none"';}).'>  
62 - <span class="nav-btn iconfont">&#xe60b;</span>  
63 - <span class="logo"></span>  
64 - <span class="search-btn iconfont"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'">&#xe60f;</a></span>  
65 - </div>'.'';}).'  
66 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top">  
67 - <div class="banner-swiper swiper-container">  
68 - <ul class="swiper-wrapper">  
69 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, true, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' <li class="swiper-slide">  
70 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
71 - <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
72 - </a>  
73 - </li>  
74 -' : ' <li class="swiper-slide">  
75 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
76 - <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
77 - </a>  
78 - <div class="swiper-lazy-preloader"></div>  
79 - </li>  
80 -').'';}).' </ul>  
81 - </div>  
82 - <div class="swiper-pagination">  
83 - <div class="pagination-inner">  
84 - </div>  
85 - </div>  
86 - </div>'.'';}).'  
87 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('iconsEnter')), $in, false, function($cx, $in) {return ''.' <div class="icons-wrapper">  
88 - <ul class="icons-list clearfix">  
89 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="icons-item"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="imagebar"><img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""></a><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" class="linkbar">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</a></li>  
90 -';}).' </ul>  
91 - </div>  
92 -'.'';}).'  
93 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ''.' <div class="banner-center">  
94 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
95 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">  
96 - </a>  
97 - </div>'.'';}).'  
98 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotCategory')), $in, false, function($cx, $in) {return ''.' <div class="hot-category">  
99 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">  
100 - <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>  
101 - </div>  
102 -';}).''.'  
103 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="category-banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
104 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
105 - </a>  
106 -';}).' <ul class="category-list clearfix">  
107 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li>  
108 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
109 - <div class="img-box">  
110 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">  
111 - </div>  
112 - </a>  
113 - </li>  
114 -';}).' </ul>  
115 - </div>'.'';}).'  
116 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrands')), $in, false, function($cx, $in) {return ''.' <ul class="hot-brands clearfix">  
117 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">  
118 - <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>  
119 - </div>  
120 -';}).''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="brand">  
121 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
122 - <div class="brand-logo">  
123 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
124 - </div>  
125 - <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>  
126 - </a>  
127 - </li>  
128 -';}).' <li class="more">  
129 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more')), ENT_QUOTES, 'UTF-8').'"></a>  
130 - </li>  
131 - </ul>'.'';}).'  
132 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrandsScroll')), $in, false, function($cx, $in) {return ''.' <div class="hot-brands">  
133 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">  
134 - <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>  
135 - </div>  
136 -';}).''.' <div class="brands-swiper">  
137 - <ul class="brands-list swiper-wrapper clearfix">  
138 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide">  
139 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
140 - <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">  
141 - <span class="brands-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</span>  
142 - </a>  
143 - </li>  
144 -';}).' </ul>  
145 - </div>  
146 - </div>'.'';}).'  
147 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendColloaction')), $in, false, function($cx, $in) {return ''.' <div class="trend-coll-wrapper">  
148 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">  
149 - <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>  
150 - <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>  
151 - </div>  
152 - ';}).''.' <div class="trend-coll-content clearfix">  
153 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('article')), $in, false, function($cx, $in) {return ' <div class="lspan">  
154 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="lazy rspanimg" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" ></a>  
155 - </div>  
156 -';}).' </div>  
157 - <div class="trend-coll-tail">  
158 - <h3 class="recommend-title">推荐搭配</h3>  
159 - <div class="recommend-swiper">  
160 - <ul class="recommend-list swiper-wrapper clearfix">  
161 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('recommend_collocation')), $in, false, function($cx, $in) {return ' <li class="recommend-item swiper-slide"><a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"><img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="" /></a></li>  
162 -';}).' </ul>  
163 - </div>  
164 - </div>  
165 - </div>  
166 -  
167 -  
168 -'.'';}).'  
169 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('trendTopics')), $in, false, function($cx, $in) {return ''.' <div class="trend-topic-wrapper">  
170 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">  
171 - <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>  
172 - <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>  
173 - </div>  
174 - ';}).''.' <div class="trend-topic-content">  
175 - <div class="trend-topic-swiper">  
176 - <ul class="swiper-wrapper">  
177 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide">  
178 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
179 - <div class="img-box">  
180 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">  
181 - </div>  
182 - <div class="item-content">  
183 - <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p>  
184 - <p class="time">  
185 - <span class="iconfont time-icon">&#xe603;</span>  
186 - <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publish_time')), ENT_QUOTES, 'UTF-8').'</span>  
187 - </p>  
188 - </div>  
189 - </a>  
190 - </li>  
191 -';}).' </ul>  
192 - </div>  
193 - <div class="swiper-pagination">  
194 - <div class="pagination-inner clearfix">  
195 - </div>  
196 - </div>  
197 - </div>  
198 - </div>  
199 -'.'';}).'  
200 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goodsCategory')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">  
201 - <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>  
202 - <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>  
203 - </div>  
204 - ';}).''.' <div class="goods-category">  
205 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('big_image')), $in, false, function($cx, $in) {return ' <div class="category-swiper">  
206 - <ul class="swiper-wrapper">  
207 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide">  
208 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
209 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'">  
210 - </a>  
211 - </li>  
212 -';}).' </ul>  
213 - <div class="swiper-pagination">  
214 - <div class="pagination-inner clearfix">  
215 - </div>  
216 - </div>  
217 - </div>  
218 -';}).' <ul class="category-list clearfix">  
219 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li>  
220 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
221 - <div class="img-box">  
222 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt="">  
223 - </div>  
224 - <p class="category-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</p>  
225 - </a>  
226 - </li>  
227 -';}).' </ul>  
228 - </div>'.'';}).'  
229 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('creativeLife')), $in, false, function($cx, $in) {return ''.''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('title')), $in, false, function($cx, $in) {return ' <div class="floor-header-more">  
230 - <h2>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2>  
231 - <a class="more-btn iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('more_url')), ENT_QUOTES, 'UTF-8').'">&#xe618;</a>  
232 - </div>  
233 - ';}).''.' <div class="creative-life">  
234 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('banner')), $in, false, function($cx, $in) {return ' <a class="banner" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
235 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
236 - </a>  
237 -';}).' <ul class="classify-list clearfix">  
238 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="classify">  
239 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
240 - <div class="classify-logo">  
241 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
242 - </div>  
243 - <p class="classify-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p>  
244 - </a>  
245 - </li>  
246 -';}).' </ul>  
247 - </div>'.'';}).'  
248 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('plusStar')), $in, false, function($cx, $in) {return ''.'  
249 - <div class="plus-star">  
250 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('name')), $in, false, function($cx, $in) {return ' <div class="floor-header">  
251 - <h2>'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</h2>  
252 - </div>  
253 -';}).''.' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
254 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'">  
255 - </a>  
256 - </div>'.'';}).'';}).'  
257 - '.'<div class="maybe-like">  
258 - <p class="title">  
259 - <i class="icon"></i>  
260 - <span>你可能喜欢</span>  
261 - </p>  
262 -  
263 - <div id="goods-list" class="goods-list clearfix"></div>  
264 -  
265 -</div>  
266 -<div class="load-more-img hide" id="load-more-img">  
267 - <a href="">  
268 - <img src="">  
269 - </a>  
270 -</div>  
271 -'.''.'  
272 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('twoColumnGoods')), $in, false, function($cx, $in) {return ''.' <div class="two-column-goods">  
273 - <ul class="column-nav clearfix">  
274 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('columnNav')), $in, false, function($cx, $in) {return ' <li data-url="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</li>  
275 -';}).' </ul>  
276 - <div class="goods-list clearfix">  
277 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? '  
278 - <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'">  
279 - <div class="tag-container clearfix">  
280 -'.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>  
281 -';}).''.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>  
282 -';}).''.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>  
283 -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_yohoood')), $in, false, function($cx, $in) {return ' <div class="good-tag yohood-tag"></div>  
284 -';}).''.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>  
285 -';}).'';}).' </div>  
286 - <div class="good-detail-img">  
287 - <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">  
288 - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'">  
289 - </a>  
290 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('is_soon_sold_out')), $in, false, function($cx, $in) {return ' <p class="few-tag">即将售罄</p>  
291 -';}).' </div>  
292 - <div class="good-detail-text">  
293 - <div class="name">  
294 - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</a>  
295 - </div>  
296 - <div class="price">  
297 - <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>  
298 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('price')), $in, false, function($cx, $in) {return ' <span class="market-price">¥'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'</span>  
299 -';}).' </div>  
300 - </div>  
301 - </div>  
302 - ' : '').''.'';}).' </div>  
303 - </div>'.'';}).'  
304 - <div class="overlay"></div>  
305 -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('showFooterTab')), $in, false, function($cx, $in) {return ' <div class="footer-tab">  
306 - <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? 'current' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('indexUrl')), ENT_QUOTES, 'UTF-8').'">  
307 - <p class="iconfont tab-icon">&#xe62a;</p>  
308 - <p class="tab-name">首页</p>  
309 - </a>  
310 - <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('categoryUrl')), ENT_QUOTES, 'UTF-8').'">  
311 - <p class="iconfont tab-icon">&#xe62d;</p>  
312 - <p class="tab-name">分类</p>  
313 - </a>  
314 - <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('guangUrl')), ENT_QUOTES, 'UTF-8').'">  
315 - <p class="iconfont tab-icon">&#xe627;</p>  
316 - <p class="tab-name">逛</p>  
317 - </a>  
318 - <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shoppingCartUrl')), ENT_QUOTES, 'UTF-8').'">  
319 - <p class="iconfont tab-icon">&#xe62c;</p>  
320 - <p class="tab-name">购物车</p>  
321 - </a>  
322 - <a class="tab-item '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('minePage')))) ? 'current' : '').'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('mineUrl')), ENT_QUOTES, 'UTF-8').'">  
323 - <p class="iconfont tab-icon">&#xe62b;</p>  
324 - <p class="tab-name">我的</p>  
325 - </a>  
326 - </div>  
327 -';}).' '.' </div>  
328 -'.' <div class="side-nav">  
329 - <ul>  
330 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('sideNav')), $in, false, function($cx, $in) {return ' <li class="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('styleClass')), ENT_QUOTES, 'UTF-8').'">  
331 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'">  
332 -';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;">  
333 -' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('img')), $in, false, function($cx, $in) {return ' <span class="nav-img" style="background-image: url('.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').')"></span>  
334 -';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('img')))) ? ' <i class="nav-icon"></i>  
335 -' : '').' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').'  
336 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <span class="enter-subnav iconfont">&#xe614;</span>  
337 -';}).' </a>  
338 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subNav')), $in, false, function($cx, $in) {return ' <ul class="sub-nav">  
339 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isSelect')), $in, false, function($cx, $in) {return 'current';}).'" style="background-color:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bgColor')), ENT_QUOTES, 'UTF-8').'">  
340 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('url')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'">  
341 -';}).''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('url')))) ? ' <a href="javascript:;">  
342 -' : '').''.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('back')))) ? ' <span class="nav-point iconfont">&#xe60c;</span>  
343 -' : '').''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('back')), $in, false, function($cx, $in) {return ' <i class="nav-back iconfont">&#xe610;</i>  
344 -';}).' <em>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textCn')), ENT_QUOTES, 'UTF-8').'</em>  
345 - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('textEn')), ENT_QUOTES, 'UTF-8').'  
346 - </a>  
347 - </li>  
348 -';}).' </ul>  
349 -';}).' </li>  
350 -';}).' </ul>  
351 - </div>'.' </div>  
352 -'.''.''.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">  
353 - <p class="op-row">  
354 - <span class="back-to-top">  
355 - Back to top  
356 - <i class="iconfont">&#xe608;</i>  
357 - </span>  
358 - </p>  
359 - <address class="copyright">  
360 - CopyRight©2007-2016 南京新与力文化传播有限公司  
361 - </address>  
362 - </footer>  
363 -';}).'  
364 - '.''.''.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">  
365 - <div class="float-layer-left">  
366 - <span class="yoho-icon iconfont">&#xe60d;</span>  
367 - <p>新用户首单减10元</p>  
368 - </div>  
369 - <a href="javascript:void(0);" id="float-layer-close" >  
370 - <i class="close-icon iconfont">&#xe623;</i>  
371 - <div class="circle-rightbottom"></div>  
372 - </a>  
373 - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn">  
374 - 立即下载  
375 - </a>  
376 -</div>  
377 -';}).'  
378 -  
379 - '.''.((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>  
380 -' : '').''.((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>  
381 -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>  
382 -' : '').''.((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>  
383 -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script>  
384 -' : '').''.((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>  
385 -<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>  
386 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script>  
387 -<script>seajs.config({base: \'http://localhost:8000/\'});</script>  
388 -' : '').'  
389 -<script type="text/javascript">  
390 - (function(w,d,s,j,f){  
391 - w[\'YohoAcquisitionObject\']=f;  
392 - w[f]=function(){w[f].p=arguments;};  
393 - var a=d.createElement(s);  
394 - var m=d.getElementsByTagName(s)[0];  
395 - a.async=1;  
396 - a.src=j;  
397 - m.parentNode.insertBefore(a,m);  
398 - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\');  
399 -</script>  
400 -  
401 -'.'<script>  
402 - seajs.use(\'js/common\');  
403 -</script>  
404 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script>  
405 - seajs.use(\'js/guang/plus-star/list\');  
406 -</script>  
407 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script>  
408 - seajs.use(\'js/guang/plus-star/detail\');  
409 -</script>  
410 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script>  
411 - seajs.use(\'js/guang/home\');  
412 -</script>  
413 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script>  
414 - seajs.use(\'js/guang/list\');  
415 -</script>  
416 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script>  
417 - seajs.use(\'js/guang/detail\', function(d) {  
418 - d.i(true);  
419 - });  
420 -</script>  
421 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script>  
422 - seajs.use(\'js/guang/detail\', function(d) {  
423 - d.i(false);  
424 - });  
425 -</script>  
426 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script>  
427 - seajs.use(\'js/passport/register/register\');  
428 -</script>  
429 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script>  
430 - seajs.use(\'js/passport/register/code\');  
431 -</script>  
432 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script>  
433 - seajs.use(\'js/passport/register/password\');  
434 -</script>  
435 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script>  
436 - seajs.use(\'js/passport/login/login\');  
437 -</script>  
438 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script>  
439 - seajs.use(\'js/passport/login/international\');  
440 -</script>  
441 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script>  
442 - seajs.use(\'js/passport/back/email\');  
443 -</script>  
444 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script>  
445 - seajs.use(\'js/passport/back/email-success\');  
446 -</script>  
447 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script>  
448 - seajs.use(\'js/passport/back/mobile\');  
449 -</script>  
450 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script>  
451 - seajs.use(\'js/passport/back/code\');  
452 -</script>  
453 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script>  
454 - seajs.use(\'js/passport/back/new-password\');  
455 -</script>  
456 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script>  
457 - seajs.use(\'js/index/channel\');  
458 - seajs.use(\'js/index/footer\');  
459 -</script>  
460 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script>  
461 - seajs.use(\'js/home/home\', function(h) {  
462 - h.set(\'girls\');  
463 - });  
464 - seajs.use(\'js/index/footer\');  
465 -</script>  
466 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script>  
467 - seajs.use(\'js/home/home\', function(h) {  
468 - h.set(\'boys\');  
469 - });  
470 - seajs.use(\'js/index/footer\');  
471 -</script>  
472 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script>  
473 - seajs.use(\'js/home/home\', function(h) {  
474 - h.set(\'kids\');  
475 - });  
476 - seajs.use(\'js/index/footer\');  
477 -</script>  
478 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script>  
479 - seajs.use(\'js/home/home\', function(h) {  
480 - h.set(\'lifestyle\');  
481 - });  
482 - seajs.use(\'js/index/footer\');  
483 -</script>  
484 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script>  
485 - seajs.use(\'js/product/newsale/newarrival\');  
486 - seajs.use(\'js/index/footer\');  
487 -</script>  
488 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script>  
489 - seajs.use(\'js/product/newsale/discount\');  
490 - seajs.use(\'js/index/footer\');  
491 -</script>  
492 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('hotrankPage')))) ? '<script>  
493 - seajs.use(\'js/product/newsale/hot-rank\');  
494 - seajs.use(\'js/index/footer\');  
495 -</script>  
496 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script>  
497 - seajs.use(\'js/product/list\');  
498 - seajs.use(\'js/index/footer\');  
499 -</script>  
500 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script>  
501 - seajs.use(\'js/product/detail/detail\');  
502 -</script>  
503 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script>  
504 - seajs.use(\'js/category/index\');  
505 - seajs.use(\'js/index/footer\');  
506 -</script>  
507 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script>  
508 - seajs.use(\'js/category/brand\');  
509 - seajs.use(\'js/index/footer\');  
510 -</script>  
511 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script>  
512 - seajs.use(\'js/index/search\');  
513 - seajs.use(\'js/index/footer\');  
514 -</script>  
515 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script>  
516 - seajs.use(\'js/shopping-cart/cart\');  
517 -</script>  
518 -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script>  
519 - seajs.use(\'js/shopping-cart/gift-advance\');  
520 -</script>  
521 -' : '').'  
522 -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('orderPage')))) ? '<script>  
523 - seajs.use(\'js/me/order\');  
524 -</script>  
525 -' : '').''.'  
526 -'.' <!-- Google Tag Manager -->  
527 - <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>  
528 - <script>  
529 - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':  
530 - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],  
531 - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=  
532 - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);  
533 - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\');  
534 - </script>  
535 - <!-- End Google Tag Manager -->  
536 -  
537 -<script type="text/javascript">  
538 - var _hmt = _hmt || [];  
539 - (function() {  
540 - var hm = document.createElement("script");  
541 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
542 - var s = document.getElementsByTagName("script")[0];  
543 - s.parentNode.insertBefore(hm, s);  
544 - })();  
545 -</script>  
546 -  
547 -<script>  
548 - var _hmt = _hmt || [];  
549 - (function() {  
550 - var hm = document.createElement("script");  
551 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
552 - var s = document.getElementsByTagName("script")[0];  
553 - s.parentNode.insertBefore(hm, s);  
554 - })();  
555 -</script>  
556 -  
557 -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script>  
558 -  
559 -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>'.'</body>  
560 -</html>'.'';  
561 -}  
562 -?>  
1 -<?php return function ($in, $debugopt = 1) {  
2 - $cx = array(  
3 - 'flags' => array(  
4 - 'jstrue' => false,  
5 - 'jsobj' => false,  
6 - 'spvar' => true,  
7 - 'prop' => false,  
8 - 'method' => false,  
9 - 'mustlok' => true,  
10 - 'echo' => false,  
11 - 'debug' => $debugopt,  
12 - ),  
13 - 'constants' => array(),  
14 - 'helpers' => array(),  
15 - 'blockhelpers' => array(),  
16 - 'hbhelpers' => array(),  
17 - 'partials' => array(),  
18 - 'scopes' => array(),  
19 - 'sp_vars' => array('root' => $in),  
20 - 'lcrun' => 'Plugin\LCRun3',  
21 -  
22 - );  
23 -  
24 - return ''.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide">  
25 - <div class="filter-body">  
26 - <ul class="classify">  
27 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('classify')), $in, true, function($cx, $in) {return ' <li class="classify-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? ' active' : '').'">  
28 - <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'">  
29 - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span>  
30 - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'  
31 - </p>  
32 - <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'>  
33 -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('subs')), $in, false, function($cx, $in) {return ' <li class="sub-item'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('chosed')))) ? ' chosed' : '').'" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataId')), ENT_QUOTES, 'UTF-8').'>  
34 - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'  
35 - <i class="iconfont chosed-icon">&#xe617;</i>  
36 - </li>  
37 -';}).' </ul>  
38 - </li>  
39 -';}).' </ul>  
40 - </div>  
41 - </div>  
42 -';}).''.'';  
43 -}  
44 -?>  
  1 +.my-address-page {
  2 + position: absolute;
  3 + bottom: 0;
  4 + top: pxToRem(90px);
  5 + width: 100%;
  6 + background: #f0f0f0;
  7 +
  8 + .address-item {
  9 + padding: pxToRem(20px) pxToRem(30px);
  10 + color: #b0b0b0;
  11 + background: #fff;
  12 + border-bottom: 1px solid #e0e0e0;
  13 +
  14 + .name, .tel {
  15 + font-size: pxToRem(30px);
  16 + line-height: pxToRem(56px);
  17 + color: #444;
  18 + font-weight: bold;
  19 + }
  20 +
  21 + .tel {
  22 + float: right;
  23 + }
  24 +
  25 + .address-info {
  26 + font-size: pxToRem(24px);
  27 + line-height: pxToRem(38px);
  28 + }
  29 +
  30 + .action {
  31 + font-size: pxToRem(28px);
  32 + line-height: pxToRem(40px);
  33 + text-align: right;
  34 +
  35 + .edit {
  36 + margin-right: pxToRem(30px);
  37 + }
  38 + }
  39 + }
  40 +
  41 + .add-address {
  42 + display: block;
  43 + margin-top: pxToRem(30px);
  44 + font-size: pxToRem(32px);
  45 + line-height: pxToRem(88px);
  46 + color: #444;
  47 + background: #fff;
  48 + text-align: center;
  49 + font-weight: bold;
  50 + border-top: 1px solid #e0e0e0;
  51 + border-bottom: 1px solid #e0e0e0;
  52 + }
  53 +
  54 + .confim-mask {
  55 + position: fixed;
  56 + width: 100%;
  57 + height: 100%;
  58 + left: 0;
  59 + top: 0;
  60 + background: rgba(0, 0, 0, .5);
  61 + z-index: 5;
  62 + }
  63 +
  64 + .confim-box {
  65 + position: absolute;
  66 + left: 50%;
  67 + top: 50%;
  68 + margin-left: pxToRem(-270px);
  69 + margin-top: pxToRem(-144px);
  70 + width: pxToRem(540px);
  71 + text-align: center;
  72 + color: #444;
  73 + background: #fff;
  74 + font-size: pxToRem(32px);
  75 + font-weight: bold;
  76 + border-radius: pxToRem(10px);
  77 +
  78 + .content {
  79 + line-height: pxToRem(200px);
  80 + }
  81 +
  82 + .action {
  83 + line-height: pxToRem(88px);
  84 + border-top: 1px solid #e0e0e0;
  85 +
  86 + span {
  87 + display: inline-block;
  88 + width: pxToRem(260px);
  89 +
  90 + &:first-child {
  91 + border-right: 1px solid #e0e0e0;
  92 + }
  93 + }
  94 + }
  95 +
  96 + .confim {
  97 + color: #d0021b;
  98 + }
  99 + }
  100 +}
1 -@import "home", "vip-grade", "order", "coupons", "personal-details", "yoho-coin", "recommend-for-you", "fav", "suggest";  
  1 +@import "home", "vip-grade", "order", "coupons", "personal-details", "yoho-coin", "recommend-for-you", "fav", "suggest", "address";
1 {{> layout/header}} 1 {{> layout/header}}
2 <div class="my-address-page yoho-page"> 2 <div class="my-address-page yoho-page">
  3 + {{# address}}
  4 + <div class="address-item">
  5 + <span class="name">{{consignee}}</span>
  6 + <span class="tel">{{mobile}}</span>
  7 + <p class="address-info">{{area}} {{address}}</p>
  8 + <div class="action iconfont">
  9 + <span class="edit">&#xe61e;</span>
  10 + <span class="del">&#xe621;</span>
  11 + </div>
  12 + </div>
  13 + {{/ address}}
  14 + <a class="add-address">
  15 + 添加新地址
  16 + </a>
3 17
  18 + <div class="confim-mask hide">
  19 + <div class="confim-box">
  20 + <div class="content">
  21 + 你确定要删除地址吗?
  22 + </div>
  23 + <div class="action">
  24 + <span class="cencel">
  25 + 取消
  26 + </span>
  27 + <span class="confim">
  28 + 确认
  29 + </span>
  30 + </div>
  31 + </div>
  32 + </div>
4 </div> 33 </div>
5 {{> layout/footer}} 34 {{> layout/footer}}
@@ -34,60 +34,6 @@ class HomeController extends AbstractAction @@ -34,60 +34,6 @@ class HomeController extends AbstractAction
34 $data['recommendForYou'] = \Index\UserModel::getPreferenceData($channel); 34 $data['recommendForYou'] = \Index\UserModel::getPreferenceData($channel);
35 // print_r($data); 35 // print_r($data);
36 36
37 - $data['homeHeader'] = array(  
38 - 'myHomePage' => true,  
39 - 'searchUrl' => Helpers::url('/search', null, 'search')  
40 - );  
41 -  
42 - /*$data['recommendForYou'] = array(  
43 - 'recommendList' => array(  
44 - array(  
45 - 'img' => '',  
46 - 'salePrice' => '567.44',  
47 - 'oldPrice' => '876.44'  
48 - ),  
49 - array(  
50 - 'img' => '',  
51 - 'salePrice' => '567.44',  
52 - 'oldPrice' => ''  
53 - ),  
54 - array(  
55 - 'img' => '',  
56 - 'salePrice' => '567.44',  
57 - 'oldPrice' => '876.44'  
58 - ),  
59 - array(  
60 - 'img' => '',  
61 - 'salePrice' => '567.44',  
62 - 'oldPrice' => '876.44'  
63 - ),  
64 - array(  
65 - 'img' => '',  
66 - 'salePrice' => '567.44',  
67 - 'oldPrice' => '876.44'  
68 - ),  
69 - array(  
70 - 'img' => '',  
71 - 'salePrice' => '567.44',  
72 - 'oldPrice' => '876.44'  
73 - ),  
74 - array(  
75 - 'img' => '',  
76 - 'salePrice' => '567.44',  
77 - 'oldPrice' => '876.44'  
78 - ),  
79 - array(  
80 - 'img' => '',  
81 - 'salePrice' => '567.44',  
82 - 'oldPrice' => '876.44'  
83 - ),  
84 - array(  
85 - 'img' => '',  
86 - 'salePrice' => '567.44',  
87 - 'oldPrice' => '876.44'  
88 - )  
89 - )  
90 - );*/  
91 $data['myIndexPage'] = true; 37 $data['myIndexPage'] = true;
92 $data['pageFooter'] = true; 38 $data['pageFooter'] = true;
93 39
@@ -245,11 +191,22 @@ class HomeController extends AbstractAction @@ -245,11 +191,22 @@ class HomeController extends AbstractAction
245 */ 191 */
246 public function addressAction() 192 public function addressAction()
247 { 193 {
248 - $uid = $this->getUid(); 194 + // 设置网站标题
  195 + $this->setTitle('地址管理');
  196 + $this->setNavHeader('地址管理', true, SITE_MAIN);
  197 +
  198 + // $uid = $this->getUid();
  199 + $uid = 967016;
249 200
250 $address = \Index\UserModel::getAddressData($uid); 201 $address = \Index\UserModel::getAddressData($uid);
251 202
252 - print_r($address); 203 + // print_r($address);
  204 +
  205 + $this->_view->display('address', array(
  206 + 'myIndexPage' => true,
  207 + 'pageFooter' => true,
  208 + 'address' => $address
  209 + ));
253 } 210 }
254 211
255 /** 212 /**