modify home page css style
Showing
1 changed file
with
286 additions
and
0 deletions
1 | +<?php return function ($in, $debugopt = 1) { | ||
2 | + $cx = array( | ||
3 | + 'flags' => array( | ||
4 | + 'jstrue' => false, | ||
5 | + 'jsobj' => false, | ||
6 | + 'spvar' => true, | ||
7 | + 'prop' => false, | ||
8 | + 'method' => false, | ||
9 | + 'mustlok' => true, | ||
10 | + 'echo' => false, | ||
11 | + 'debug' => $debugopt, | ||
12 | + ), | ||
13 | + 'constants' => array(), | ||
14 | + 'helpers' => array(), | ||
15 | + 'blockhelpers' => array(), | ||
16 | + 'hbhelpers' => array(), | ||
17 | + 'partials' => array(), | ||
18 | + 'scopes' => array(), | ||
19 | + 'sp_vars' => array('root' => $in), | ||
20 | + 'lcrun' => 'Plugin\LCRun3', | ||
21 | + | ||
22 | + ); | ||
23 | + | ||
24 | + return ''.'<!DOCTYPE html> | ||
25 | +<html> | ||
26 | +<head> | ||
27 | +<meta charset="utf-8"> | ||
28 | +<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | +<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | +<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | +<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | +<meta http-equiv="cleartype" content="on"> | ||
33 | +<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | +<meta content="telephone=no" name="format-detection" /> | ||
35 | +<meta content="email=no" name="format-detection" /> | ||
36 | +<script type="text/javascript"> | ||
37 | + (function(doc, win) { | ||
38 | + var docEl = doc.documentElement; | ||
39 | + (function() { | ||
40 | + var clientWidth = docEl.clientWidth; | ||
41 | + if (!clientWidth) { | ||
42 | + return; | ||
43 | + } | ||
44 | + docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | + }()); | ||
46 | + })(document, window); | ||
47 | +</script> | ||
48 | +'.((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 '<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="search-page yoho-page"> | ||
60 | +'.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"></i> | ||
63 | + <input type="text" placeholder="搜索商品" name="query"> | ||
64 | + <input type="hidden" name="from" value="search"> | ||
65 | + <i class="clear-input iconfont hide"></i> | ||
66 | + <button id="search" class="search" type="submit">搜索</button> | ||
67 | + </form> | ||
68 | + </div> | ||
69 | + <div class="search-items"> | ||
70 | + <div class="hot-search hide"> | ||
71 | + <h3>热门搜索</h3> | ||
72 | + <ul class="hot clearfix"> | ||
73 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hot')), $in, false, function($cx, $in) {return ' <li> | ||
74 | + <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> | ||
75 | + </li> | ||
76 | +';}).' </ul> | ||
77 | + </div> | ||
78 | + <div class="history-search"> | ||
79 | + <h3>历史搜索</h3> | ||
80 | + <ul class="history clearfix"></ul> | ||
81 | + </div> | ||
82 | + <button id="clear-history" class="clear-history hide">清空搜索历史</button> | ||
83 | + </div> | ||
84 | +';}).'</div> | ||
85 | +'.''.''.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"> | ||
86 | + <p class="op-row"> | ||
87 | + <span class="back-to-top"> | ||
88 | + Back to top | ||
89 | + <i class="iconfont"></i> | ||
90 | + </span> | ||
91 | + </p> | ||
92 | + <address class="copyright"> | ||
93 | + CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
94 | + </address> | ||
95 | + </footer> | ||
96 | +';}).' | ||
97 | + '.''.''.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"> | ||
98 | + <div class="float-layer-left"> | ||
99 | + <span class="yoho-icon iconfont"></span> | ||
100 | + <p>新用户首单减10元</p> | ||
101 | + </div> | ||
102 | + <a href="javascript:void(0);" id="float-layer-close" > | ||
103 | + <i class="close-icon iconfont"></i> | ||
104 | + <div class="circle-rightbottom"></div> | ||
105 | + </a> | ||
106 | + <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
107 | + 立即下载 | ||
108 | + </a> | ||
109 | +</div> | ||
110 | +';}).' | ||
111 | + | ||
112 | + '.''.((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> | ||
113 | +' : '').''.((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> | ||
114 | +<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
115 | +' : '').''.((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> | ||
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('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> | ||
118 | +<script src="http://static.buy.test.yoho.cn/dist/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('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
120 | +<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
121 | +' : '').' | ||
122 | +<script type="text/javascript"> | ||
123 | + (function(w,d,s,j,f){ | ||
124 | + w[\'YohoAcquisitionObject\']=f; | ||
125 | + w[f]=function(){w[f].p=arguments;}; | ||
126 | + var a=d.createElement(s); | ||
127 | + var m=d.getElementsByTagName(s)[0]; | ||
128 | + a.async=1; | ||
129 | + a.src=j; | ||
130 | + m.parentNode.insertBefore(a,m); | ||
131 | + })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
132 | +</script> | ||
133 | + | ||
134 | +'.'<script> | ||
135 | + seajs.use(\'js/common\'); | ||
136 | +</script> | ||
137 | + | ||
138 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
139 | + seajs.use(\'js/guang/plus-star/list\'); | ||
140 | +</script> | ||
141 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
142 | + seajs.use(\'js/guang/plus-star/detail\'); | ||
143 | +</script> | ||
144 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
145 | + seajs.use(\'js/guang/home\'); | ||
146 | +</script> | ||
147 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
148 | + seajs.use(\'js/guang/list\'); | ||
149 | +</script> | ||
150 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
151 | + seajs.use(\'js/guang/detail\'); | ||
152 | +</script> | ||
153 | +' : '').' | ||
154 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
155 | + seajs.use(\'js/passport/register/register\'); | ||
156 | +</script> | ||
157 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
158 | + seajs.use(\'js/passport/register/code\'); | ||
159 | +</script> | ||
160 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
161 | + seajs.use(\'js/passport/register/password\'); | ||
162 | +</script> | ||
163 | +' : '').' | ||
164 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
165 | + seajs.use(\'js/passport/login/login\'); | ||
166 | +</script> | ||
167 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? ' <script> | ||
168 | + seajs.use(\'js/passport/login/international\'); | ||
169 | + </script> | ||
170 | +' : '').' | ||
171 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
172 | + seajs.use(\'js/passport/back/email\'); | ||
173 | +</script> | ||
174 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
175 | + seajs.use(\'js/passport/back/email-success\'); | ||
176 | +</script> | ||
177 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
178 | + seajs.use(\'js/passport/back/mobile\'); | ||
179 | +</script> | ||
180 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
181 | + seajs.use(\'js/passport/back/code\'); | ||
182 | +</script> | ||
183 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
184 | + seajs.use(\'js/passport/back/new-password\'); | ||
185 | +</script> | ||
186 | +' : '').' | ||
187 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
188 | + seajs.use(\'js/index/channel\'); | ||
189 | + seajs.use(\'js/index/footer\'); | ||
190 | +</script> | ||
191 | +' : '').' | ||
192 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
193 | + seajs.use(\'js/home/home\'); | ||
194 | + seajs.use(\'js/index/footer\'); | ||
195 | +</script> | ||
196 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
197 | + seajs.use(\'js/home/home\'); | ||
198 | + seajs.use(\'js/index/footer\'); | ||
199 | +</script> | ||
200 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
201 | + seajs.use(\'js/home/home\'); | ||
202 | + seajs.use(\'js/index/footer\'); | ||
203 | +</script> | ||
204 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
205 | + seajs.use(\'js/home/home\'); | ||
206 | + seajs.use(\'js/index/footer\'); | ||
207 | +</script> | ||
208 | +' : '').' | ||
209 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
210 | + seajs.use(\'js/product/newsale/newarrival\'); | ||
211 | + seajs.use(\'js/index/footer\'); | ||
212 | +</script> | ||
213 | +' : '').' | ||
214 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
215 | + seajs.use(\'js/product/newsale/discount\'); | ||
216 | + seajs.use(\'js/index/footer\'); | ||
217 | +</script> | ||
218 | +' : '').' | ||
219 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
220 | + seajs.use(\'js/product/list\'); | ||
221 | + seajs.use(\'js/index/footer\'); | ||
222 | +</script> | ||
223 | +' : '').' | ||
224 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
225 | + seajs.use(\'js/product/detail/detail\'); | ||
226 | +</script> | ||
227 | +' : '').' | ||
228 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
229 | + seajs.use(\'js/category/index\'); | ||
230 | + seajs.use(\'js/index/footer\'); | ||
231 | +</script> | ||
232 | +' : '').' | ||
233 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
234 | + seajs.use(\'js/category/brand\'); | ||
235 | + seajs.use(\'js/index/footer\'); | ||
236 | +</script> | ||
237 | +' : '').' | ||
238 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
239 | + seajs.use(\'js/index/search\'); | ||
240 | + seajs.use(\'js/index/footer\'); | ||
241 | +</script> | ||
242 | +' : '').' | ||
243 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
244 | + seajs.use(\'js/shopping-cart/cart\'); | ||
245 | +</script> | ||
246 | +' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
247 | + seajs.use(\'js/shopping-cart/gift-advance\'); | ||
248 | +</script> | ||
249 | +' : '').''.' | ||
250 | +'.' <!-- Google Tag Manager --> | ||
251 | + <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
252 | + <script> | ||
253 | + (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
254 | + new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
255 | + j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
256 | + \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
257 | + })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
258 | + </script> | ||
259 | + <!-- End Google Tag Manager --> | ||
260 | + | ||
261 | +<script type="text/javascript"> | ||
262 | + var _hmt = _hmt || []; | ||
263 | + (function() { | ||
264 | + var hm = document.createElement("script"); | ||
265 | + hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
266 | + var s = document.getElementsByTagName("script")[0]; | ||
267 | + s.parentNode.insertBefore(hm, s); | ||
268 | + })(); | ||
269 | +</script> | ||
270 | + | ||
271 | +<script> | ||
272 | + var _hmt = _hmt || []; | ||
273 | + (function() { | ||
274 | + var hm = document.createElement("script"); | ||
275 | + hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
276 | + var s = document.getElementsByTagName("script")[0]; | ||
277 | + s.parentNode.insertBefore(hm, s); | ||
278 | + })(); | ||
279 | +</script> | ||
280 | + | ||
281 | +<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
282 | + | ||
283 | +<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script>'.'</body> | ||
284 | +</html>'.''; | ||
285 | +} | ||
286 | +?> |
-
Please register or login to post a comment