clear goods list compile php files
Showing
6 changed files
with
77 additions
and
1197 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 ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('new')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
25 | + <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
26 | + <div class="tag-container clearfix"> | ||
27 | +'.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> | ||
28 | +';}).''.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> | ||
29 | +';}).''.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> | ||
30 | +';}).''.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> | ||
31 | +';}).''.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> | ||
32 | +';}).'';}).' </div> | ||
33 | + <div class="good-detail-img"> | ||
34 | + <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
35 | + <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
36 | + </a> | ||
37 | +'.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> | ||
38 | +';}).' </div> | ||
39 | + <div class="good-detail-text"> | ||
40 | + <div class="name"> | ||
41 | + <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> | ||
42 | + </div> | ||
43 | + <div class="price"> | ||
44 | + <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> | ||
45 | +'.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> | ||
46 | +';}).' </div> | ||
47 | + </div> | ||
48 | + </div> | ||
49 | + ' : '').''.'';}).''; | ||
50 | +} | ||
51 | +?> |
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="discount-page yoho-page"> | ||
67 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerBanner')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> | ||
68 | - <div class="banner-swiper swiper-container"> | ||
69 | - <ul class="swiper-wrapper"> | ||
70 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> | ||
71 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
72 | - <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
73 | - </a> | ||
74 | - <div class="swiper-lazy-preloader"></div> | ||
75 | - </li> | ||
76 | -';}).' </ul> | ||
77 | - </div> | ||
78 | - <div class="swiper-pagination"> | ||
79 | - <div class="pagination-inner"> | ||
80 | - </div> | ||
81 | - </div> | ||
82 | - </div> | ||
83 | -' : ' <div class="banner-top-single"> | ||
84 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
85 | - <img class="img" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> | ||
86 | - </a> | ||
87 | - </div> | ||
88 | -').' | ||
89 | -'.'';}).' | ||
90 | - <ul id="list-nav" class="list-nav clearfix"> | ||
91 | - <li class="new active"> | ||
92 | - <a href="javascript:void(0);"> | ||
93 | - <span class="spanTest">最新</span> | ||
94 | - <span class="iconfont cur"></span> | ||
95 | - </a> | ||
96 | - </li> | ||
97 | - <li class="price"> | ||
98 | - <a href="javascript:void(0);"> | ||
99 | - <span class="spanTest">价格</span> | ||
100 | - <span class="icon"> | ||
101 | - <i class="iconfont up"></i> | ||
102 | - <i class="iconfont down cur"></i> | ||
103 | - </span> | ||
104 | - </a> | ||
105 | - </li> | ||
106 | - <li class="discount"> | ||
107 | - <a href="javascript:void(0);"> | ||
108 | - <span class="spanTest">折扣</span> | ||
109 | - <span class="icon"> | ||
110 | - <i class="iconfont up"></i> | ||
111 | - <i class="iconfont down cur"></i> | ||
112 | - </span> | ||
113 | - </a> | ||
114 | - </li> | ||
115 | - <li class="filter"> | ||
116 | - <a href="javascript:void(0);"> | ||
117 | - <span class="spanTest">筛选</span> | ||
118 | - <span class="iconfont"></span> | ||
119 | - </a> | ||
120 | - </li> | ||
121 | - </ul> | ||
122 | - | ||
123 | - <div id="goods-container" class="goods-container"> | ||
124 | - <div class="new-goods container clearfix"> | ||
125 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
126 | - <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
127 | - <div class="tag-container clearfix"> | ||
128 | -'.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> | ||
129 | -';}).''.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> | ||
130 | -';}).''.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> | ||
131 | -';}).''.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> | ||
132 | -';}).''.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> | ||
133 | -';}).'';}).' </div> | ||
134 | - <div class="good-detail-img"> | ||
135 | - <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
136 | - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
137 | - </a> | ||
138 | -'.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> | ||
139 | -';}).' </div> | ||
140 | - <div class="good-detail-text"> | ||
141 | - <div class="name"> | ||
142 | - <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> | ||
143 | - </div> | ||
144 | - <div class="price"> | ||
145 | - <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> | ||
146 | -'.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> | ||
147 | -';}).' </div> | ||
148 | - </div> | ||
149 | - </div> | ||
150 | - ' : '').''.'';}).' </div> | ||
151 | - <div class="price-goods container hide clearfix"></div> | ||
152 | - <div class="discount-goods container hide clearfix"></div> | ||
153 | - | ||
154 | -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> | ||
155 | - <div class="filter-body"> | ||
156 | - <ul class="classify"> | ||
157 | -'.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' : '').'"> | ||
158 | - <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> | ||
159 | - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> | ||
160 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
161 | - </p> | ||
162 | - <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> | ||
163 | -'.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').'> | ||
164 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
165 | - <i class="iconfont chosed-icon"></i> | ||
166 | - </li> | ||
167 | -';}).' </ul> | ||
168 | - </li> | ||
169 | -';}).' </ul> | ||
170 | - </div> | ||
171 | - </div> | ||
172 | - ';}).''.' </div> | ||
173 | - | ||
174 | -'.((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').'> | ||
175 | -' : '').' | ||
176 | -'.((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').'> | ||
177 | -' : '').' | ||
178 | -'.((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').'> | ||
179 | -' : '').' | ||
180 | -'.((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').'> | ||
181 | -' : '').' | ||
182 | -'.((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').'> | ||
183 | -' : '').' | ||
184 | -'.((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').'> | ||
185 | -' : '').' | ||
186 | -'.((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').'> | ||
187 | -' : '').' | ||
188 | -'.((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').'> | ||
189 | -' : '').' | ||
190 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('p_d')))) ? ' <input id="p_d" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('p_d')), ENT_QUOTES, 'UTF-8').'> | ||
191 | -' : '').' | ||
192 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channel')))) ? ' <input id="channel" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('channel')), ENT_QUOTES, 'UTF-8').'> | ||
193 | -' : '').' | ||
194 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('limit')))) ? ' <input id="limit" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'> | ||
195 | -' : '').' | ||
196 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('page')))) ? ' <input id="page" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('page')), ENT_QUOTES, 'UTF-8').'> | ||
197 | -' : '').' | ||
198 | -'.((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').'> | ||
199 | -' : '').' | ||
200 | -'.' <div id="suspend-cart" class="suspend-cart"> | ||
201 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> | ||
202 | - <span class="iconfont"></span> | ||
203 | - </a> | ||
204 | - <span class="cart-count hide">0</span> | ||
205 | - </div>'.'</div> | ||
206 | -'.''.''.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"> | ||
207 | - <p class="op-row"> | ||
208 | - <span class="back-to-top"> | ||
209 | - Back to top | ||
210 | - <i class="iconfont"></i> | ||
211 | - </span> | ||
212 | - </p> | ||
213 | - <address class="copyright"> | ||
214 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
215 | - </address> | ||
216 | -</footer> | ||
217 | -';}).' | ||
218 | -'.''.''.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"> | ||
219 | - <div class="float-layer-left"> | ||
220 | - <span class="yoho-icon iconfont"></span> | ||
221 | - <p>新用户首单减10元</p> | ||
222 | - </div> | ||
223 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
224 | - <i class="close-icon iconfont"></i> | ||
225 | - <div class="circle-rightbottom"></div> | ||
226 | - </a> | ||
227 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
228 | - 立即下载 | ||
229 | - </a> | ||
230 | -</div> | ||
231 | -';}).' | ||
232 | - | ||
233 | - '.''.((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> | ||
234 | -' : '').''.((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> | ||
235 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
236 | -' : '').''.((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> | ||
237 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
238 | -' : '').''.((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> | ||
239 | -<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> | ||
240 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
241 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
242 | -' : '').'<script type="text/javascript"> | ||
243 | - (function(w,d,s,j,f){ | ||
244 | - w[\'YohoAcquisitionObject\']=f; | ||
245 | - w[f]=function(){w[f].p=arguments;}; | ||
246 | - var a=d.createElement(s); | ||
247 | - var m=d.getElementsByTagName(s)[0]; | ||
248 | - a.async=1; | ||
249 | - a.src=j; | ||
250 | - m.parentNode.insertBefore(a,m); | ||
251 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
252 | -</script> | ||
253 | -'.'<script> | ||
254 | - seajs.use(\'js/common\'); | ||
255 | -</script> | ||
256 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
257 | - seajs.use(\'js/guang/plus-star/list\'); | ||
258 | -</script> | ||
259 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
260 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
261 | -</script> | ||
262 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
263 | - seajs.use(\'js/guang/home\'); | ||
264 | -</script> | ||
265 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
266 | - seajs.use(\'js/guang/list\'); | ||
267 | -</script> | ||
268 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
269 | - seajs.use(\'js/guang/detail\', function(d) { | ||
270 | - d.i(true); | ||
271 | - }); | ||
272 | -</script> | ||
273 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
274 | - seajs.use(\'js/guang/detail\', function(d) { | ||
275 | - d.i(false); | ||
276 | - }); | ||
277 | -</script> | ||
278 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
279 | - seajs.use(\'js/passport/register/register\'); | ||
280 | -</script> | ||
281 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
282 | - seajs.use(\'js/passport/register/code\'); | ||
283 | -</script> | ||
284 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
285 | - seajs.use(\'js/passport/register/password\'); | ||
286 | -</script> | ||
287 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
288 | - seajs.use(\'js/passport/login/login\'); | ||
289 | -</script> | ||
290 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
291 | - seajs.use(\'js/passport/login/international\'); | ||
292 | -</script> | ||
293 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
294 | - seajs.use(\'js/passport/back/email\'); | ||
295 | -</script> | ||
296 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
297 | - seajs.use(\'js/passport/back/email-success\'); | ||
298 | -</script> | ||
299 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
300 | - seajs.use(\'js/passport/back/mobile\'); | ||
301 | -</script> | ||
302 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
303 | - seajs.use(\'js/passport/back/code\'); | ||
304 | -</script> | ||
305 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
306 | - seajs.use(\'js/passport/back/new-password\'); | ||
307 | -</script> | ||
308 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
309 | - seajs.use(\'js/index/channel\'); | ||
310 | - seajs.use(\'js/index/footer\'); | ||
311 | -</script> | ||
312 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
313 | - seajs.use(\'js/home/home\', function(h) { | ||
314 | - h.set(\'girls\'); | ||
315 | - }); | ||
316 | - seajs.use(\'js/index/footer\'); | ||
317 | -</script> | ||
318 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
319 | - seajs.use(\'js/home/home\', function(h) { | ||
320 | - h.set(\'boys\'); | ||
321 | - }); | ||
322 | - seajs.use(\'js/index/footer\'); | ||
323 | -</script> | ||
324 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
325 | - seajs.use(\'js/home/home\', function(h) { | ||
326 | - h.set(\'kids\'); | ||
327 | - }); | ||
328 | - seajs.use(\'js/index/footer\'); | ||
329 | -</script> | ||
330 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
331 | - seajs.use(\'js/home/home\', function(h) { | ||
332 | - h.set(\'lifestyle\'); | ||
333 | - }); | ||
334 | - seajs.use(\'js/index/footer\'); | ||
335 | -</script> | ||
336 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
337 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
338 | - seajs.use(\'js/index/footer\'); | ||
339 | -</script> | ||
340 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
341 | - seajs.use(\'js/product/newsale/discount\'); | ||
342 | - seajs.use(\'js/index/footer\'); | ||
343 | -</script> | ||
344 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
345 | - seajs.use(\'js/product/list\'); | ||
346 | - seajs.use(\'js/index/footer\'); | ||
347 | -</script> | ||
348 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
349 | - seajs.use(\'js/product/detail/detail\'); | ||
350 | -</script> | ||
351 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
352 | - seajs.use(\'js/category/index\'); | ||
353 | - seajs.use(\'js/index/footer\'); | ||
354 | -</script> | ||
355 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
356 | - seajs.use(\'js/category/brand\'); | ||
357 | - seajs.use(\'js/index/footer\'); | ||
358 | -</script> | ||
359 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
360 | - seajs.use(\'js/index/search\'); | ||
361 | - seajs.use(\'js/index/footer\'); | ||
362 | -</script> | ||
363 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
364 | - seajs.use(\'js/shopping-cart/cart\'); | ||
365 | -</script> | ||
366 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
367 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
368 | -</script> | ||
369 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
370 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
371 | -<script> | ||
372 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
373 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
374 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
375 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
376 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
377 | -</script> | ||
378 | -<!-- End Google Tag Manager --> | ||
379 | -<script type="text/javascript"> | ||
380 | - var _hmt = _hmt || []; | ||
381 | - (function() { | ||
382 | - var hm = document.createElement("script"); | ||
383 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
384 | - var s = document.getElementsByTagName("script")[0]; | ||
385 | - s.parentNode.insertBefore(hm, s); | ||
386 | - })(); | ||
387 | -</script> | ||
388 | -<script> | ||
389 | - var _hmt = _hmt || []; | ||
390 | - (function() { | ||
391 | - var hm = document.createElement("script"); | ||
392 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
393 | - var s = document.getElementsByTagName("script")[0]; | ||
394 | - s.parentNode.insertBefore(hm, s); | ||
395 | - })(); | ||
396 | -</script> | ||
397 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
398 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
399 | -'.'</body> | ||
400 | -</html>'.''; | ||
401 | -} | ||
402 | -?> |
@@ -186,6 +186,8 @@ | @@ -186,6 +186,8 @@ | ||
186 | ' : '').' | 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').'> | 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 | ' : '').' | 188 | ' : '').' |
189 | +'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('style')))) ? ' <input id="style" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('style')), ENT_QUOTES, 'UTF-8').'> | ||
190 | +' : '').' | ||
189 | '.' <div id="suspend-cart" class="suspend-cart"> | 191 | '.' <div id="suspend-cart" class="suspend-cart"> |
190 | <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> | 192 | <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('cartUrl')), ENT_QUOTES, 'UTF-8').'> |
191 | <span class="iconfont"></span> | 193 | <span class="iconfont"></span> |
@@ -63,33 +63,32 @@ | @@ -63,33 +63,32 @@ | ||
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> | 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> | 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> | 65 | ';}).'</header> |
66 | -';}).''.''.'<div class="index-page yoho-page"> | ||
67 | - <div class="index-container"> | ||
68 | - <div class="index-header clearfix"> | ||
69 | - <div class="index-logo"></div> | ||
70 | - <div class="box"> | ||
71 | - <a href="javascript:void(0);" class="no-search">取消</a> | ||
72 | - <form action="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('searchUrl')), ENT_QUOTES, 'UTF-8').'" class="index-search"> | ||
73 | - <div class="search-box"> | ||
74 | - <input type="hidden" name="from" value="search"> | ||
75 | - <input type="text" name="query" placeholder="搜索" autocomplete="off"> | ||
76 | - <span class="iconfont clear-text"></span> | ||
77 | - <span class="iconfont search-icon empty"></span> | ||
78 | - </div> | ||
79 | - </form> | ||
80 | - </div> | 66 | +';}).''.''.'<div class="search-page yoho-page"> |
67 | +'.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" placeholder="搜索商品" name="query"> | ||
71 | + <input type="hidden" name="from" value="search"> | ||
72 | + <i class="clear-input iconfont hide"></i> | ||
73 | + <span id="search" class="search" type="submit">搜索</span> | ||
74 | + </form> | ||
81 | </div> | 75 | </div> |
82 | - <div class="index-channel"> | ||
83 | - <img class="img" src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('background')), ENT_QUOTES, 'UTF-8').'"> | ||
84 | - <div class="index-channel-list"> | ||
85 | - <a href="/boys" class="list-item">男生 <span class="lighter">BOYS</span> <span class="iconfont right-icon"></span></a> | ||
86 | - <a href="/girls" class="list-item">女生 <span class="lighter">GIRLS</span> <span class="iconfont right-icon"></span></a> | ||
87 | - <a href="/kids" class="list-item">潮童 <span class="lighter">KIDS</span> <span class="iconfont right-icon"></span></a> | ||
88 | - <a href="/lifestyle" class="list-item">创意生活 <span class="lighter">LIFESTYLE</span> <span class="iconfont right-icon"></span></a> | ||
89 | - </div> | 76 | + <div class="search-items"> |
77 | + <div class="hot-search hide"> | ||
78 | + <h3>热门搜索</h3> | ||
79 | + <ul class="hot clearfix"> | ||
80 | +'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('hot')), $in, false, function($cx, $in) {return ' <li> | ||
81 | + <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> | ||
82 | + </li> | ||
83 | +';}).' </ul> | ||
84 | + </div> | ||
85 | + <div class="history-search"> | ||
86 | + <h3>历史搜索</h3> | ||
87 | + <ul class="history clearfix"></ul> | ||
88 | + </div> | ||
89 | + <button id="clear-history" class="clear-history hide">清空搜索历史</button> | ||
90 | </div> | 90 | </div> |
91 | - </div> | ||
92 | -</div> | 91 | +';}).'</div> |
93 | '.''.''.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"> | 92 | '.''.''.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"> |
94 | <p class="op-row"> | 93 | <p class="op-row"> |
95 | <span class="back-to-top"> | 94 | <span class="back-to-top"> |
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="newarrival-page yoho-page"> | ||
67 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('headerBanner')), $in, false, function($cx, $in) {return ''.''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('list')))) ? ' <div class="banner-top"> | ||
68 | - <div class="banner-swiper swiper-container"> | ||
69 | - <ul class="swiper-wrapper"> | ||
70 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('list')), $in, false, function($cx, $in) {return ' <li class="swiper-slide"> | ||
71 | - <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
72 | - <img class="swiper-lazy" data-src="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'"> | ||
73 | - </a> | ||
74 | - <div class="swiper-lazy-preloader"></div> | ||
75 | - </li> | ||
76 | -';}).' </ul> | ||
77 | - </div> | ||
78 | - <div class="swiper-pagination"> | ||
79 | - <div class="pagination-inner"> | ||
80 | - </div> | ||
81 | - </div> | ||
82 | - </div> | ||
83 | -' : ' <div class="banner-top-single"> | ||
84 | - <a href='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'> | ||
85 | - <img class="img" src='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('img')), ENT_QUOTES, 'UTF-8').'> | ||
86 | - </a> | ||
87 | - </div> | ||
88 | -').' | ||
89 | -'.'';}).' | ||
90 | - <ul id="list-nav" class="list-nav clearfix"> | ||
91 | - <li id="today" class="today active"> | ||
92 | - <a href="javascript:void(0);"> | ||
93 | - </a> | ||
94 | - </li> | ||
95 | - <li class="week"> | ||
96 | - <a href="javascript:void(0);"> | ||
97 | - 本周上新 | ||
98 | - </a> | ||
99 | - </li> | ||
100 | - <li class="sale"> | ||
101 | - <a href="javascript:void(0);"> | ||
102 | - 销量 | ||
103 | - </a> | ||
104 | - </li> | ||
105 | - <li class="filter"> | ||
106 | - <a href="javascript:void(0);"> | ||
107 | - 筛选 | ||
108 | - </a> | ||
109 | - <span class="iconfont"></span> | ||
110 | - </li> | ||
111 | - </ul> | ||
112 | - | ||
113 | - <div id="goods-container" class="goods-container"> | ||
114 | - <div class="container clearfix"> | ||
115 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('goods')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
116 | - <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
117 | - <div class="tag-container clearfix"> | ||
118 | -'.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> | ||
119 | -';}).''.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> | ||
120 | -';}).''.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> | ||
121 | -';}).''.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> | ||
122 | -';}).''.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> | ||
123 | -';}).'';}).' </div> | ||
124 | - <div class="good-detail-img"> | ||
125 | - <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
126 | - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
127 | - </a> | ||
128 | -'.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> | ||
129 | -';}).' </div> | ||
130 | - <div class="good-detail-text"> | ||
131 | - <div class="name"> | ||
132 | - <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> | ||
133 | - </div> | ||
134 | - <div class="price"> | ||
135 | - <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> | ||
136 | -'.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> | ||
137 | -';}).' </div> | ||
138 | - </div> | ||
139 | - </div> | ||
140 | - ' : '').''.'';}).' </div> | ||
141 | - <div class="container hide clearfix"></div> | ||
142 | - <div class="container hide clearfix"></div> | ||
143 | -'.''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('filter')), $in, false, function($cx, $in) {return ' <div class="filter-mask hide"> | ||
144 | - <div class="filter-body"> | ||
145 | - <ul class="classify"> | ||
146 | -'.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' : '').'"> | ||
147 | - <p class="shower'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('default')))) ? ' default' : '').'"> | ||
148 | - <span class="title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').':</span> | ||
149 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
150 | - </p> | ||
151 | - <ul class="sub-classify" data-type='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dataType')), ENT_QUOTES, 'UTF-8').'> | ||
152 | -'.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').'> | ||
153 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').' | ||
154 | - <i class="iconfont chosed-icon"></i> | ||
155 | - </li> | ||
156 | -';}).' </ul> | ||
157 | - </li> | ||
158 | -';}).' </ul> | ||
159 | - </div> | ||
160 | - </div> | ||
161 | - ';}).''.' </div> | ||
162 | - | ||
163 | -'.((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').'> | ||
164 | -' : '').' | ||
165 | -'.((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').'> | ||
166 | -' : '').' | ||
167 | -'.((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').'> | ||
168 | -' : '').' | ||
169 | -'.((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').'> | ||
170 | -' : '').' | ||
171 | -'.((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').'> | ||
172 | -' : '').' | ||
173 | -'.((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').'> | ||
174 | -' : '').' | ||
175 | -'.((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').'> | ||
176 | -' : '').' | ||
177 | -'.((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').'> | ||
178 | -' : '').' | ||
179 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('p_d')))) ? ' <input id="p_d" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('p_d')), ENT_QUOTES, 'UTF-8').'> | ||
180 | -' : '').' | ||
181 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channel')))) ? ' <input id="channel" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('channel')), ENT_QUOTES, 'UTF-8').'> | ||
182 | -' : '').' | ||
183 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('dayLimit')))) ? ' <input id="dayLimit" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('dayLimit')), ENT_QUOTES, 'UTF-8').'> | ||
184 | -' : '').' | ||
185 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('limit')))) ? ' <input id="limit" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('limit')), ENT_QUOTES, 'UTF-8').'> | ||
186 | -' : '').' | ||
187 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('page')))) ? ' <input id="page" type="hidden" value='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('page')), 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="ps-detail-page ps-page yoho-page"> | ||
67 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('ps')), $in, false, function($cx, $in) {return ' <div id="brand-info" class="header brand-info ps-block" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
68 | - <img class="banner lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('banner')), ENT_QUOTES, 'UTF-8').'"> | ||
69 | - <img class="logo lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('logo')), ENT_QUOTES, 'UTF-8').'"> | ||
70 | - <div class="header-content clearfix"> | ||
71 | - <p class="name-islike-container"> | ||
72 | - <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
73 | - <a id="brand-like" class="brand-islike iconfont '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isLike')), $in, false, function($cx, $in) {return 'like';}).'" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('likeUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
74 | -  | ||
75 | - </a> | ||
76 | - </p> | ||
77 | - <p id="intro" class="intro"> | ||
78 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('intro')), ENT_QUOTES, 'UTF-8').' | ||
79 | - </p> | ||
80 | - <span id="more-intro" class="more-intro"> | ||
81 | - <span id="intro-more-txt">more</span> | ||
82 | - <i class="icon iconfont"></i> | ||
83 | - </span> | ||
84 | - </div> | ||
85 | - </div> | ||
86 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('newArrival')), $in, false, function($cx, $in) {return ' <div class="new-arrival ps-block"> | ||
87 | - <div class="new-arrival-header"> | ||
88 | - <span class="header-text">NEW ARRIVAL</span> | ||
89 | - <a class="more-prods iconfont" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('moreUrl')), ENT_QUOTES, 'UTF-8').'"></a> | ||
90 | - </div> | ||
91 | - <div class="new-arrival-content clearfix"> | ||
92 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('naList')), $in, false, function($cx, $in) {return ''.' '.((Plugin\LCRun3::ifvar($cx, $in)) ? ' | ||
93 | - <div class="good-info" data-id="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('id')), ENT_QUOTES, 'UTF-8').'"> | ||
94 | - <div class="tag-container clearfix"> | ||
95 | -'.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> | ||
96 | -';}).''.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> | ||
97 | -';}).''.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> | ||
98 | -';}).''.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> | ||
99 | -';}).''.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> | ||
100 | -';}).'';}).' </div> | ||
101 | - <div class="good-detail-img"> | ||
102 | - <a class="good-thumb" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
103 | - <img class="lazy" data-original="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('thumb')), ENT_QUOTES, 'UTF-8').'"> | ||
104 | - </a> | ||
105 | -'.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> | ||
106 | -';}).' </div> | ||
107 | - <div class="good-detail-text"> | ||
108 | - <div class="name"> | ||
109 | - <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> | ||
110 | - </div> | ||
111 | - <div class="price"> | ||
112 | - <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> | ||
113 | -'.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> | ||
114 | -';}).' </div> | ||
115 | - </div> | ||
116 | - </div> | ||
117 | - ' : '').''.'';}).' </div> | ||
118 | - <div class="more-goods-container"> | ||
119 | - <a class="mg-text" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('moreUrl')), ENT_QUOTES, 'UTF-8').'"> | ||
120 | - 更多商品 | ||
121 | - <span class="more-prods iconfont"></span> | ||
122 | - </a> | ||
123 | - </div> | ||
124 | - </div> | ||
125 | -';}).''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('infos')))) ? ' <div class="related-infos ps-block"> | ||
126 | - <div> | ||
127 | - <h2 class="related-info-title">相关资讯</h2> | ||
128 | - </div> | ||
129 | - <div id="related-infos-container" class="related-infos-container"> | ||
130 | -'.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').'"> | ||
131 | -'.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').'> | ||
132 | - <img class="lazy avatar" data-original='.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('avatar')), ENT_QUOTES, 'UTF-8').'> | ||
133 | - <span class="name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('name')), ENT_QUOTES, 'UTF-8').'</span> | ||
134 | - </a> | ||
135 | -';}).' | ||
136 | - <div class="info-img"> | ||
137 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('showTags')))) ? ' <a href="javascript:;" class="info-match"> | ||
138 | -'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTip')), $in, false, function($cx, $in) {return ' 小贴士 | ||
139 | - <div class="info-tag tip"></div> | ||
140 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollocation')), $in, false, function($cx, $in) {return ' 搭配 | ||
141 | - <div class="info-tag collocation"></div> | ||
142 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionMan')), $in, false, function($cx, $in) {return ' 潮人 | ||
143 | - <div class="info-tag fashion-man"></div> | ||
144 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isFashionGood')), $in, false, function($cx, $in) {return ' 潮品 | ||
145 | - <div class="info-tag fashion-good"></div> | ||
146 | -';}).''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isTopic')), $in, false, function($cx, $in) {return ' 话题 | ||
147 | - <div class="info-tag topic"></div> | ||
148 | -';}).' </a> | ||
149 | -' : '').' <a href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
150 | - <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').'"> | ||
151 | - </a> | ||
152 | - </div> | ||
153 | - | ||
154 | - <div class="info-deps"> | ||
155 | - <a class="info-title-container" href="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('url')), ENT_QUOTES, 'UTF-8').'"> | ||
156 | - <h2 class="info-title">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('title')), ENT_QUOTES, 'UTF-8').'</h2> | ||
157 | - </a> | ||
158 | - <p class="info-text">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('text')), ENT_QUOTES, 'UTF-8').'</p> | ||
159 | -'.' <div class="time-view-like-share clearfix"> | ||
160 | - <i class="iconfont"></i> | ||
161 | - '.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('publishTime')), ENT_QUOTES, 'UTF-8').' | ||
162 | - <i class="iconfont"></i> | ||
163 | - <span class="page-view">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('pageView')), ENT_QUOTES, 'UTF-8').'</span> | ||
164 | - <div class="like-share-container"> | ||
165 | -'.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> | ||
166 | - <span class="like-count">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('count')), ENT_QUOTES, 'UTF-8').'</span> | ||
167 | -';}).''.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').'> | ||
168 | - <i class="iconfont collect-btn'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('isCollected')), $in, false, function($cx, $in) {return ' collected';}).'"></i> | ||
169 | - </a> | ||
170 | -';}).''.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> | ||
171 | -';}).' </div> | ||
172 | - </div>'.' </div> | ||
173 | - </div>'.'';}).' </div> | ||
174 | - </div> | ||
175 | -' : '').' | ||
176 | - <input id="jump-to-app" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('jumpToApp')), ENT_QUOTES, 'UTF-8').'"> | ||
177 | - | ||
178 | - <input id="shareLink" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareLink')), ENT_QUOTES, 'UTF-8').'"> | ||
179 | - <input id="shareImg" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareImg')), ENT_QUOTES, 'UTF-8').'"> | ||
180 | - <input id="shareTitle" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareTitle')), ENT_QUOTES, 'UTF-8').'"> | ||
181 | - <input id="shareDesc" type="hidden" value="'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('shareDesc')), ENT_QUOTES, 'UTF-8').'"> | ||
182 | -';}).'</div> | ||
183 | -'.''.''.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"> | ||
184 | - <p class="op-row"> | ||
185 | - <span class="back-to-top"> | ||
186 | - Back to top | ||
187 | - <i class="iconfont"></i> | ||
188 | - </span> | ||
189 | - </p> | ||
190 | - <address class="copyright"> | ||
191 | - CopyRight©2007-2016 南京新与力文化传播有限公司 | ||
192 | - </address> | ||
193 | -</footer> | ||
194 | -';}).' | ||
195 | -'.''.''.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"> | ||
196 | - <div class="float-layer-left"> | ||
197 | - <span class="yoho-icon iconfont"></span> | ||
198 | - <p>新用户首单减10元</p> | ||
199 | - </div> | ||
200 | - <a href="javascript:void(0);" id="float-layer-close" > | ||
201 | - <i class="close-icon iconfont"></i> | ||
202 | - <div class="circle-rightbottom"></div> | ||
203 | - </a> | ||
204 | - <a href="http://m.yohobuy.com/download/hyapp" id="float-layer-btn"> | ||
205 | - 立即下载 | ||
206 | - </a> | ||
207 | -</div> | ||
208 | -';}).' | ||
209 | - | ||
210 | - '.''.((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> | ||
211 | -' : '').''.((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> | ||
212 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
213 | -' : '').''.((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> | ||
214 | -<script src="http://cdn.yoho.cn/myohobuy/'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('version')), ENT_QUOTES, 'UTF-8').'/index.js"></script> | ||
215 | -' : '').''.((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> | ||
216 | -<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> | ||
217 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('devEnv')))) ? '<script src="http://localhost:8000/static/js/sea.js?nowrap"></script> | ||
218 | -<script>seajs.config({base: \'http://localhost:8000/\'});</script> | ||
219 | -' : '').'<script type="text/javascript"> | ||
220 | - (function(w,d,s,j,f){ | ||
221 | - w[\'YohoAcquisitionObject\']=f; | ||
222 | - w[f]=function(){w[f].p=arguments;}; | ||
223 | - var a=d.createElement(s); | ||
224 | - var m=d.getElementsByTagName(s)[0]; | ||
225 | - a.async=1; | ||
226 | - a.src=j; | ||
227 | - m.parentNode.insertBefore(a,m); | ||
228 | - })(window,document,\'script\',\'http://cdn.yoho.cn/yas-jssdk/1.0.8/yas.js\',\'_yas\'); | ||
229 | -</script> | ||
230 | -'.'<script> | ||
231 | - seajs.use(\'js/common\'); | ||
232 | -</script> | ||
233 | -'.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psList')))) ? '<script> | ||
234 | - seajs.use(\'js/guang/plus-star/list\'); | ||
235 | -</script> | ||
236 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('psDetail')))) ? '<script> | ||
237 | - seajs.use(\'js/guang/plus-star/detail\'); | ||
238 | -</script> | ||
239 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangHome')))) ? '<script> | ||
240 | - seajs.use(\'js/guang/home\'); | ||
241 | -</script> | ||
242 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangList')))) ? '<script> | ||
243 | - seajs.use(\'js/guang/list\'); | ||
244 | -</script> | ||
245 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangDetail')))) ? '<script> | ||
246 | - seajs.use(\'js/guang/detail\', function(d) { | ||
247 | - d.i(true); | ||
248 | - }); | ||
249 | -</script> | ||
250 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('guangEzine')))) ? '<script> | ||
251 | - seajs.use(\'js/guang/detail\', function(d) { | ||
252 | - d.i(false); | ||
253 | - }); | ||
254 | -</script> | ||
255 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regIndex')))) ? '<script> | ||
256 | - seajs.use(\'js/passport/register/register\'); | ||
257 | -</script> | ||
258 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regCode')))) ? '<script> | ||
259 | - seajs.use(\'js/passport/register/code\'); | ||
260 | -</script> | ||
261 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('regPwd')))) ? '<script> | ||
262 | - seajs.use(\'js/passport/register/password\'); | ||
263 | -</script> | ||
264 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginIndex')))) ? '<script> | ||
265 | - seajs.use(\'js/passport/login/login\'); | ||
266 | -</script> | ||
267 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('loginInternational')))) ? '<script> | ||
268 | - seajs.use(\'js/passport/login/international\'); | ||
269 | -</script> | ||
270 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmail')))) ? '<script> | ||
271 | - seajs.use(\'js/passport/back/email\'); | ||
272 | -</script> | ||
273 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backEmailSuccess')))) ? '<script> | ||
274 | - seajs.use(\'js/passport/back/email-success\'); | ||
275 | -</script> | ||
276 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backMobile')))) ? '<script> | ||
277 | - seajs.use(\'js/passport/back/mobile\'); | ||
278 | -</script> | ||
279 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backCode')))) ? '<script> | ||
280 | - seajs.use(\'js/passport/back/code\'); | ||
281 | -</script> | ||
282 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('backNewPwd')))) ? '<script> | ||
283 | - seajs.use(\'js/passport/back/new-password\'); | ||
284 | -</script> | ||
285 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('channelPage')))) ? '<script> | ||
286 | - seajs.use(\'js/index/channel\'); | ||
287 | - seajs.use(\'js/index/footer\'); | ||
288 | -</script> | ||
289 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('grilsHomePage')))) ? '<script> | ||
290 | - seajs.use(\'js/home/home\', function(h) { | ||
291 | - h.set(\'girls\'); | ||
292 | - }); | ||
293 | - seajs.use(\'js/index/footer\'); | ||
294 | -</script> | ||
295 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('boysHomePage')))) ? '<script> | ||
296 | - seajs.use(\'js/home/home\', function(h) { | ||
297 | - h.set(\'boys\'); | ||
298 | - }); | ||
299 | - seajs.use(\'js/index/footer\'); | ||
300 | -</script> | ||
301 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('kidsHomePage')))) ? '<script> | ||
302 | - seajs.use(\'js/home/home\', function(h) { | ||
303 | - h.set(\'kids\'); | ||
304 | - }); | ||
305 | - seajs.use(\'js/index/footer\'); | ||
306 | -</script> | ||
307 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('lifestyleHomePage')))) ? '<script> | ||
308 | - seajs.use(\'js/home/home\', function(h) { | ||
309 | - h.set(\'lifestyle\'); | ||
310 | - }); | ||
311 | - seajs.use(\'js/index/footer\'); | ||
312 | -</script> | ||
313 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('newArrivalPage')))) ? '<script> | ||
314 | - seajs.use(\'js/product/newsale/newarrival\'); | ||
315 | - seajs.use(\'js/index/footer\'); | ||
316 | -</script> | ||
317 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('discountPage')))) ? '<script> | ||
318 | - seajs.use(\'js/product/newsale/discount\'); | ||
319 | - seajs.use(\'js/index/footer\'); | ||
320 | -</script> | ||
321 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodListPage')))) ? '<script> | ||
322 | - seajs.use(\'js/product/list\'); | ||
323 | - seajs.use(\'js/index/footer\'); | ||
324 | -</script> | ||
325 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('goodsDetailPage')))) ? '<script> | ||
326 | - seajs.use(\'js/product/detail/detail\'); | ||
327 | -</script> | ||
328 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('categoryPage')))) ? '<script> | ||
329 | - seajs.use(\'js/category/index\'); | ||
330 | - seajs.use(\'js/index/footer\'); | ||
331 | -</script> | ||
332 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('brandPage')))) ? '<script> | ||
333 | - seajs.use(\'js/category/brand\'); | ||
334 | - seajs.use(\'js/index/footer\'); | ||
335 | -</script> | ||
336 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('searchPage')))) ? '<script> | ||
337 | - seajs.use(\'js/index/search\'); | ||
338 | - seajs.use(\'js/index/footer\'); | ||
339 | -</script> | ||
340 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('shoppingCartPage')))) ? '<script> | ||
341 | - seajs.use(\'js/shopping-cart/cart\'); | ||
342 | -</script> | ||
343 | -' : '').''.((Plugin\LCRun3::ifvar($cx, Plugin\LCRun3::v($cx, $in, array('giftAdvancePage')))) ? '<script> | ||
344 | - seajs.use(\'js/shopping-cart/gift-advance\'); | ||
345 | -</script> | ||
346 | -' : '').''.''.'<!-- Google Tag Manager --> | ||
347 | -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W958MG" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
348 | -<script> | ||
349 | - (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\': | ||
350 | - new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0], | ||
351 | - j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src= | ||
352 | - \'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f); | ||
353 | - })(window,document,\'script\',\'dataLayer\',\'GTM-W958MG\'); | ||
354 | -</script> | ||
355 | -<!-- End Google Tag Manager --> | ||
356 | -<script type="text/javascript"> | ||
357 | - var _hmt = _hmt || []; | ||
358 | - (function() { | ||
359 | - var hm = document.createElement("script"); | ||
360 | - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311"; | ||
361 | - var s = document.getElementsByTagName("script")[0]; | ||
362 | - s.parentNode.insertBefore(hm, s); | ||
363 | - })(); | ||
364 | -</script> | ||
365 | -<script> | ||
366 | - var _hmt = _hmt || []; | ||
367 | - (function() { | ||
368 | - var hm = document.createElement("script"); | ||
369 | - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841"; | ||
370 | - var s = document.getElementsByTagName("script")[0]; | ||
371 | - s.parentNode.insertBefore(hm, s); | ||
372 | - })(); | ||
373 | -</script> | ||
374 | -<script src="http://static.yohobuy.com/js/analytics/analysis.js"></script> | ||
375 | -<script src="http://static.yohobuy.com/m/v1/js/om_code.js"></script> | ||
376 | -'.'</body> | ||
377 | -</html>'.''; | ||
378 | -} | ||
379 | -?> |
-
Please register or login to post a comment