Showing
11 changed files
with
20 additions
and
2214 deletions
1 | -<?php return function ($in, $debugopt = 1) { | ||
2 | - $cx = array( | ||
3 | - 'flags' => array( | ||
4 | - 'jstrue' => false, | ||
5 | - 'jsobj' => false, | ||
6 | - 'spvar' => true, | ||
7 | - 'prop' => false, | ||
8 | - 'method' => false, | ||
9 | - 'mustlok' => true, | ||
10 | - 'echo' => false, | ||
11 | - 'debug' => $debugopt, | ||
12 | - ), | ||
13 | - 'constants' => array(), | ||
14 | - 'helpers' => array(), | ||
15 | - 'blockhelpers' => array(), | ||
16 | - 'hbhelpers' => array(), | ||
17 | - 'partials' => array(), | ||
18 | - 'scopes' => array(), | ||
19 | - 'sp_vars' => array('root' => $in), | ||
20 | - 'lcrun' => 'Plugin\LCRun3', | ||
21 | - | ||
22 | - ); | ||
23 | - | ||
24 | - return ''.'<!DOCTYPE html> | ||
25 | -<html> | ||
26 | -<head> | ||
27 | -<meta charset="utf-8"> | ||
28 | -<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | -<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | -<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | -<meta http-equiv="cleartype" content="on"> | ||
33 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | -<meta content="telephone=no" name="format-detection" /> | ||
35 | -<meta content="email=no" name="format-detection" /> | ||
36 | -<script type="text/javascript"> | ||
37 | - (function(doc, win) { | ||
38 | - var docEl = doc.documentElement; | ||
39 | - (function() { | ||
40 | - var clientWidth = docEl.clientWidth; | ||
41 | - if (!clientWidth) { | ||
42 | - return; | ||
43 | - } | ||
44 | - docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | - }()); | ||
46 | - })(document, window); | ||
47 | -</script> | ||
48 | -<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | -<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | -<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | -<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | -' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | -</head> | ||
60 | -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | - '.''.Plugin\LCRun3::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' : '').'"> | ||
62 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a> | ||
63 | -' : '').''.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> | ||
64 | -';}).''.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> | ||
65 | -';}).'</header> | ||
66 | -';}).''.''.'<div class="guang-detail-page guang-page yoho-page"> | ||
67 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('guang')), $in, false, function($cx, $in) {return ' <div id="wrapper"> | ||
68 | - <div id="scroller"> | ||
69 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <div class="author" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'> | ||
70 | - <a class="clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
71 | - <img class="avatar" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> | ||
72 | - <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
73 | - <span class="intro">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('intro')), ENT_QUOTES, 'UTF-8').'</span> | ||
74 | - </a> | ||
75 | - </div> | ||
76 | -';}).' | ||
77 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('detail')), $in, false, function($cx, $in) {return ' <div class="detail"> | ||
78 | - <div class="post-title"> | ||
79 | - <p class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</p> | ||
80 | -'.' <div class="time-view-like-share clearfix"> | ||
81 | - <i class="iconfont"></i> | ||
82 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' | ||
83 | - <i class="iconfont"></i> | ||
84 | - <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> | ||
85 | - <div class="like-share-container"> | ||
86 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> | ||
87 | - <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> | ||
88 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
89 | - <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> | ||
90 | - </a> | ||
91 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> | ||
92 | -';}).' </div> | ||
93 | - </div>'.' </div> | ||
94 | - <div class="post-content"> | ||
95 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('content')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('text')))) ? ' <div class="post-block text-block"> | ||
96 | - '.Plugin\LCRun3::v($cx, $in, array('text')).' | ||
97 | - </div> | ||
98 | -' : '').' | ||
99 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('bigImage')))) ? ' <div class="post-block big-img-block"> | ||
100 | - <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('bigImage')), ENT_QUOTES, 'UTF-8').'> | ||
101 | - </div> | ||
102 | -' : '').' | ||
103 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('smallImage')))) ? ' <div class="post-block small-img-block clearfix"> | ||
104 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('smallImage')), $in, false, function($cx, $in) {return ' <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('src')), ENT_QUOTES, 'UTF-8').'> | ||
105 | -';}).' </div> | ||
106 | -' : '').' | ||
107 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collocation')))) ? ' <div class="post-block collocation-block"> | ||
108 | - <ul class="thumb-container"> | ||
109 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collocation')), $in, true, function($cx, $in) {return ' <li class="thumb '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'focus' : '').'"> | ||
110 | - <img class="thumb-img lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> | ||
111 | - <span class="clothe-type '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('type')), ENT_QUOTES, 'UTF-8').'"></span> | ||
112 | - </li> | ||
113 | -';}).' </ul> | ||
114 | - <div class="good-list clearfix"> | ||
115 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collocation')), $in, true, function($cx, $in) {return ' <div class="prod '.((!Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $cx['sp_vars'], array('first')))) ? 'hide' : '').'"> | ||
116 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
117 | - <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
118 | - <div class="tag-container clearfix"> | ||
119 | -'.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> | ||
120 | -';}).''.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> | ||
121 | -';}).''.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> | ||
122 | -';}).''.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> | ||
123 | -';}).''.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> | ||
124 | -';}).'';}).' </div> | ||
125 | - <div class="good-detail-img"> | ||
126 | - <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
127 | - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
128 | - </a> | ||
129 | -'.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> | ||
130 | -';}).' </div> | ||
131 | - <div class="good-detail-text"> | ||
132 | - <div class="name"> | ||
133 | - <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> | ||
134 | - </div> | ||
135 | - <div class="price"> | ||
136 | - <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> | ||
137 | -'.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> | ||
138 | -';}).' </div> | ||
139 | - </div> | ||
140 | - </div> | ||
141 | - ' : '').''.'';}).' </div> | ||
142 | -';}).' </div> | ||
143 | - </div> | ||
144 | -' : '').' | ||
145 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco')))) ? ' <div class="post-block related-reco-block clearfix"> | ||
146 | - <h2>相关推荐</h2> | ||
147 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco','id')))) ? ''.Plugin\LCRun3::wi($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco')), $in, function($cx, $in) {return ' <div class="one-good"> | ||
148 | - <img class="thumb lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> | ||
149 | - <div class="content-container"> | ||
150 | - <p> | ||
151 | - <span class="reco-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
152 | - </p> | ||
153 | - <p class="price"> | ||
154 | - <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> | ||
155 | -'.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> | ||
156 | -';}).' <a class="check-detail" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
157 | - 查看详情 | ||
158 | - </a> | ||
159 | - </p> | ||
160 | - </div> | ||
161 | - </div> | ||
162 | -';}).'' : ' <div class="good-list clearfix"> | ||
163 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedReco')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
164 | - <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
165 | - <div class="tag-container clearfix"> | ||
166 | -'.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> | ||
167 | -';}).''.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> | ||
168 | -';}).''.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> | ||
169 | -';}).''.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> | ||
170 | -';}).''.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> | ||
171 | -';}).'';}).' </div> | ||
172 | - <div class="good-detail-img"> | ||
173 | - <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
174 | - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
175 | - </a> | ||
176 | -'.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> | ||
177 | -';}).' </div> | ||
178 | - <div class="good-detail-text"> | ||
179 | - <div class="name"> | ||
180 | - <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> | ||
181 | - </div> | ||
182 | - <div class="price"> | ||
183 | - <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> | ||
184 | -'.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> | ||
185 | -';}).' </div> | ||
186 | - </div> | ||
187 | - </div> | ||
188 | - ' : '').''.'';}).' </div> | ||
189 | -').' </div> | ||
190 | -' : '').'';}).' </div> | ||
191 | - </div> | ||
192 | -';}).' | ||
193 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedBrand')))) ? ' <div class="related-brand"> | ||
194 | - <h2>相关品牌</h2> | ||
195 | - <ul class="brand-list clearfix"> | ||
196 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedBrand')), $in, false, function($cx, $in) {return ' <li class="brand"> | ||
197 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
198 | - <div class="brand-logo"> | ||
199 | - <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> | ||
200 | - </div> | ||
201 | - <p class="brand-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> | ||
202 | - </a> | ||
203 | - </li> | ||
204 | -';}).' </ul> | ||
205 | - </div> | ||
206 | -' : '').' | ||
207 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedTag')))) ? ' <div class="related-tag"> | ||
208 | - <div class="tag-bg"></div> | ||
209 | - <ul class="tag-list clearfix"> | ||
210 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedTag')), $in, false, function($cx, $in) {return ' <li> | ||
211 | - <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> | ||
212 | - </li> | ||
213 | -';}).' </ul> | ||
214 | - </div> | ||
215 | -' : '').' | ||
216 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('relatedInfo')))) ? ' <div class="related-info"> | ||
217 | - <h2>相关文章</h2> | ||
218 | - <ul class="info-list"> | ||
219 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('relatedInfo')), $in, false, function($cx, $in) {return ' <li> | ||
220 | - <a class="clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
221 | - <img class="lazy '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('squareThumb')))) ? 'square' : '').'" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> | ||
222 | - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</span> | ||
223 | - <span class="publish-time"> | ||
224 | - <i class="iconfont"></i> | ||
225 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' | ||
226 | - </span> | ||
227 | - </a> | ||
228 | - </li> | ||
229 | -';}).' </ul> | ||
230 | - </div> | ||
231 | -' : '').' </div> | ||
232 | - </div> | ||
233 | - | ||
234 | - <input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
235 | - <input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
236 | - <input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
237 | - <input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
238 | -';}).'</div> | ||
239 | -'.''.''.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"> | ||
240 | - <p class="op-row"> | ||
241 | - <span class="back-to-top"> | ||
242 | - Back to top | ||
243 | - <i class="iconfont"></i> | ||
244 | - </span> | ||
245 | - </p> | ||
246 | - <address class="copyright"> | ||
247 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
248 | - </address> | ||
249 | -</footer> | ||
250 | -';}).' | ||
251 | -'.''.''.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"> | ||
252 | - <div class="float-layer-left"> | ||
253 | - <span class="yoho-icon iconfont"></span> | ||
254 | - <p>新用户首单减10元</p> | ||
255 | - </div> | ||
256 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
257 | - <i class="close-icon iconfont"></i> | ||
258 | - <div class="circle-rightbottom"></div> | ||
259 | - </a> | ||
260 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
261 | - 立即下载 | ||
262 | - </a> | ||
263 | -</div> | ||
264 | -';}).' | ||
265 | - | ||
266 | - '.''.((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> | ||
267 | -' : '').''.((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> | ||
268 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
269 | -' : '').''.((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> | ||
270 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
271 | -' : '').''.((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> | ||
272 | -<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> | ||
273 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
274 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
275 | -' : '').'<script type="text/javascript"> | ||
276 | - (function(w,d,s,j,f){ | ||
277 | - w[\'YohoAcquisitionObject\']=f; | ||
278 | - w[f]=function(){w[f].p=arguments;}; | ||
279 | - var a=d.createElement(s); | ||
280 | - var m=d.getElementsByTagName(s)[0]; | ||
281 | - a.async=1; | ||
282 | - a.src=j; | ||
283 | - m.parentNode.insertBefore(a,m); | ||
284 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
285 | -</script> | ||
286 | -'.'<script> | ||
287 | - seajs.use(\'js/common\'); | ||
288 | -</script> | ||
289 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
290 | - seajs.use(\'js/guang/plus-star/list\'); | ||
291 | -</script> | ||
292 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
293 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
294 | -</script> | ||
295 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
296 | - seajs.use(\'js/guang/home\'); | ||
297 | -</script> | ||
298 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
299 | - seajs.use(\'js/guang/list\'); | ||
300 | -</script> | ||
301 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
302 | - seajs.use(\'js/guang/detail\', function(d) { | ||
303 | - d.i(true); | ||
304 | - }); | ||
305 | -</script> | ||
306 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
307 | - seajs.use(\'js/guang/detail\', function(d) { | ||
308 | - d.i(false); | ||
309 | - }); | ||
310 | -</script> | ||
311 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
312 | - seajs.use(\'js/passport/register/register\'); | ||
313 | -</script> | ||
314 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
315 | - seajs.use(\'js/passport/register/code\'); | ||
316 | -</script> | ||
317 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
318 | - seajs.use(\'js/passport/register/password\'); | ||
319 | -</script> | ||
320 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
321 | - seajs.use(\'js/passport/login/login\'); | ||
322 | -</script> | ||
323 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
324 | - seajs.use(\'js/passport/login/international\'); | ||
325 | -</script> | ||
326 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
327 | - seajs.use(\'js/passport/back/email\'); | ||
328 | -</script> | ||
329 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
330 | - seajs.use(\'js/passport/back/email-success\'); | ||
331 | -</script> | ||
332 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
333 | - seajs.use(\'js/passport/back/mobile\'); | ||
334 | -</script> | ||
335 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
336 | - seajs.use(\'js/passport/back/code\'); | ||
337 | -</script> | ||
338 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
339 | - seajs.use(\'js/passport/back/new-password\'); | ||
340 | -</script> | ||
341 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
342 | - seajs.use(\'js/index/channel\'); | ||
343 | - seajs.use(\'js/index/footer\'); | ||
344 | -</script> | ||
345 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
346 | - seajs.use(\'js/home/home\', function(h) { | ||
347 | - h.set(\'girls\'); | ||
348 | - }); | ||
349 | - seajs.use(\'js/index/footer\'); | ||
350 | -</script> | ||
351 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
352 | - seajs.use(\'js/home/home\', function(h) { | ||
353 | - h.set(\'boys\'); | ||
354 | - }); | ||
355 | - seajs.use(\'js/index/footer\'); | ||
356 | -</script> | ||
357 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
358 | - seajs.use(\'js/home/home\', function(h) { | ||
359 | - h.set(\'kids\'); | ||
360 | - }); | ||
361 | - seajs.use(\'js/index/footer\'); | ||
362 | -</script> | ||
363 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
364 | - seajs.use(\'js/home/home\', function(h) { | ||
365 | - h.set(\'lifestyle\'); | ||
366 | - }); | ||
367 | - seajs.use(\'js/index/footer\'); | ||
368 | -</script> | ||
369 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
370 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
371 | - seajs.use(\'js/index/footer\'); | ||
372 | -</script> | ||
373 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
374 | - seajs.use(\'js/product/newsale/discount\'); | ||
375 | - seajs.use(\'js/index/footer\'); | ||
376 | -</script> | ||
377 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
378 | - seajs.use(\'js/product/list\'); | ||
379 | - seajs.use(\'js/index/footer\'); | ||
380 | -</script> | ||
381 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
382 | - seajs.use(\'js/product/detail/detail\'); | ||
383 | -</script> | ||
384 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
385 | - seajs.use(\'js/category/index\'); | ||
386 | - seajs.use(\'js/index/footer\'); | ||
387 | -</script> | ||
388 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
389 | - seajs.use(\'js/category/brand\'); | ||
390 | - seajs.use(\'js/index/footer\'); | ||
391 | -</script> | ||
392 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
393 | - seajs.use(\'js/index/search\'); | ||
394 | - seajs.use(\'js/index/footer\'); | ||
395 | -</script> | ||
396 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
397 | - seajs.use(\'js/shopping-cart/cart\'); | ||
398 | -</script> | ||
399 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
400 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
401 | -</script> | ||
402 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
403 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
404 | -<script> | ||
405 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
406 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
407 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
408 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
409 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
410 | -</script> | ||
411 | -<!-- End Google Tag Manager --> | ||
412 | -<script type="text/javascript"> | ||
413 | - var _hmt = _hmt || []; | ||
414 | - (function() { | ||
415 | - var hm = document.createElement("script"); | ||
416 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
417 | - var s = document.getElementsByTagName("script")[0]; | ||
418 | - s.parentNode.insertBefore(hm, s); | ||
419 | - })(); | ||
420 | -</script> | ||
421 | -<script> | ||
422 | - var _hmt = _hmt || []; | ||
423 | - (function() { | ||
424 | - var hm = document.createElement("script"); | ||
425 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
426 | - var s = document.getElementsByTagName("script")[0]; | ||
427 | - s.parentNode.insertBefore(hm, s); | ||
428 | - })(); | ||
429 | -</script> | ||
430 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
431 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
432 | -'.'</body> | ||
433 | -</html>'.''; | ||
434 | -} | ||
435 | -?> |
1 | -<?php return function ($in, $debugopt = 1) { | ||
2 | - $cx = array( | ||
3 | - 'flags' => array( | ||
4 | - 'jstrue' => false, | ||
5 | - 'jsobj' => false, | ||
6 | - 'spvar' => true, | ||
7 | - 'prop' => false, | ||
8 | - 'method' => false, | ||
9 | - 'mustlok' => true, | ||
10 | - 'echo' => false, | ||
11 | - 'debug' => $debugopt, | ||
12 | - ), | ||
13 | - 'constants' => array(), | ||
14 | - 'helpers' => array(), | ||
15 | - 'blockhelpers' => array(), | ||
16 | - 'hbhelpers' => array(), | ||
17 | - 'partials' => array(), | ||
18 | - 'scopes' => array(), | ||
19 | - 'sp_vars' => array('root' => $in), | ||
20 | - 'lcrun' => 'Plugin\LCRun3', | ||
21 | - | ||
22 | - ); | ||
23 | - | ||
24 | - return ''.'<!DOCTYPE html> | ||
25 | -<html> | ||
26 | -<head> | ||
27 | -<meta charset="utf-8"> | ||
28 | -<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | -<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | -<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | -<meta http-equiv="cleartype" content="on"> | ||
33 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | -<meta content="telephone=no" name="format-detection" /> | ||
35 | -<meta content="email=no" name="format-detection" /> | ||
36 | -<script type="text/javascript"> | ||
37 | - (function(doc, win) { | ||
38 | - var docEl = doc.documentElement; | ||
39 | - (function() { | ||
40 | - var clientWidth = docEl.clientWidth; | ||
41 | - if (!clientWidth) { | ||
42 | - return; | ||
43 | - } | ||
44 | - docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | - }()); | ||
46 | - })(document, window); | ||
47 | -</script> | ||
48 | -<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | -<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | -<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | -<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | -' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | -</head> | ||
60 | -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | - '.''.Plugin\LCRun3::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' : '').'"> | ||
62 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a> | ||
63 | -' : '').''.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> | ||
64 | -';}).''.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> | ||
65 | -';}).'</header> | ||
66 | -';}).''.''.'<div class="good-list-page yoho-page"> | ||
67 | -'.''.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"> | ||
68 | - <form id="search-form" action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" method="get"> | ||
69 | - <i class="search-icon iconfont"></i> | ||
70 | - <input type="text" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('default')), ENT_QUOTES, 'UTF-8').'" name="query"> | ||
71 | - <input type="hidden" value="search" name="from"> | ||
72 | - <i class="clear-input iconfont hide"></i> | ||
73 | - <span id="search" class="search" type="submit">搜索</span> | ||
74 | - </form> | ||
75 | - </div> | ||
76 | -';}).' | ||
77 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandWay')), $in, false, function($cx, $in) {return ' <div class="brand-way"> | ||
78 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
79 | - <img class="brand-thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> | ||
80 | - <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
81 | - <span class="entry"> | ||
82 | - 进入品牌 | ||
83 | - <i class="iconfont"></i> | ||
84 | - </span> | ||
85 | - </a> | ||
86 | - </div> | ||
87 | -';}).' | ||
88 | -'.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').'> | ||
89 | - <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'> | ||
90 | - <a class="btn-intro" href="javascript:void(0);"> | ||
91 | - 品牌介绍 | ||
92 | - </a> | ||
93 | - <a class="btn-col'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collected')))) ? ' coled' : '').'" href="javascript:void(0);"> | ||
94 | - <span class="iconfont"></span> | ||
95 | - <span class="txt"></span> | ||
96 | - </a> | ||
97 | - </div> | ||
98 | - <div id="intro-box" class="brand-intro-box hide"> | ||
99 | - <div id="brand-intro" class="brand-intro"> | ||
100 | - <h2>品牌介绍</h2> | ||
101 | - <div class="con"> | ||
102 | - '.Plugin\LCRun3::v($cx, $in, array('intro')).' | ||
103 | - </div> | ||
104 | - <p class="fo"> | ||
105 | - <span class="iconfont"></span> | ||
106 | - 100%品牌授权正品 | ||
107 | - </p> | ||
108 | - <span class="iconfont close-intro"></span> | ||
109 | - </div> | ||
110 | - </div> | ||
111 | -';}).' | ||
112 | - <ul id="list-nav" class="list-nav clearfix"> | ||
113 | - <li class="new active"> | ||
114 | - <a href="javascript:void(0);"> | ||
115 | - <span class="nav-txt">最新</span> | ||
116 | - <span class="iconfont cur"></span> | ||
117 | - </a> | ||
118 | - </li> | ||
119 | - <li class="price"> | ||
120 | - <a href="javascript:void(0);"> | ||
121 | - <span class="nav-txt">价格</span> | ||
122 | - <span class="icon"> | ||
123 | - <i class="iconfont up"></i> | ||
124 | - <i class="iconfont down cur"></i> | ||
125 | - </span> | ||
126 | - </a> | ||
127 | - </li> | ||
128 | - <li class="discount"> | ||
129 | - <a href="javascript:void(0);"> | ||
130 | - <span class="nav-txt">折扣</span> | ||
131 | - <span class="icon"> | ||
132 | - <i class="iconfont up"></i> | ||
133 | - <i class="iconfont down cur"></i> | ||
134 | - </span> | ||
135 | - </a> | ||
136 | - </li> | ||
137 | - <li class="filter"> | ||
138 | - <a href="javascript:void(0);"> | ||
139 | - <span class="nav-txt">筛选</span> | ||
140 | - <span class="iconfont"></span> | ||
141 | - </a> | ||
142 | - </li> | ||
143 | - </ul> | ||
144 | - <div id="goods-container" class="goods-container"> | ||
145 | - <div class="new-goods container clearfix"></div> | ||
146 | - <div class="price-goods container clearfix hide"></div> | ||
147 | - <div class="discount-goods container clearfix hide"></div> | ||
148 | - | ||
149 | -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> | ||
150 | - <div class="filter-body"> | ||
151 | - <ul class="classify"> | ||
152 | -'.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' : '').'"> | ||
153 | - <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> | ||
154 | - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> | ||
155 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
156 | - </p> | ||
157 | - <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> | ||
158 | -'.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').'> | ||
159 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
160 | - <i class="iconfont chosed-icon"></i> | ||
161 | - </li> | ||
162 | -';}).' </ul> | ||
163 | - </li> | ||
164 | -';}).' </ul> | ||
165 | - </div> | ||
166 | - </div> | ||
167 | - ';}).''.' </div> | ||
168 | - | ||
169 | -'.((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').'> | ||
170 | -' : '').' | ||
171 | -'.((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').'> | ||
172 | -' : '').' | ||
173 | -'.((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').'> | ||
174 | -' : '').' | ||
175 | -'.((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').'> | ||
176 | -' : '').' | ||
177 | -'.((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').'> | ||
178 | -' : '').' | ||
179 | -'.((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').'> | ||
180 | -' : '').' | ||
181 | -'.((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').'> | ||
182 | -' : '').' | ||
183 | -'.((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').'> | ||
184 | -' : '').' | ||
185 | -'.((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').'> | ||
186 | -' : '').' | ||
187 | -'.((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').'> | ||
188 | -' : '').' | ||
189 | -'.' <div id="suspend-cart" class="suspend-cart"> | ||
190 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> | ||
191 | - <span class="iconfont"></span> | ||
192 | - </a> | ||
193 | - <span class="cart-count hide">0</span> | ||
194 | - </div>'.' ';}).''.'</div> | ||
195 | -'.''.''.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"> | ||
196 | - <p class="op-row"> | ||
197 | - <span class="back-to-top"> | ||
198 | - Back to top | ||
199 | - <i class="iconfont"></i> | ||
200 | - </span> | ||
201 | - </p> | ||
202 | - <address class="copyright"> | ||
203 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
204 | - </address> | ||
205 | -</footer> | ||
206 | -';}).' | ||
207 | -'.''.''.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"> | ||
208 | - <div class="float-layer-left"> | ||
209 | - <span class="yoho-icon iconfont"></span> | ||
210 | - <p>新用户首单减10元</p> | ||
211 | - </div> | ||
212 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
213 | - <i class="close-icon iconfont"></i> | ||
214 | - <div class="circle-rightbottom"></div> | ||
215 | - </a> | ||
216 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
217 | - 立即下载 | ||
218 | - </a> | ||
219 | -</div> | ||
220 | -';}).' | ||
221 | - | ||
222 | - '.''.((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> | ||
223 | -' : '').''.((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> | ||
224 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
225 | -' : '').''.((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> | ||
226 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
227 | -' : '').''.((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> | ||
228 | -<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> | ||
229 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
230 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
231 | -' : '').'<script type="text/javascript"> | ||
232 | - (function(w,d,s,j,f){ | ||
233 | - w[\'YohoAcquisitionObject\']=f; | ||
234 | - w[f]=function(){w[f].p=arguments;}; | ||
235 | - var a=d.createElement(s); | ||
236 | - var m=d.getElementsByTagName(s)[0]; | ||
237 | - a.async=1; | ||
238 | - a.src=j; | ||
239 | - m.parentNode.insertBefore(a,m); | ||
240 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
241 | -</script> | ||
242 | -'.'<script> | ||
243 | - seajs.use(\'js/common\'); | ||
244 | -</script> | ||
245 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
246 | - seajs.use(\'js/guang/plus-star/list\'); | ||
247 | -</script> | ||
248 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
249 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
250 | -</script> | ||
251 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
252 | - seajs.use(\'js/guang/home\'); | ||
253 | -</script> | ||
254 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
255 | - seajs.use(\'js/guang/list\'); | ||
256 | -</script> | ||
257 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
258 | - seajs.use(\'js/guang/detail\', function(d) { | ||
259 | - d.i(true); | ||
260 | - }); | ||
261 | -</script> | ||
262 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
263 | - seajs.use(\'js/guang/detail\', function(d) { | ||
264 | - d.i(false); | ||
265 | - }); | ||
266 | -</script> | ||
267 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
268 | - seajs.use(\'js/passport/register/register\'); | ||
269 | -</script> | ||
270 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
271 | - seajs.use(\'js/passport/register/code\'); | ||
272 | -</script> | ||
273 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
274 | - seajs.use(\'js/passport/register/password\'); | ||
275 | -</script> | ||
276 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
277 | - seajs.use(\'js/passport/login/login\'); | ||
278 | -</script> | ||
279 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
280 | - seajs.use(\'js/passport/login/international\'); | ||
281 | -</script> | ||
282 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
283 | - seajs.use(\'js/passport/back/email\'); | ||
284 | -</script> | ||
285 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
286 | - seajs.use(\'js/passport/back/email-success\'); | ||
287 | -</script> | ||
288 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
289 | - seajs.use(\'js/passport/back/mobile\'); | ||
290 | -</script> | ||
291 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
292 | - seajs.use(\'js/passport/back/code\'); | ||
293 | -</script> | ||
294 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
295 | - seajs.use(\'js/passport/back/new-password\'); | ||
296 | -</script> | ||
297 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
298 | - seajs.use(\'js/index/channel\'); | ||
299 | - seajs.use(\'js/index/footer\'); | ||
300 | -</script> | ||
301 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
302 | - seajs.use(\'js/home/home\', function(h) { | ||
303 | - h.set(\'girls\'); | ||
304 | - }); | ||
305 | - seajs.use(\'js/index/footer\'); | ||
306 | -</script> | ||
307 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
308 | - seajs.use(\'js/home/home\', function(h) { | ||
309 | - h.set(\'boys\'); | ||
310 | - }); | ||
311 | - seajs.use(\'js/index/footer\'); | ||
312 | -</script> | ||
313 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
314 | - seajs.use(\'js/home/home\', function(h) { | ||
315 | - h.set(\'kids\'); | ||
316 | - }); | ||
317 | - seajs.use(\'js/index/footer\'); | ||
318 | -</script> | ||
319 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
320 | - seajs.use(\'js/home/home\', function(h) { | ||
321 | - h.set(\'lifestyle\'); | ||
322 | - }); | ||
323 | - seajs.use(\'js/index/footer\'); | ||
324 | -</script> | ||
325 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
326 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
327 | - seajs.use(\'js/index/footer\'); | ||
328 | -</script> | ||
329 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
330 | - seajs.use(\'js/product/newsale/discount\'); | ||
331 | - seajs.use(\'js/index/footer\'); | ||
332 | -</script> | ||
333 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
334 | - seajs.use(\'js/product/list\'); | ||
335 | - seajs.use(\'js/index/footer\'); | ||
336 | -</script> | ||
337 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
338 | - seajs.use(\'js/product/detail/detail\'); | ||
339 | -</script> | ||
340 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
341 | - seajs.use(\'js/category/index\'); | ||
342 | - seajs.use(\'js/index/footer\'); | ||
343 | -</script> | ||
344 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
345 | - seajs.use(\'js/category/brand\'); | ||
346 | - seajs.use(\'js/index/footer\'); | ||
347 | -</script> | ||
348 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
349 | - seajs.use(\'js/index/search\'); | ||
350 | - seajs.use(\'js/index/footer\'); | ||
351 | -</script> | ||
352 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
353 | - seajs.use(\'js/shopping-cart/cart\'); | ||
354 | -</script> | ||
355 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
356 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
357 | -</script> | ||
358 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
359 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
360 | -<script> | ||
361 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
362 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
363 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
364 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
365 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
366 | -</script> | ||
367 | -<!-- End Google Tag Manager --> | ||
368 | -<script type="text/javascript"> | ||
369 | - var _hmt = _hmt || []; | ||
370 | - (function() { | ||
371 | - var hm = document.createElement("script"); | ||
372 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
373 | - var s = document.getElementsByTagName("script")[0]; | ||
374 | - s.parentNode.insertBefore(hm, s); | ||
375 | - })(); | ||
376 | -</script> | ||
377 | -<script> | ||
378 | - var _hmt = _hmt || []; | ||
379 | - (function() { | ||
380 | - var hm = document.createElement("script"); | ||
381 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
382 | - var s = document.getElementsByTagName("script")[0]; | ||
383 | - s.parentNode.insertBefore(hm, s); | ||
384 | - })(); | ||
385 | -</script> | ||
386 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
387 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
388 | -'.'</body> | ||
389 | -</html>'.''; | ||
390 | -} | ||
391 | -?> |
1 | -<?php return function ($in, $debugopt = 1) { | ||
2 | - $cx = array( | ||
3 | - 'flags' => array( | ||
4 | - 'jstrue' => false, | ||
5 | - 'jsobj' => false, | ||
6 | - 'spvar' => true, | ||
7 | - 'prop' => false, | ||
8 | - 'method' => false, | ||
9 | - 'mustlok' => true, | ||
10 | - 'echo' => false, | ||
11 | - 'debug' => $debugopt, | ||
12 | - ), | ||
13 | - 'constants' => array(), | ||
14 | - 'helpers' => array(), | ||
15 | - 'blockhelpers' => array(), | ||
16 | - 'hbhelpers' => array(), | ||
17 | - 'partials' => array(), | ||
18 | - 'scopes' => array(), | ||
19 | - 'sp_vars' => array('root' => $in), | ||
20 | - 'lcrun' => 'Plugin\LCRun3', | ||
21 | - | ||
22 | - ); | ||
23 | - | ||
24 | - return ''.'<!DOCTYPE html> | ||
25 | -<html> | ||
26 | -<head> | ||
27 | -<meta charset="utf-8"> | ||
28 | -<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | -<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | -<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | -<meta http-equiv="cleartype" content="on"> | ||
33 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | -<meta content="telephone=no" name="format-detection" /> | ||
35 | -<meta content="email=no" name="format-detection" /> | ||
36 | -<script type="text/javascript"> | ||
37 | - (function(doc, win) { | ||
38 | - var docEl = doc.documentElement; | ||
39 | - (function() { | ||
40 | - var clientWidth = docEl.clientWidth; | ||
41 | - if (!clientWidth) { | ||
42 | - return; | ||
43 | - } | ||
44 | - docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | - }()); | ||
46 | - })(document, window); | ||
47 | -</script> | ||
48 | -<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | -<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | -<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | -<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | -' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | -</head> | ||
60 | -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | - '.''.Plugin\LCRun3::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' : '').'"> | ||
62 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a> | ||
63 | -' : '').''.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> | ||
64 | -';}).''.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> | ||
65 | -';}).'</header> | ||
66 | -';}).''.''.'<div class="guang-list-page guang-page yoho-page"> | ||
67 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('guang')), $in, false, function($cx, $in) {return ''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('swiper')))) ? ' <div class="swiper-container"> | ||
68 | - <div class="swiper-wrapper"> | ||
69 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('swiper')), $in, false, function($cx, $in) {return ' <div class="swiper-slide"> | ||
70 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
71 | - <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
72 | - </a> | ||
73 | - <div class="swiper-lazy-preloader"></div> | ||
74 | - </div> | ||
75 | -';}).' </div> | ||
76 | - <div class="swiper-pagination"></div> | ||
77 | - </div> | ||
78 | -' : '').' | ||
79 | - <ul id="guang-nav" class="guang-nav clearfix"> | ||
80 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('navs')), $in, false, function($cx, $in) {return ' <li class="guang-nav-item '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('focus')), $in, false, function($cx, $in) {return 'focus';}).'" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('typeId')), ENT_QUOTES, 'UTF-8').'> | ||
81 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('type')), ENT_QUOTES, 'UTF-8').' | ||
82 | - </li> | ||
83 | -';}).' </ul> | ||
84 | - | ||
85 | - <div id="info-list" class="info-list-container"> | ||
86 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('infos')), $in, false, function($cx, $in) {return ' <div class="info-list'.((Plugin\LCRun3::isec($cx, Plugin\LCRun3::v($cx, $in, array('show')))) ? ' hide' : '').'"> | ||
87 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('info')), $in, false, function($cx, $in) {return ''.' <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
88 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
89 | - <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> | ||
90 | - <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
91 | - </a> | ||
92 | -';}).' | ||
93 | - <div class="info-img"> | ||
94 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> | ||
95 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 | ||
96 | - <div class="info-tag tip"></div> | ||
97 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 | ||
98 | - <div class="info-tag collocation"></div> | ||
99 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 | ||
100 | - <div class="info-tag fashion-man"></div> | ||
101 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 | ||
102 | - <div class="info-tag fashion-good"></div> | ||
103 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 | ||
104 | - <div class="info-tag topic"></div> | ||
105 | -';}).' </a> | ||
106 | -' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
107 | - <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('alt')), ENT_QUOTES, 'UTF-8').'"> | ||
108 | - </a> | ||
109 | - </div> | ||
110 | - | ||
111 | - <div class="info-deps"> | ||
112 | - <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
113 | - <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
114 | - </a> | ||
115 | - <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> | ||
116 | -'.' <div class="time-view-like-share clearfix"> | ||
117 | - <i class="iconfont"></i> | ||
118 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' | ||
119 | - <i class="iconfont"></i> | ||
120 | - <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> | ||
121 | - <div class="like-share-container"> | ||
122 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> | ||
123 | - <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> | ||
124 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
125 | - <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> | ||
126 | - </a> | ||
127 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> | ||
128 | -';}).' </div> | ||
129 | - </div>'.' </div> | ||
130 | - </div>'.'';}).' </div> | ||
131 | -';}).' </div> | ||
132 | - | ||
133 | - <div id="load-more-info" class="load-more-info"> | ||
134 | - <div class="loading status"> | ||
135 | - 正在加载... | ||
136 | - </div> | ||
137 | - <span class="no-more status hide">没有更多啦</span> | ||
138 | - </div> | ||
139 | - <input id="gender" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('gender')), ENT_QUOTES, 'UTF-8').'> | ||
140 | -';}).'</div> | ||
141 | -'.''.''.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"> | ||
142 | - <p class="op-row"> | ||
143 | - <span class="back-to-top"> | ||
144 | - Back to top | ||
145 | - <i class="iconfont"></i> | ||
146 | - </span> | ||
147 | - </p> | ||
148 | - <address class="copyright"> | ||
149 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
150 | - </address> | ||
151 | -</footer> | ||
152 | -';}).' | ||
153 | -'.''.''.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"> | ||
154 | - <div class="float-layer-left"> | ||
155 | - <span class="yoho-icon iconfont"></span> | ||
156 | - <p>新用户首单减10元</p> | ||
157 | - </div> | ||
158 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
159 | - <i class="close-icon iconfont"></i> | ||
160 | - <div class="circle-rightbottom"></div> | ||
161 | - </a> | ||
162 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
163 | - 立即下载 | ||
164 | - </a> | ||
165 | -</div> | ||
166 | -';}).' | ||
167 | - | ||
168 | - '.''.((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> | ||
169 | -' : '').''.((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> | ||
170 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
171 | -' : '').''.((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> | ||
172 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
173 | -' : '').''.((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> | ||
174 | -<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> | ||
175 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
176 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
177 | -' : '').'<script type="text/javascript"> | ||
178 | - (function(w,d,s,j,f){ | ||
179 | - w[\'YohoAcquisitionObject\']=f; | ||
180 | - w[f]=function(){w[f].p=arguments;}; | ||
181 | - var a=d.createElement(s); | ||
182 | - var m=d.getElementsByTagName(s)[0]; | ||
183 | - a.async=1; | ||
184 | - a.src=j; | ||
185 | - m.parentNode.insertBefore(a,m); | ||
186 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
187 | -</script> | ||
188 | -'.'<script> | ||
189 | - seajs.use(\'js/common\'); | ||
190 | -</script> | ||
191 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
192 | - seajs.use(\'js/guang/plus-star/list\'); | ||
193 | -</script> | ||
194 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
195 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
196 | -</script> | ||
197 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
198 | - seajs.use(\'js/guang/home\'); | ||
199 | -</script> | ||
200 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
201 | - seajs.use(\'js/guang/list\'); | ||
202 | -</script> | ||
203 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
204 | - seajs.use(\'js/guang/detail\', function(d) { | ||
205 | - d.i(true); | ||
206 | - }); | ||
207 | -</script> | ||
208 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
209 | - seajs.use(\'js/guang/detail\', function(d) { | ||
210 | - d.i(false); | ||
211 | - }); | ||
212 | -</script> | ||
213 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
214 | - seajs.use(\'js/passport/register/register\'); | ||
215 | -</script> | ||
216 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
217 | - seajs.use(\'js/passport/register/code\'); | ||
218 | -</script> | ||
219 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
220 | - seajs.use(\'js/passport/register/password\'); | ||
221 | -</script> | ||
222 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
223 | - seajs.use(\'js/passport/login/login\'); | ||
224 | -</script> | ||
225 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
226 | - seajs.use(\'js/passport/login/international\'); | ||
227 | -</script> | ||
228 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
229 | - seajs.use(\'js/passport/back/email\'); | ||
230 | -</script> | ||
231 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
232 | - seajs.use(\'js/passport/back/email-success\'); | ||
233 | -</script> | ||
234 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
235 | - seajs.use(\'js/passport/back/mobile\'); | ||
236 | -</script> | ||
237 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
238 | - seajs.use(\'js/passport/back/code\'); | ||
239 | -</script> | ||
240 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
241 | - seajs.use(\'js/passport/back/new-password\'); | ||
242 | -</script> | ||
243 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
244 | - seajs.use(\'js/index/channel\'); | ||
245 | - seajs.use(\'js/index/footer\'); | ||
246 | -</script> | ||
247 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
248 | - seajs.use(\'js/home/home\', function(h) { | ||
249 | - h.set(\'girls\'); | ||
250 | - }); | ||
251 | - seajs.use(\'js/index/footer\'); | ||
252 | -</script> | ||
253 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
254 | - seajs.use(\'js/home/home\', function(h) { | ||
255 | - h.set(\'boys\'); | ||
256 | - }); | ||
257 | - seajs.use(\'js/index/footer\'); | ||
258 | -</script> | ||
259 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
260 | - seajs.use(\'js/home/home\', function(h) { | ||
261 | - h.set(\'kids\'); | ||
262 | - }); | ||
263 | - seajs.use(\'js/index/footer\'); | ||
264 | -</script> | ||
265 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
266 | - seajs.use(\'js/home/home\', function(h) { | ||
267 | - h.set(\'lifestyle\'); | ||
268 | - }); | ||
269 | - seajs.use(\'js/index/footer\'); | ||
270 | -</script> | ||
271 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
272 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
273 | - seajs.use(\'js/index/footer\'); | ||
274 | -</script> | ||
275 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
276 | - seajs.use(\'js/product/newsale/discount\'); | ||
277 | - seajs.use(\'js/index/footer\'); | ||
278 | -</script> | ||
279 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
280 | - seajs.use(\'js/product/list\'); | ||
281 | - seajs.use(\'js/index/footer\'); | ||
282 | -</script> | ||
283 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
284 | - seajs.use(\'js/product/detail/detail\'); | ||
285 | -</script> | ||
286 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
287 | - seajs.use(\'js/category/index\'); | ||
288 | - seajs.use(\'js/index/footer\'); | ||
289 | -</script> | ||
290 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
291 | - seajs.use(\'js/category/brand\'); | ||
292 | - seajs.use(\'js/index/footer\'); | ||
293 | -</script> | ||
294 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
295 | - seajs.use(\'js/index/search\'); | ||
296 | - seajs.use(\'js/index/footer\'); | ||
297 | -</script> | ||
298 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
299 | - seajs.use(\'js/shopping-cart/cart\'); | ||
300 | -</script> | ||
301 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
302 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
303 | -</script> | ||
304 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
305 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
306 | -<script> | ||
307 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
308 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
309 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
310 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
311 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
312 | -</script> | ||
313 | -<!-- End Google Tag Manager --> | ||
314 | -<script type="text/javascript"> | ||
315 | - var _hmt = _hmt || []; | ||
316 | - (function() { | ||
317 | - var hm = document.createElement("script"); | ||
318 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
319 | - var s = document.getElementsByTagName("script")[0]; | ||
320 | - s.parentNode.insertBefore(hm, s); | ||
321 | - })(); | ||
322 | -</script> | ||
323 | -<script> | ||
324 | - var _hmt = _hmt || []; | ||
325 | - (function() { | ||
326 | - var hm = document.createElement("script"); | ||
327 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
328 | - var s = document.getElementsByTagName("script")[0]; | ||
329 | - s.parentNode.insertBefore(hm, s); | ||
330 | - })(); | ||
331 | -</script> | ||
332 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
333 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
334 | -'.'</body> | ||
335 | -</html>'.''; | ||
336 | -} | ||
337 | -?> |
1 | -<?php return function ($in, $debugopt = 1) { | ||
2 | - $cx = array( | ||
3 | - 'flags' => array( | ||
4 | - 'jstrue' => false, | ||
5 | - 'jsobj' => false, | ||
6 | - 'spvar' => true, | ||
7 | - 'prop' => false, | ||
8 | - 'method' => false, | ||
9 | - 'mustlok' => true, | ||
10 | - 'echo' => false, | ||
11 | - 'debug' => $debugopt, | ||
12 | - ), | ||
13 | - 'constants' => array(), | ||
14 | - 'helpers' => array(), | ||
15 | - 'blockhelpers' => array(), | ||
16 | - 'hbhelpers' => array(), | ||
17 | - 'partials' => array(), | ||
18 | - 'scopes' => array(), | ||
19 | - 'sp_vars' => array('root' => $in), | ||
20 | - 'lcrun' => 'Plugin\LCRun3', | ||
21 | - | ||
22 | - ); | ||
23 | - | ||
24 | - return ''.'<!DOCTYPE html> | ||
25 | -<html> | ||
26 | -<head> | ||
27 | -<meta charset="utf-8"> | ||
28 | -<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | -<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | -<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | -<meta http-equiv="cleartype" content="on"> | ||
33 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | -<meta content="telephone=no" name="format-detection" /> | ||
35 | -<meta content="email=no" name="format-detection" /> | ||
36 | -<script type="text/javascript"> | ||
37 | - (function(doc, win) { | ||
38 | - var docEl = doc.documentElement; | ||
39 | - (function() { | ||
40 | - var clientWidth = docEl.clientWidth; | ||
41 | - if (!clientWidth) { | ||
42 | - return; | ||
43 | - } | ||
44 | - docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | - }()); | ||
46 | - })(document, window); | ||
47 | -</script> | ||
48 | -<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | -<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | -<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | -<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | -' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | -</head> | ||
60 | -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | - '.''.Plugin\LCRun3::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' : '').'"> | ||
62 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a> | ||
63 | -' : '').''.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> | ||
64 | -';}).''.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> | ||
65 | -';}).'</header> | ||
66 | -';}).''.''.'<div class="brand-page yoho-page"> | ||
67 | - <div class="newbrand-search"> | ||
68 | - <div class="search-box clearfix"> | ||
69 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'" > | ||
70 | - <input type="text" class="search-input" placeholder="查找品牌" readonly="true"> | ||
71 | - <i class="search-icon iconfont"></i> | ||
72 | - </a> | ||
73 | - </div> | ||
74 | - </div> | ||
75 | - | ||
76 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('bannerTop')), $in, false, function($cx, $in) {return ''.' <div class="banner-top"> | ||
77 | - <div class="banner-swiper swiper-container"> | ||
78 | - <ul class="swiper-wrapper"> | ||
79 | -'.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"> | ||
80 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
81 | - <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
82 | - </a> | ||
83 | - </li> | ||
84 | -' : ' <li class="swiper-slide"> | ||
85 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
86 | - <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
87 | - </a> | ||
88 | - <div class="swiper-lazy-preloader"></div> | ||
89 | - </li> | ||
90 | -').'';}).' </ul> | ||
91 | - </div> | ||
92 | - <div class="swiper-pagination"> | ||
93 | - <div class="pagination-inner"> | ||
94 | - </div> | ||
95 | - </div> | ||
96 | - </div>'.'';}).' | ||
97 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hotBrand')), $in, false, function($cx, $in) {return ' <div class="hot-brand"> | ||
98 | - <ul class="hot-brand-list clearfix"> | ||
99 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li> | ||
100 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
101 | - <div class="img-box"> | ||
102 | - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'" alt=""> | ||
103 | - </div> | ||
104 | - </a> | ||
105 | - </li> | ||
106 | -';}).' </ul> | ||
107 | - </div> | ||
108 | -';}).' | ||
109 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandList')), $in, false, function($cx, $in) {return ' <div class="brand-list bar-'.htmlentities((string)Plugin\LCRun3::v($cx, $cx['sp_vars'], array('index')), ENT_QUOTES, 'UTF-8').'"> | ||
110 | - <div class="title-bar"> | ||
111 | - <h2 style="position: static;">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
112 | - </div> | ||
113 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <p> | ||
114 | - <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').' | ||
115 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isHot')), $in, false, function($cx, $in) {return ' <i class="icon-hot">HOT</i> | ||
116 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isNew')), $in, false, function($cx, $in) {return ' <i class="icon-new">NEW</i> | ||
117 | -';}).' </a> | ||
118 | - </p> | ||
119 | -';}).' </div> | ||
120 | -';}).''.''.''.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"> | ||
121 | - <p class="op-row"> | ||
122 | - <span class="back-to-top"> | ||
123 | - Back to top | ||
124 | - <i class="iconfont"></i> | ||
125 | - </span> | ||
126 | - </p> | ||
127 | - <address class="copyright"> | ||
128 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
129 | - </address> | ||
130 | -</footer> | ||
131 | -';}).' | ||
132 | -'.''.''.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"> | ||
133 | - <div class="float-layer-left"> | ||
134 | - <span class="yoho-icon iconfont"></span> | ||
135 | - <p>新用户首单减10元</p> | ||
136 | - </div> | ||
137 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
138 | - <i class="close-icon iconfont"></i> | ||
139 | - <div class="circle-rightbottom"></div> | ||
140 | - </a> | ||
141 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
142 | - 立即下载 | ||
143 | - </a> | ||
144 | -</div> | ||
145 | -';}).' | ||
146 | - | ||
147 | - '.''.((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> | ||
148 | -' : '').''.((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> | ||
149 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
150 | -' : '').''.((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> | ||
151 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
152 | -' : '').''.((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> | ||
153 | -<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> | ||
154 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
155 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
156 | -' : '').'<script type="text/javascript"> | ||
157 | - (function(w,d,s,j,f){ | ||
158 | - w[\'YohoAcquisitionObject\']=f; | ||
159 | - w[f]=function(){w[f].p=arguments;}; | ||
160 | - var a=d.createElement(s); | ||
161 | - var m=d.getElementsByTagName(s)[0]; | ||
162 | - a.async=1; | ||
163 | - a.src=j; | ||
164 | - m.parentNode.insertBefore(a,m); | ||
165 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
166 | -</script> | ||
167 | -'.'<script> | ||
168 | - seajs.use(\'js/common\'); | ||
169 | -</script> | ||
170 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
171 | - seajs.use(\'js/guang/plus-star/list\'); | ||
172 | -</script> | ||
173 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
174 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
175 | -</script> | ||
176 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
177 | - seajs.use(\'js/guang/home\'); | ||
178 | -</script> | ||
179 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
180 | - seajs.use(\'js/guang/list\'); | ||
181 | -</script> | ||
182 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
183 | - seajs.use(\'js/guang/detail\', function(d) { | ||
184 | - d.i(true); | ||
185 | - }); | ||
186 | -</script> | ||
187 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
188 | - seajs.use(\'js/guang/detail\', function(d) { | ||
189 | - d.i(false); | ||
190 | - }); | ||
191 | -</script> | ||
192 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
193 | - seajs.use(\'js/passport/register/register\'); | ||
194 | -</script> | ||
195 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
196 | - seajs.use(\'js/passport/register/code\'); | ||
197 | -</script> | ||
198 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
199 | - seajs.use(\'js/passport/register/password\'); | ||
200 | -</script> | ||
201 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
202 | - seajs.use(\'js/passport/login/login\'); | ||
203 | -</script> | ||
204 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
205 | - seajs.use(\'js/passport/login/international\'); | ||
206 | -</script> | ||
207 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
208 | - seajs.use(\'js/passport/back/email\'); | ||
209 | -</script> | ||
210 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
211 | - seajs.use(\'js/passport/back/email-success\'); | ||
212 | -</script> | ||
213 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
214 | - seajs.use(\'js/passport/back/mobile\'); | ||
215 | -</script> | ||
216 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
217 | - seajs.use(\'js/passport/back/code\'); | ||
218 | -</script> | ||
219 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
220 | - seajs.use(\'js/passport/back/new-password\'); | ||
221 | -</script> | ||
222 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
223 | - seajs.use(\'js/index/channel\'); | ||
224 | - seajs.use(\'js/index/footer\'); | ||
225 | -</script> | ||
226 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
227 | - seajs.use(\'js/home/home\', function(h) { | ||
228 | - h.set(\'girls\'); | ||
229 | - }); | ||
230 | - seajs.use(\'js/index/footer\'); | ||
231 | -</script> | ||
232 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
233 | - seajs.use(\'js/home/home\', function(h) { | ||
234 | - h.set(\'boys\'); | ||
235 | - }); | ||
236 | - seajs.use(\'js/index/footer\'); | ||
237 | -</script> | ||
238 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
239 | - seajs.use(\'js/home/home\', function(h) { | ||
240 | - h.set(\'kids\'); | ||
241 | - }); | ||
242 | - seajs.use(\'js/index/footer\'); | ||
243 | -</script> | ||
244 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
245 | - seajs.use(\'js/home/home\', function(h) { | ||
246 | - h.set(\'lifestyle\'); | ||
247 | - }); | ||
248 | - seajs.use(\'js/index/footer\'); | ||
249 | -</script> | ||
250 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
251 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
252 | - seajs.use(\'js/index/footer\'); | ||
253 | -</script> | ||
254 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
255 | - seajs.use(\'js/product/newsale/discount\'); | ||
256 | - seajs.use(\'js/index/footer\'); | ||
257 | -</script> | ||
258 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
259 | - seajs.use(\'js/product/list\'); | ||
260 | - seajs.use(\'js/index/footer\'); | ||
261 | -</script> | ||
262 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
263 | - seajs.use(\'js/product/detail/detail\'); | ||
264 | -</script> | ||
265 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
266 | - seajs.use(\'js/category/index\'); | ||
267 | - seajs.use(\'js/index/footer\'); | ||
268 | -</script> | ||
269 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
270 | - seajs.use(\'js/category/brand\'); | ||
271 | - seajs.use(\'js/index/footer\'); | ||
272 | -</script> | ||
273 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
274 | - seajs.use(\'js/index/search\'); | ||
275 | - seajs.use(\'js/index/footer\'); | ||
276 | -</script> | ||
277 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
278 | - seajs.use(\'js/shopping-cart/cart\'); | ||
279 | -</script> | ||
280 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
281 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
282 | -</script> | ||
283 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
284 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
285 | -<script> | ||
286 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
287 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
288 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
289 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
290 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
291 | -</script> | ||
292 | -<!-- End Google Tag Manager --> | ||
293 | -<script type="text/javascript"> | ||
294 | - var _hmt = _hmt || []; | ||
295 | - (function() { | ||
296 | - var hm = document.createElement("script"); | ||
297 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
298 | - var s = document.getElementsByTagName("script")[0]; | ||
299 | - s.parentNode.insertBefore(hm, s); | ||
300 | - })(); | ||
301 | -</script> | ||
302 | -<script> | ||
303 | - var _hmt = _hmt || []; | ||
304 | - (function() { | ||
305 | - var hm = document.createElement("script"); | ||
306 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
307 | - var s = document.getElementsByTagName("script")[0]; | ||
308 | - s.parentNode.insertBefore(hm, s); | ||
309 | - })(); | ||
310 | -</script> | ||
311 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
312 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
313 | -'.'</body> | ||
314 | -</html>'.''; | ||
315 | -} | ||
316 | -?> |
1 | -<?php return function ($in, $debugopt = 1) { | ||
2 | - $cx = array( | ||
3 | - 'flags' => array( | ||
4 | - 'jstrue' => false, | ||
5 | - 'jsobj' => false, | ||
6 | - 'spvar' => true, | ||
7 | - 'prop' => false, | ||
8 | - 'method' => false, | ||
9 | - 'mustlok' => true, | ||
10 | - 'echo' => false, | ||
11 | - 'debug' => $debugopt, | ||
12 | - ), | ||
13 | - 'constants' => array(), | ||
14 | - 'helpers' => array(), | ||
15 | - 'blockhelpers' => array(), | ||
16 | - 'hbhelpers' => array(), | ||
17 | - 'partials' => array(), | ||
18 | - 'scopes' => array(), | ||
19 | - 'sp_vars' => array('root' => $in), | ||
20 | - 'lcrun' => 'Plugin\LCRun3', | ||
21 | - | ||
22 | - ); | ||
23 | - | ||
24 | - return ''.'<!DOCTYPE html> | ||
25 | -<html> | ||
26 | -<head> | ||
27 | -<meta charset="utf-8"> | ||
28 | -<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | -<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | -<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | -<meta http-equiv="cleartype" content="on"> | ||
33 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | -<meta content="telephone=no" name="format-detection" /> | ||
35 | -<meta content="email=no" name="format-detection" /> | ||
36 | -<script type="text/javascript"> | ||
37 | - (function(doc, win) { | ||
38 | - var docEl = doc.documentElement; | ||
39 | - (function() { | ||
40 | - var clientWidth = docEl.clientWidth; | ||
41 | - if (!clientWidth) { | ||
42 | - return; | ||
43 | - } | ||
44 | - docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | - }()); | ||
46 | - })(document, window); | ||
47 | -</script> | ||
48 | -<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | -<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | -<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | -<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | -' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | -</head> | ||
60 | -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | - '.''.Plugin\LCRun3::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' : '').'"> | ||
62 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a> | ||
63 | -' : '').''.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> | ||
64 | -';}).''.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> | ||
65 | -';}).'</header> | ||
66 | -';}).''.''.'<div class="good-list-page yoho-page"> | ||
67 | -'.''.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"> | ||
68 | - <form id="search-form" action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'" method="get"> | ||
69 | - <i class="search-icon iconfont"></i> | ||
70 | - <input type="text" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('default')), ENT_QUOTES, 'UTF-8').'" name="query"> | ||
71 | - <input type="hidden" value="search" name="from"> | ||
72 | - <i class="clear-input iconfont hide"></i> | ||
73 | - <span id="search" class="search" type="submit">搜索</span> | ||
74 | - </form> | ||
75 | - </div> | ||
76 | -';}).' | ||
77 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('brandWay')), $in, false, function($cx, $in) {return ' <div class="brand-way"> | ||
78 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
79 | - <img class="brand-thumb" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'> | ||
80 | - <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
81 | - <span class="entry"> | ||
82 | - 进入品牌 | ||
83 | - <i class="iconfont"></i> | ||
84 | - </span> | ||
85 | - </a> | ||
86 | - </div> | ||
87 | -';}).' | ||
88 | -'.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').'> | ||
89 | - <img class="lazy" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'> | ||
90 | - <a class="btn-intro" href="javascript:void(0);"> | ||
91 | - 品牌介绍 | ||
92 | - </a> | ||
93 | - <a class="btn-col'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('collected')))) ? ' coled' : '').'" href="javascript:void(0);"> | ||
94 | - <span class="iconfont"></span> | ||
95 | - <span class="txt"></span> | ||
96 | - </a> | ||
97 | - </div> | ||
98 | - <div id="intro-box" class="brand-intro-box hide"> | ||
99 | - <div id="brand-intro" class="brand-intro"> | ||
100 | - <h2>品牌介绍</h2> | ||
101 | - <div class="con"> | ||
102 | - '.Plugin\LCRun3::v($cx, $in, array('intro')).' | ||
103 | - </div> | ||
104 | - <p class="fo"> | ||
105 | - <span class="iconfont"></span> | ||
106 | - 100%品牌授权正品 | ||
107 | - </p> | ||
108 | - <span class="iconfont close-intro"></span> | ||
109 | - </div> | ||
110 | - </div> | ||
111 | -';}).' | ||
112 | - <ul id="list-nav" class="list-nav clearfix"> | ||
113 | - <li class="new active"> | ||
114 | - <a href="javascript:void(0);"> | ||
115 | - <span class="nav-txt">最新</span> | ||
116 | - <span class="iconfont cur"></span> | ||
117 | - </a> | ||
118 | - </li> | ||
119 | - <li class="price"> | ||
120 | - <a href="javascript:void(0);"> | ||
121 | - <span class="nav-txt">价格</span> | ||
122 | - <span class="icon"> | ||
123 | - <i class="iconfont up"></i> | ||
124 | - <i class="iconfont down cur"></i> | ||
125 | - </span> | ||
126 | - </a> | ||
127 | - </li> | ||
128 | - <li class="discount"> | ||
129 | - <a href="javascript:void(0);"> | ||
130 | - <span class="nav-txt">折扣</span> | ||
131 | - <span class="icon"> | ||
132 | - <i class="iconfont up"></i> | ||
133 | - <i class="iconfont down cur"></i> | ||
134 | - </span> | ||
135 | - </a> | ||
136 | - </li> | ||
137 | - <li class="filter"> | ||
138 | - <a href="javascript:void(0);"> | ||
139 | - <span class="nav-txt">筛选</span> | ||
140 | - <span class="iconfont"></span> | ||
141 | - </a> | ||
142 | - </li> | ||
143 | - </ul> | ||
144 | - <div id="goods-container" class="goods-container"> | ||
145 | - <div class="new-goods container clearfix"></div> | ||
146 | - <div class="price-goods container clearfix hide"></div> | ||
147 | - <div class="discount-goods container clearfix hide"></div> | ||
148 | - | ||
149 | -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> | ||
150 | - <div class="filter-body"> | ||
151 | - <ul class="classify"> | ||
152 | -'.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' : '').'"> | ||
153 | - <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> | ||
154 | - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> | ||
155 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
156 | - </p> | ||
157 | - <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> | ||
158 | -'.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').'> | ||
159 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
160 | - <i class="iconfont chosed-icon"></i> | ||
161 | - </li> | ||
162 | -';}).' </ul> | ||
163 | - </li> | ||
164 | -';}).' </ul> | ||
165 | - </div> | ||
166 | - </div> | ||
167 | - ';}).''.' </div> | ||
168 | - | ||
169 | -'.((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').'> | ||
170 | -' : '').' | ||
171 | -'.((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').'> | ||
172 | -' : '').' | ||
173 | -'.((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').'> | ||
174 | -' : '').' | ||
175 | -'.((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').'> | ||
176 | -' : '').' | ||
177 | -'.((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').'> | ||
178 | -' : '').' | ||
179 | -'.((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').'> | ||
180 | -' : '').' | ||
181 | -'.((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').'> | ||
182 | -' : '').' | ||
183 | -'.((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').'> | ||
184 | -' : '').' | ||
185 | -'.((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').'> | ||
186 | -' : '').' | ||
187 | -'.((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').'> | ||
188 | -' : '').' | ||
189 | -'.' <div id="suspend-cart" class="suspend-cart"> | ||
190 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> | ||
191 | - <span class="iconfont"></span> | ||
192 | - </a> | ||
193 | - <span class="cart-count hide">0</span> | ||
194 | - </div>'.' ';}).''.'</div> | ||
195 | -'.''.''.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"> | ||
196 | - <p class="op-row"> | ||
197 | - <span class="back-to-top"> | ||
198 | - Back to top | ||
199 | - <i class="iconfont"></i> | ||
200 | - </span> | ||
201 | - </p> | ||
202 | - <address class="copyright"> | ||
203 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
204 | - </address> | ||
205 | -</footer> | ||
206 | -';}).' | ||
207 | -'.''.''.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"> | ||
208 | - <div class="float-layer-left"> | ||
209 | - <span class="yoho-icon iconfont"></span> | ||
210 | - <p>新用户首单减10元</p> | ||
211 | - </div> | ||
212 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
213 | - <i class="close-icon iconfont"></i> | ||
214 | - <div class="circle-rightbottom"></div> | ||
215 | - </a> | ||
216 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
217 | - 立即下载 | ||
218 | - </a> | ||
219 | -</div> | ||
220 | -';}).' | ||
221 | - | ||
222 | - '.''.((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> | ||
223 | -' : '').''.((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> | ||
224 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
225 | -' : '').''.((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> | ||
226 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
227 | -' : '').''.((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> | ||
228 | -<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> | ||
229 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
230 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
231 | -' : '').'<script type="text/javascript"> | ||
232 | - (function(w,d,s,j,f){ | ||
233 | - w[\'YohoAcquisitionObject\']=f; | ||
234 | - w[f]=function(){w[f].p=arguments;}; | ||
235 | - var a=d.createElement(s); | ||
236 | - var m=d.getElementsByTagName(s)[0]; | ||
237 | - a.async=1; | ||
238 | - a.src=j; | ||
239 | - m.parentNode.insertBefore(a,m); | ||
240 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
241 | -</script> | ||
242 | -'.'<script> | ||
243 | - seajs.use(\'js/common\'); | ||
244 | -</script> | ||
245 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
246 | - seajs.use(\'js/guang/plus-star/list\'); | ||
247 | -</script> | ||
248 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
249 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
250 | -</script> | ||
251 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
252 | - seajs.use(\'js/guang/home\'); | ||
253 | -</script> | ||
254 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
255 | - seajs.use(\'js/guang/list\'); | ||
256 | -</script> | ||
257 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
258 | - seajs.use(\'js/guang/detail\', function(d) { | ||
259 | - d.i(true); | ||
260 | - }); | ||
261 | -</script> | ||
262 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
263 | - seajs.use(\'js/guang/detail\', function(d) { | ||
264 | - d.i(false); | ||
265 | - }); | ||
266 | -</script> | ||
267 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
268 | - seajs.use(\'js/passport/register/register\'); | ||
269 | -</script> | ||
270 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
271 | - seajs.use(\'js/passport/register/code\'); | ||
272 | -</script> | ||
273 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
274 | - seajs.use(\'js/passport/register/password\'); | ||
275 | -</script> | ||
276 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
277 | - seajs.use(\'js/passport/login/login\'); | ||
278 | -</script> | ||
279 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
280 | - seajs.use(\'js/passport/login/international\'); | ||
281 | -</script> | ||
282 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
283 | - seajs.use(\'js/passport/back/email\'); | ||
284 | -</script> | ||
285 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
286 | - seajs.use(\'js/passport/back/email-success\'); | ||
287 | -</script> | ||
288 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
289 | - seajs.use(\'js/passport/back/mobile\'); | ||
290 | -</script> | ||
291 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
292 | - seajs.use(\'js/passport/back/code\'); | ||
293 | -</script> | ||
294 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
295 | - seajs.use(\'js/passport/back/new-password\'); | ||
296 | -</script> | ||
297 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
298 | - seajs.use(\'js/index/channel\'); | ||
299 | - seajs.use(\'js/index/footer\'); | ||
300 | -</script> | ||
301 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
302 | - seajs.use(\'js/home/home\', function(h) { | ||
303 | - h.set(\'girls\'); | ||
304 | - }); | ||
305 | - seajs.use(\'js/index/footer\'); | ||
306 | -</script> | ||
307 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
308 | - seajs.use(\'js/home/home\', function(h) { | ||
309 | - h.set(\'boys\'); | ||
310 | - }); | ||
311 | - seajs.use(\'js/index/footer\'); | ||
312 | -</script> | ||
313 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
314 | - seajs.use(\'js/home/home\', function(h) { | ||
315 | - h.set(\'kids\'); | ||
316 | - }); | ||
317 | - seajs.use(\'js/index/footer\'); | ||
318 | -</script> | ||
319 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
320 | - seajs.use(\'js/home/home\', function(h) { | ||
321 | - h.set(\'lifestyle\'); | ||
322 | - }); | ||
323 | - seajs.use(\'js/index/footer\'); | ||
324 | -</script> | ||
325 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
326 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
327 | - seajs.use(\'js/index/footer\'); | ||
328 | -</script> | ||
329 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
330 | - seajs.use(\'js/product/newsale/discount\'); | ||
331 | - seajs.use(\'js/index/footer\'); | ||
332 | -</script> | ||
333 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
334 | - seajs.use(\'js/product/list\'); | ||
335 | - seajs.use(\'js/index/footer\'); | ||
336 | -</script> | ||
337 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
338 | - seajs.use(\'js/product/detail/detail\'); | ||
339 | -</script> | ||
340 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
341 | - seajs.use(\'js/category/index\'); | ||
342 | - seajs.use(\'js/index/footer\'); | ||
343 | -</script> | ||
344 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
345 | - seajs.use(\'js/category/brand\'); | ||
346 | - seajs.use(\'js/index/footer\'); | ||
347 | -</script> | ||
348 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
349 | - seajs.use(\'js/index/search\'); | ||
350 | - seajs.use(\'js/index/footer\'); | ||
351 | -</script> | ||
352 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
353 | - seajs.use(\'js/shopping-cart/cart\'); | ||
354 | -</script> | ||
355 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
356 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
357 | -</script> | ||
358 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
359 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
360 | -<script> | ||
361 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
362 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
363 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
364 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
365 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
366 | -</script> | ||
367 | -<!-- End Google Tag Manager --> | ||
368 | -<script type="text/javascript"> | ||
369 | - var _hmt = _hmt || []; | ||
370 | - (function() { | ||
371 | - var hm = document.createElement("script"); | ||
372 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
373 | - var s = document.getElementsByTagName("script")[0]; | ||
374 | - s.parentNode.insertBefore(hm, s); | ||
375 | - })(); | ||
376 | -</script> | ||
377 | -<script> | ||
378 | - var _hmt = _hmt || []; | ||
379 | - (function() { | ||
380 | - var hm = document.createElement("script"); | ||
381 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
382 | - var s = document.getElementsByTagName("script")[0]; | ||
383 | - s.parentNode.insertBefore(hm, s); | ||
384 | - })(); | ||
385 | -</script> | ||
386 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
387 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
388 | -'.'</body> | ||
389 | -</html>'.''; | ||
390 | -} | ||
391 | -?> |
1 | -<?php return function ($in, $debugopt = 1) { | ||
2 | - $cx = array( | ||
3 | - 'flags' => array( | ||
4 | - 'jstrue' => false, | ||
5 | - 'jsobj' => false, | ||
6 | - 'spvar' => true, | ||
7 | - 'prop' => false, | ||
8 | - 'method' => false, | ||
9 | - 'mustlok' => true, | ||
10 | - 'echo' => false, | ||
11 | - 'debug' => $debugopt, | ||
12 | - ), | ||
13 | - 'constants' => array(), | ||
14 | - 'helpers' => array(), | ||
15 | - 'blockhelpers' => array(), | ||
16 | - 'hbhelpers' => array(), | ||
17 | - 'partials' => array(), | ||
18 | - 'scopes' => array(), | ||
19 | - 'sp_vars' => array('root' => $in), | ||
20 | - 'lcrun' => 'Plugin\LCRun3', | ||
21 | - | ||
22 | - ); | ||
23 | - | ||
24 | - return ''.'<!DOCTYPE html> | ||
25 | -<html> | ||
26 | -<head> | ||
27 | -<meta charset="utf-8"> | ||
28 | -<title>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</title> | ||
29 | -<meta name="keywords" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('keywords')), ENT_QUOTES, 'UTF-8').'"> | ||
30 | -<meta name="description" content="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('description')), ENT_QUOTES, 'UTF-8').'"> | ||
31 | -<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | ||
32 | -<meta http-equiv="cleartype" content="on"> | ||
33 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
34 | -<meta content="telephone=no" name="format-detection" /> | ||
35 | -<meta content="email=no" name="format-detection" /> | ||
36 | -<script type="text/javascript"> | ||
37 | - (function(doc, win) { | ||
38 | - var docEl = doc.documentElement; | ||
39 | - (function() { | ||
40 | - var clientWidth = docEl.clientWidth; | ||
41 | - if (!clientWidth) { | ||
42 | - return; | ||
43 | - } | ||
44 | - docEl.style.fontSize = 20 * (clientWidth / 320) + \'px\'; | ||
45 | - }()); | ||
46 | - })(document, window); | ||
47 | -</script> | ||
48 | -<link rel="dns-prefetch" href="//cdn.yoho.cn"> | ||
49 | -<link rel="dns-prefetch" href="//static.yohobuy.com"> | ||
50 | -<link rel="dns-prefetch" href="//img12.static.yhbimg.com"> | ||
51 | -<link rel="dns-prefetch" href="//img13.static.yhbimg.com"> | ||
52 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('rlsEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
53 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('preEnv')))) ? '<link rel="stylesheet" href="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
54 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('testEnv')))) ? '<link rel="stylesheet" href="http://static.buy.test.yoho.cn/dist/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.css"> | ||
55 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/index.css"> | ||
56 | -' : '').'<link rel="apple-touch-icon-precomposed" href="http://static.yohobuy.com/m/v1/img/touch/apple-touch-icon-144x144-precomposed-new.png"> | ||
57 | -<link rel="apple-touch-startup-image" sizes="640x920" href="http://static.yohobuy.com/m/v1/img/startup/startup-retina.png" media="screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)"> | ||
58 | -<link rel="apple-touch-startup-image" sizes="320x460" href="http://static.yohobuy.com/m/v1/img/startup/startup.png" media="screen and (max-device-width: 320)"> | ||
59 | -</head> | ||
60 | -<body '.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isPassportPage')))) ? 'class=passport-body' : '').'> | ||
61 | - '.''.Plugin\LCRun3::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' : '').'"> | ||
62 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('navBack')))) ? ' <a href="javascript:history.go(-1);" class="nav-back"></a> | ||
63 | -' : '').''.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> | ||
64 | -';}).''.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> | ||
65 | -';}).'</header> | ||
66 | -';}).''.''.'<div class="guang-list-page guang-page yoho-page"> | ||
67 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('guang')), $in, false, function($cx, $in) {return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('authorInfo')), $in, false, function($cx, $in) {return ' <div id="author-infos" class="editor-header clearfix" data-id='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'> | ||
68 | - <div class="avatar"> | ||
69 | - <img src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'"> | ||
70 | - </div> | ||
71 | - <div class="text"> | ||
72 | - <p class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</p> | ||
73 | - <p class="info">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('info')), ENT_QUOTES, 'UTF-8').'</p> | ||
74 | - </div> | ||
75 | - </div> | ||
76 | -';}).' | ||
77 | - <div id="info-list" class="info-list"> | ||
78 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('infos')), $in, false, function($cx, $in) {return ''.' <div class="guang-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
79 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('author')), $in, false, function($cx, $in) {return ' <a class="info-author clearfix" href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
80 | - <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> | ||
81 | - <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
82 | - </a> | ||
83 | -';}).' | ||
84 | - <div class="info-img"> | ||
85 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> | ||
86 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 | ||
87 | - <div class="info-tag tip"></div> | ||
88 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 | ||
89 | - <div class="info-tag collocation"></div> | ||
90 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 | ||
91 | - <div class="info-tag fashion-man"></div> | ||
92 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 | ||
93 | - <div class="info-tag fashion-good"></div> | ||
94 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 | ||
95 | - <div class="info-tag topic"></div> | ||
96 | -';}).' </a> | ||
97 | -' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
98 | - <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('alt')), ENT_QUOTES, 'UTF-8').'"> | ||
99 | - </a> | ||
100 | - </div> | ||
101 | - | ||
102 | - <div class="info-deps"> | ||
103 | - <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
104 | - <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
105 | - </a> | ||
106 | - <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> | ||
107 | -'.' <div class="time-view-like-share clearfix"> | ||
108 | - <i class="iconfont"></i> | ||
109 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' | ||
110 | - <i class="iconfont"></i> | ||
111 | - <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> | ||
112 | - <div class="like-share-container"> | ||
113 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('like')), $in, false, function($cx, $in) {return ' <i class="iconfont like-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLiked')), $in, false, function($cx, $in) {return ' like';}).'"></i> | ||
114 | - <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> | ||
115 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('collect')), $in, false, function($cx, $in) {return ' <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
116 | - <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> | ||
117 | - </a> | ||
118 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('share')), $in, false, function($cx, $in) {return ' <a href="'.htmlentities((string)$in, ENT_QUOTES, 'UTF-8').'" class="iconfont share-btn"></a> | ||
119 | -';}).' </div> | ||
120 | - </div>'.' </div> | ||
121 | - </div>'.'';}).' </div> | ||
122 | - | ||
123 | - <div id="load-more-info" class="load-more-info"> | ||
124 | - <div class="loading status"> | ||
125 | - 正在加载... | ||
126 | - </div> | ||
127 | - <span class="no-more status hide">没有更多啦</span> | ||
128 | - </div> | ||
129 | - | ||
130 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('tag')))) ? ' <input id="tag" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('tag')), ENT_QUOTES, 'UTF-8').'> | ||
131 | -' : '').''.((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').'> | ||
132 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('isApp')))) ? ' <input id="isApp" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('isApp')), ENT_QUOTES, 'UTF-8').'> | ||
133 | -' : '').'';}).'</div> | ||
134 | -'.''.''.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"> | ||
135 | - <p class="op-row"> | ||
136 | - <span class="back-to-top"> | ||
137 | - Back to top | ||
138 | - <i class="iconfont"></i> | ||
139 | - </span> | ||
140 | - </p> | ||
141 | - <address class="copyright"> | ||
142 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
143 | - </address> | ||
144 | -</footer> | ||
145 | -';}).' | ||
146 | -'.''.''.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"> | ||
147 | - <div class="float-layer-left"> | ||
148 | - <span class="yoho-icon iconfont"></span> | ||
149 | - <p>新用户首单减10元</p> | ||
150 | - </div> | ||
151 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
152 | - <i class="close-icon iconfont"></i> | ||
153 | - <div class="circle-rightbottom"></div> | ||
154 | - </a> | ||
155 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
156 | - 立即下载 | ||
157 | - </a> | ||
158 | -</div> | ||
159 | -';}).' | ||
160 | - | ||
161 | - '.''.((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> | ||
162 | -' : '').''.((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> | ||
163 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
164 | -' : '').''.((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> | ||
165 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
166 | -' : '').''.((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> | ||
167 | -<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> | ||
168 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
169 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
170 | -' : '').'<script type="text/javascript"> | ||
171 | - (function(w,d,s,j,f){ | ||
172 | - w[\'YohoAcquisitionObject\']=f; | ||
173 | - w[f]=function(){w[f].p=arguments;}; | ||
174 | - var a=d.createElement(s); | ||
175 | - var m=d.getElementsByTagName(s)[0]; | ||
176 | - a.async=1; | ||
177 | - a.src=j; | ||
178 | - m.parentNode.insertBefore(a,m); | ||
179 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
180 | -</script> | ||
181 | -'.'<script> | ||
182 | - seajs.use(\'js/common\'); | ||
183 | -</script> | ||
184 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
185 | - seajs.use(\'js/guang/plus-star/list\'); | ||
186 | -</script> | ||
187 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
188 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
189 | -</script> | ||
190 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
191 | - seajs.use(\'js/guang/home\'); | ||
192 | -</script> | ||
193 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
194 | - seajs.use(\'js/guang/list\'); | ||
195 | -</script> | ||
196 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
197 | - seajs.use(\'js/guang/detail\', function(d) { | ||
198 | - d.i(true); | ||
199 | - }); | ||
200 | -</script> | ||
201 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
202 | - seajs.use(\'js/guang/detail\', function(d) { | ||
203 | - d.i(false); | ||
204 | - }); | ||
205 | -</script> | ||
206 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
207 | - seajs.use(\'js/passport/register/register\'); | ||
208 | -</script> | ||
209 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
210 | - seajs.use(\'js/passport/register/code\'); | ||
211 | -</script> | ||
212 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
213 | - seajs.use(\'js/passport/register/password\'); | ||
214 | -</script> | ||
215 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
216 | - seajs.use(\'js/passport/login/login\'); | ||
217 | -</script> | ||
218 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
219 | - seajs.use(\'js/passport/login/international\'); | ||
220 | -</script> | ||
221 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
222 | - seajs.use(\'js/passport/back/email\'); | ||
223 | -</script> | ||
224 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
225 | - seajs.use(\'js/passport/back/email-success\'); | ||
226 | -</script> | ||
227 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
228 | - seajs.use(\'js/passport/back/mobile\'); | ||
229 | -</script> | ||
230 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
231 | - seajs.use(\'js/passport/back/code\'); | ||
232 | -</script> | ||
233 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
234 | - seajs.use(\'js/passport/back/new-password\'); | ||
235 | -</script> | ||
236 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
237 | - seajs.use(\'js/index/channel\'); | ||
238 | - seajs.use(\'js/index/footer\'); | ||
239 | -</script> | ||
240 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
241 | - seajs.use(\'js/home/home\', function(h) { | ||
242 | - h.set(\'girls\'); | ||
243 | - }); | ||
244 | - seajs.use(\'js/index/footer\'); | ||
245 | -</script> | ||
246 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
247 | - seajs.use(\'js/home/home\', function(h) { | ||
248 | - h.set(\'boys\'); | ||
249 | - }); | ||
250 | - seajs.use(\'js/index/footer\'); | ||
251 | -</script> | ||
252 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
253 | - seajs.use(\'js/home/home\', function(h) { | ||
254 | - h.set(\'kids\'); | ||
255 | - }); | ||
256 | - seajs.use(\'js/index/footer\'); | ||
257 | -</script> | ||
258 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
259 | - seajs.use(\'js/home/home\', function(h) { | ||
260 | - h.set(\'lifestyle\'); | ||
261 | - }); | ||
262 | - seajs.use(\'js/index/footer\'); | ||
263 | -</script> | ||
264 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
265 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
266 | - seajs.use(\'js/index/footer\'); | ||
267 | -</script> | ||
268 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
269 | - seajs.use(\'js/product/newsale/discount\'); | ||
270 | - seajs.use(\'js/index/footer\'); | ||
271 | -</script> | ||
272 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
273 | - seajs.use(\'js/product/list\'); | ||
274 | - seajs.use(\'js/index/footer\'); | ||
275 | -</script> | ||
276 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
277 | - seajs.use(\'js/product/detail/detail\'); | ||
278 | -</script> | ||
279 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
280 | - seajs.use(\'js/category/index\'); | ||
281 | - seajs.use(\'js/index/footer\'); | ||
282 | -</script> | ||
283 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
284 | - seajs.use(\'js/category/brand\'); | ||
285 | - seajs.use(\'js/index/footer\'); | ||
286 | -</script> | ||
287 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
288 | - seajs.use(\'js/index/search\'); | ||
289 | - seajs.use(\'js/index/footer\'); | ||
290 | -</script> | ||
291 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
292 | - seajs.use(\'js/shopping-cart/cart\'); | ||
293 | -</script> | ||
294 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
295 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
296 | -</script> | ||
297 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
298 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
299 | -<script> | ||
300 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
301 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
302 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
303 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
304 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
305 | -</script> | ||
306 | -<!-- End Google Tag Manager --> | ||
307 | -<script type="text/javascript"> | ||
308 | - var _hmt = _hmt || []; | ||
309 | - (function() { | ||
310 | - var hm = document.createElement("script"); | ||
311 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
312 | - var s = document.getElementsByTagName("script")[0]; | ||
313 | - s.parentNode.insertBefore(hm, s); | ||
314 | - })(); | ||
315 | -</script> | ||
316 | -<script> | ||
317 | - var _hmt = _hmt || []; | ||
318 | - (function() { | ||
319 | - var hm = document.createElement("script"); | ||
320 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
321 | - var s = document.getElementsByTagName("script")[0]; | ||
322 | - s.parentNode.insertBefore(hm, s); | ||
323 | - })(); | ||
324 | -</script> | ||
325 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
326 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
327 | -'.'</body> | ||
328 | -</html>'.''; | ||
329 | -} | ||
330 | -?> |
framework @ 75bbc3b0
@@ -4,24 +4,25 @@ $vip: sprite-map("me/vip/*.png"); | @@ -4,24 +4,25 @@ $vip: sprite-map("me/vip/*.png"); | ||
4 | 4 | ||
5 | .user-info { | 5 | .user-info { |
6 | position: relative; | 6 | position: relative; |
7 | - padding: 0 30rem / $pxConvertRem; | 7 | + padding: 0 pxToRem(30px); |
8 | color: #fff; | 8 | color: #fff; |
9 | background: #ccc; | 9 | background: #ccc; |
10 | - font-size: 34rem / $pxConvertRem; | ||
11 | - line-height: 164rem / $pxConvertRem; | ||
12 | - height: 164rem / $pxConvertRem; | 10 | + font-size: pxToRem(34px); |
11 | + line-height: pxToRem(164px); | ||
12 | + height: pxToRem(164px); | ||
13 | 13 | ||
14 | .user-avatar { | 14 | .user-avatar { |
15 | - display: inline-block; | ||
16 | - width: 132rem / $pxConvertRem; | ||
17 | - height: 132rem / $pxConvertRem; | ||
18 | - vertical-align: middle; | 15 | + float: left; |
16 | + position: relative; | ||
17 | + top: pxToRem(8px); | ||
18 | + width: pxToRem(132px); | ||
19 | + height: pxToRem(132px); | ||
19 | border-radius: 50%; | 20 | border-radius: 50%; |
20 | - border: 8rem / $pxConvertRem solid #a7a8a9; | 21 | + border: pxToRem(8px) solid #a7a8a9; |
21 | } | 22 | } |
22 | 23 | ||
23 | .username { | 24 | .username { |
24 | - padding: 0 16rem / $pxConvertRem; | 25 | + padding: 0 pxToRem(16px); |
25 | } | 26 | } |
26 | 27 | ||
27 | .vip-icon { | 28 | .vip-icon { |
@@ -5,10 +5,10 @@ | @@ -5,10 +5,10 @@ | ||
5 | <div class="swiper-wrapper"> | 5 | <div class="swiper-wrapper"> |
6 | {{#recommendList}} | 6 | {{#recommendList}} |
7 | <div class="swiper-slider"> | 7 | <div class="swiper-slider"> |
8 | - <img class="img-box" src="{{img}}"> | 8 | + <img class="img-box" src="{{thumb}}"> |
9 | <div class="price"> | 9 | <div class="price"> |
10 | <span class="sale-price">¥{{salePrice}}</span> | 10 | <span class="sale-price">¥{{salePrice}}</span> |
11 | - <span class="old-price">¥{{oldPrice}}</span> | 11 | + <span class="old-price">¥{{price}}</span> |
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | {{/recommendList}} | 14 | {{/recommendList}} |
@@ -32,7 +32,7 @@ class HomeController extends AbstractAction | @@ -32,7 +32,7 @@ class HomeController extends AbstractAction | ||
32 | // 优选新品数据 | 32 | // 优选新品数据 |
33 | $channel = Helpers::getChannelByCookie(); | 33 | $channel = Helpers::getChannelByCookie(); |
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( | 37 | $data['homeHeader'] = array( |
38 | 'myHomePage' => true, | 38 | 'myHomePage' => true, |
-
Please register or login to post a comment