Authored by hf

do add product detail preference call api

@@ -66,12 +66,14 @@ class DetailData @@ -66,12 +66,14 @@ class DetailData
66 /** 66 /**
67 * 为你优选的商品列表 67 * 为你优选的商品列表
68 * 68 *
  69 + * @todo 需要替换成JAVA接口
69 * @param int $productSkn 商品SKN号 70 * @param int $productSkn 商品SKN号
70 * @return array 71 * @return array
71 */ 72 */
72 public static function preference($productSkn) 73 public static function preference($productSkn)
73 { 74 {
74 $param = Yohobuy::param(); 75 $param = Yohobuy::param();
  76 + $param['method'] = 'app.product.topreference';
75 $param['product_skn'] = $productSkn; 77 $param['product_skn'] = $productSkn;
76 $param['client_secret'] = Sign::getSign($param); 78 $param['client_secret'] = Sign::getSign($param);
77 79
1 -<!DOCTYPE html>  
2 -<html>  
3 -<head>  
4 -<meta charset="UTF-8">  
5 -<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">  
6 -<meta content="yes" name="apple-mobile-web-app-capable">  
7 -<meta content="telephone=no" name="format-detection">  
8 -<meta content="yes" name="apple-touch-fullscreen">  
9 -<meta content="black" name="apple-mobile-web-app-status-bar-style">  
10 -<title>{{staticTitle}}</title>  
11 -<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/cuxiao/151201/coupon.mobile.css">  
12 -<link rel="dns-prefetch" href="//cdn.yoho.cn">  
13 -<link rel="dns-prefetch" href="//static.yohobuy.com">  
14 -<script type="text/javascript">  
15 - (function(doc, win) {  
16 - var docEl = doc.documentElement;  
17 - (function() {  
18 - var clientWidth = docEl.clientWidth;  
19 - if (!clientWidth) {  
20 - return;  
21 - }  
22 - docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';  
23 - }());  
24 - })(document, window);  
25 -</script>  
26 -</head>  
27 -<body>  
28 - <div class="coupon-container" id="coupon-container" param="{{activityId}}">  
29 - <div class="coupon-hd"></div>  
30 - <div class="coupon-bd">  
31 - <div class="bd-top"></div>  
32 - <div class="bd-bottom"></div>  
33 - <div class="coupon-rule">  
34 - <h2></h2>  
35 - <ul>  
36 - <li class="clearfix">  
37 - <span>如何领取</span>  
38 - <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>  
39 - </li>  
40 - <li class="clearfix">  
41 - <span>使用方法</span>  
42 - <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>  
43 - </li>  
44 - <li class="clearfix">  
45 - <span>使用细则</span>  
46 - <em>在个人中心查看我的优惠券,每个订单限制用一张。</em>  
47 - </li>  
48 - </ul>  
49 - </div>  
50 - <div class="floor-header best-choice"></div>  
51 - <div class="img-coupon clearfix">  
52 - <ul class="img-coupon01">  
53 - <li>  
54 - <a class="enter-store" href="{{url_350}}"></a>  
55 - <a class="get-coupon" href="{{jumpUrl}}" param="15659"></a>  
56 - </li>  
57 - <li>  
58 - <a class="enter-store" href="{{url_160}}"></a>  
59 - <a class="get-coupon" href="{{jumpUrl}}" param="15663"></a>  
60 - </li>  
61 - </ul>  
62 - <ul class="img-coupon02">  
63 - <li>  
64 - <a class="enter-store" href="{{url_341}}"></a>  
65 - <a class="get-coupon" href="{{jumpUrl}}" param="15667"></a>  
66 - </li>  
67 - <li>  
68 - <a class="enter-store" href="{{url_710}}"></a>  
69 - <a class="get-coupon" href="{{jumpUrl}}" param="15669"></a>  
70 - </li>  
71 - </ul>  
72 - <ul class="img-coupon03">  
73 - <li>  
74 - <a class="enter-store" href="{{url_471}}"></a>  
75 - <a class="get-coupon" href="{{jumpUrl}}" param="15671"></a>  
76 - </li>  
77 - <li>  
78 - <a class="enter-store" href="{{url_495}}"></a>  
79 - <a class="get-coupon" href="{{jumpUrl}}" param="15675"></a>  
80 - </li>  
81 - </ul>  
82 - <ul class="img-coupon04">  
83 - <li>  
84 - <a class="enter-store" href="{{url_235}}"></a>  
85 - <a class="get-coupon" href="{{jumpUrl}}" param="15681"></a>  
86 - </li>  
87 - <li>  
88 - <a class="enter-store" href="{{url_583}}"></a>  
89 - <a class="get-coupon" href="{{jumpUrl}}" param="15683"></a>  
90 - </li>  
91 - </ul>  
92 - </div>  
93 - <div class="logo-coupon">  
94 - <ul>  
95 - <li class="logo-coupon01">  
96 - <a class="enter-store" href="{{url_417}}"></a>  
97 - <a class="get-coupon" href="{{jumpUrl}}" param="15665"></a>  
98 - </li>  
99 - <li class="logo-coupon02">  
100 - <a class="enter-store" href="{{url_672}}"></a>  
101 - <a class="get-coupon" href="{{jumpUrl}}" param="15673"></a>  
102 - </li>  
103 - <li class="logo-coupon03">  
104 - <a class="enter-store" href="{{url_589}}"></a>  
105 - <a class="get-coupon" href="{{jumpUrl}}" param="15679"></a>  
106 - </li>  
107 - <li class="logo-coupon04">  
108 - <a class="enter-store" href="{{url_707}}"></a>  
109 - <a class="get-coupon" href="{{jumpUrl}}" param="15699"></a>  
110 - </li>  
111 - <li class="logo-coupon05">  
112 - <a class="enter-store" href="{{url_550}}"></a>  
113 - <a class="get-coupon" href="{{jumpUrl}}" param="15687"></a>  
114 - </li>  
115 - <li class="logo-coupon06">  
116 - <a class="enter-store" href="{{url_600}}"></a>  
117 - <a class="get-coupon" href="{{jumpUrl}}" param="15693"></a>  
118 - </li>  
119 - </ul>  
120 - </div>  
121 - <div class="floor-header top-recommend"></div>  
122 - <div class="img-coupon clearfix">  
123 - <ul class="img-coupon05">  
124 - <li>  
125 - <a class="enter-store" href="{{url_402}}"></a>  
126 - <a class="get-coupon" href="{{jumpUrl}}" param="15685"></a>  
127 - </li>  
128 - <li>  
129 - <a class="enter-store" href="{{url_720}}"></a>  
130 - <a class="get-coupon" href="{{jumpUrl}}" param="15689"></a>  
131 - </li>  
132 - </ul>  
133 - <ul class="img-coupon06">  
134 - <li>  
135 - <a class="enter-store" href="{{url_138}}"></a>  
136 - <a class="get-coupon" href="{{jumpUrl}}" param="15691"></a>  
137 - </li>  
138 - <li>  
139 - <a class="enter-store" href="{{url_506}}"></a>  
140 - <a class="get-coupon" href="{{jumpUrl}}" param="15695"></a>  
141 - </li>  
142 - </ul>  
143 - <ul class="img-coupon07">  
144 - <li>  
145 - <a class="enter-store" href="{{url_419}}"></a>  
146 - <a class="get-coupon" href="{{jumpUrl}}" param="15697"></a>  
147 - </li>  
148 - <li>  
149 - <a class="enter-store" href="{{url_581}}"></a>  
150 - <a class="get-coupon" href="{{jumpUrl}}" param="15705"></a>  
151 - </li>  
152 - </ul>  
153 - <ul class="img-coupon08">  
154 - <li>  
155 - <a class="enter-store" href="{{url_722}}"></a>  
156 - <a class="get-coupon" href="{{jumpUrl}}" param="15707"></a>  
157 - </li>  
158 - <li>  
159 - <a class="enter-store" href="{{url_191}}"></a>  
160 - <a class="get-coupon" href="{{jumpUrl}}" param="15751"></a>  
161 - </li>  
162 - </ul>  
163 - </div>  
164 - <div class="logo-coupon">  
165 - <ul>  
166 - <li class="logo-coupon07">  
167 - <a class="enter-store" href="{{url_152}}"></a>  
168 - <a class="get-coupon" href="{{jumpUrl}}" param="15701"></a>  
169 - </li>  
170 - <li class="logo-coupon08">  
171 - <a class="enter-store" href="{{url_464}}"></a>  
172 - <a class="get-coupon" href="{{jumpUrl}}" param="15703"></a>  
173 - </li>  
174 - <li class="logo-coupon09">  
175 - <a class="enter-store" href="{{url_102}}"></a>  
176 - <a class="get-coupon" href="{{jumpUrl}}" param="15709"></a>  
177 - </li>  
178 - <li class="logo-coupon10">  
179 - <a class="enter-store" href="{{url_851}}"></a>  
180 - <a class="get-coupon" href="{{jumpUrl}}" param="15711"></a>  
181 - </li>  
182 - <li class="logo-coupon11">  
183 - <a class="enter-store" href="{{url_699}}"></a>  
184 - <a class="get-coupon" href="{{jumpUrl}}" param="15713"></a>  
185 - </li>  
186 - <li class="logo-coupon12">  
187 - <a class="enter-store" href="{{url_103}}"></a>  
188 - <a class="get-coupon" href="{{jumpUrl}}" param="15733"></a>  
189 - </li>  
190 - </ul>  
191 - </div>  
192 - </div>  
193 - <div class="coupon-ft">  
194 - <div class="other-coupon">  
195 - <a href="{{url_girls}}">女生</a>  
196 - <a href="{{url_kids}}">童装</a>  
197 - <a href="{{url_lifestyle}}">创意生活</a>  
198 - </div>  
199 - </div>  
200 - </div>  
201 -<input id="shareLink" type="hidden" value="{{shareLink}}">  
202 -<input id="shareImg" type="hidden" value="{{shareImg}}">  
203 -<input id="shareTitle" type="hidden" value="{{shareTitle}}">  
204 -<input id="shareDesc" type="hidden" value="{{shareDesc}}">  
205 -{{#if weixinShare}}  
206 -<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>  
207 -{{/if}}  
208 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/jquery.min.js"></script>  
209 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/151201/coupon.mobile.js"></script>  
210 -<script type="text/javascript">  
211 - var _hmt = _hmt || [];  
212 - (function() {  
213 - var hm = document.createElement("script");  
214 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
215 - var s = document.getElementsByTagName("script")[0];  
216 - s.parentNode.insertBefore(hm, s);  
217 - })();  
218 -</script>  
219 -<script>  
220 - var _hmt = _hmt || [];  
221 - (function() {  
222 - var hm = document.createElement("script");  
223 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
224 - var s = document.getElementsByTagName("script")[0];  
225 - s.parentNode.insertBefore(hm, s);  
226 - })();  
227 -</script>  
228 -</body>  
229 -</html>  
1 -<!DOCTYPE html>  
2 -<html lang="en">  
3 -<head>  
4 -<meta charset="UTF-8">  
5 -<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">  
6 -<meta content="yes" name="apple-mobile-web-app-capable">  
7 -<meta content="telephone=no" name="format-detection">  
8 -<meta content="yes" name="apple-touch-fullscreen">  
9 -<meta content="black" name="apple-mobile-web-app-status-bar-style">  
10 -<title>{{title}}</title>  
11 -<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/cuxiao/151201/coupon.mobile.css">  
12 -<link rel="dns-prefetch" href="//cdn.yoho.cn">  
13 -<link rel="dns-prefetch" href="//static.yohobuy.com">  
14 -<script type="text/javascript">  
15 - (function(doc, win) {  
16 - var docEl = doc.documentElement;  
17 - (function() {  
18 - var clientWidth = docEl.clientWidth;  
19 - if (!clientWidth) {  
20 - return;  
21 - }  
22 - docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';  
23 - }());  
24 - })(document, window);  
25 -</script>  
26 -</head>  
27 -<body>  
28 - <div class="coupon-container" id="coupon-container" param="{{activityId}}">  
29 - <div class="coupon-hd"></div>  
30 - <div class="coupon-bd">  
31 - <div class="bd-top"></div>  
32 - <div class="bd-bottom"></div>  
33 - <div class="coupon-rule">  
34 - <h2></h2>  
35 - <ul>  
36 - <li class="clearfix">  
37 - <span>如何领取</span>  
38 - <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>  
39 - </li>  
40 - <li class="clearfix">  
41 - <span>使用方法</span>  
42 - <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>  
43 - </li>  
44 - <li class="clearfix">  
45 - <span>使用细则</span>  
46 - <em>在个人中心查看我的优惠券,每个订单限制用一张。</em>  
47 - </li>  
48 - </ul>  
49 - </div>  
50 - <div class="floor-header best-choice"></div>  
51 - <div class="img-coupon clearfix">  
52 - <ul class="img-coupon01 girl">  
53 - <li>  
54 - <a class="get-coupon" href="{{url_570}}"></a>  
55 - <a class="get-coupon" href="{{jumpUrl}}" param="15755"></a>  
56 - </li>  
57 - <li>  
58 - <a class="get-coupon" href="{{url_864}}"></a>  
59 - <a class="get-coupon" href="{{jumpUrl}}" param="15761"></a>  
60 - </li>  
61 - </ul>  
62 - <ul class="img-coupon02 girl">  
63 - <li>  
64 - <a class="get-coupon" href="{{url_824}}"></a>  
65 - <a class="get-coupon" href="{{jumpUrl}}" param="15765"></a>  
66 - </li>  
67 - <li>  
68 - <a class="get-coupon" href="{{url_536}}"></a>  
69 - <a class="get-coupon" href="{{jumpUrl}}" param="15767"></a>  
70 - </li>  
71 - </ul>  
72 - <ul class="img-coupon03 girl">  
73 - <li>  
74 - <a class="get-coupon" href="{{url_257}}"></a>  
75 - <a class="get-coupon" href="{{jumpUrl}}" param="15773"></a>  
76 - </li>  
77 - <li>  
78 - <a class="get-coupon" href="{{url_342}}"></a>  
79 - <a class="get-coupon" href="{{jumpUrl}}" param="15775"></a>  
80 - </li>  
81 - </ul>  
82 - <ul class="img-coupon04 girl">  
83 - <li>  
84 - <a class="get-coupon" href="{{url_354}}"></a>  
85 - <a class="get-coupon" href="{{jumpUrl}}" param="15777"></a>  
86 - </li>  
87 - <li>  
88 - <a class="get-coupon" href="{{url_60}}"></a>  
89 - <a class="get-coupon" href="{{jumpUrl}}" param="15663"></a>  
90 - </li>  
91 - </ul>  
92 - </div>  
93 -  
94 - <div class="logo-coupon">  
95 - <ul>  
96 - <li class="logo-coupon01 girl">  
97 - <a class="enter-store" href="{{url_481}}"></a>  
98 - <a class="get-coupon" href="{{jumpUrl}}" param="15757"></a>  
99 - </li>  
100 - <li class="logo-coupon02 girl">  
101 - <a class="enter-store" href="{{url_450}}"></a>  
102 - <a class="get-coupon" href="{{jumpUrl}}" param="15759"></a>  
103 - </li>  
104 - <li class="logo-coupon03 girl">  
105 - <a class="enter-store" href="{{url_256}}"></a>  
106 - <a class="get-coupon" href="{{jumpUrl}}" param="15763"></a>  
107 - </li>  
108 - <li class="logo-coupon04 girl">  
109 - <a class="enter-store" href="{{url_701}}"></a>  
110 - <a class="get-coupon" href="{{jumpUrl}}" param="15769"></a>  
111 - </li>  
112 - <li class="logo-coupon05 girl">  
113 - <a class="enter-store" href="{{url_506}}"></a>  
114 - <a class="get-coupon" href="{{jumpUrl}}" param="15695"></a>  
115 - </li>  
116 - <li class="logo-coupon06 girl">  
117 - <a class="enter-store" href="{{url_569}}"></a>  
118 - <a class="get-coupon" href="{{jumpUrl}}" param="15779"></a>  
119 - </li>  
120 - </ul>  
121 - </div>  
122 -  
123 - <div class="floor-header top-recommend"></div>  
124 - <div class="img-coupon clearfix">  
125 - <ul class="img-coupon05 girl">  
126 - <li>  
127 - <a class="get-coupon" href="{{url_324}}"></a>  
128 - <a class="get-coupon" href="{{jumpUrl}}" param="15783"></a>  
129 - </li>  
130 - <li>  
131 - <a class="get-coupon" href="{{url_589}}"></a>  
132 - <a class="get-coupon" href="{{jumpUrl}}" param="15679"></a>  
133 - </li>  
134 - </ul>  
135 - <ul class="img-coupon06 girl">  
136 - <li>  
137 - <a class="get-coupon" href="{{url_191}}"></a>  
138 - <a class="get-coupon" href="{{jumpUrl}}" param="15751"></a>  
139 - </li>  
140 - <li>  
141 - <a class="get-coupon" href="{{url_4}}"></a>  
142 - <a class="get-coupon" href="{{jumpUrl}}" param="15715"></a>  
143 - </li>  
144 - </ul>  
145 - <ul class="img-coupon07 girl">  
146 - <li>  
147 - <a class="get-coupon" href="{{url_768}}"></a>  
148 - <a class="get-coupon" href="{{jumpUrl}}" param="15795"></a>  
149 - </li>  
150 - <li>  
151 - <a class="get-coupon" href="{{url_649}}"></a>  
152 - <a class="get-coupon" href="{{jumpUrl}}" param="15799"></a>  
153 - </li>  
154 - </ul>  
155 - <ul class="img-coupon08 girl">  
156 - <li>  
157 - <a class="get-coupon" href="{{url_1026}}"></a>  
158 - <a class="get-coupon" href="{{jumpUrl}}" param="15811"></a>  
159 - </li>  
160 - <li>  
161 - <a class="get-coupon" href="{{url_1027}}"></a>  
162 - <a class="get-coupon" href="{{jumpUrl}}" param="15813"></a>  
163 - </li>  
164 - </ul>  
165 - </div>  
166 -  
167 - <div class="logo-coupon">  
168 - <ul>  
169 - <li class="logo-coupon07 girl">  
170 - <a class="enter-store" href="{{url_981}}"></a>  
171 - <a class="get-coupon" href="{{jumpUrl}}" param="15787"></a>  
172 - </li>  
173 - <li class="logo-coupon08 girl">  
174 - <a class="enter-store" href="{{url_402}}"></a>  
175 - <a class="get-coupon" href="{{jumpUrl}}" param="15793"></a>  
176 - </li>  
177 - <li class="logo-coupon09 girl">  
178 - <a class="enter-store" href="{{url_1021}}"></a>  
179 - <a class="get-coupon" href="{{jumpUrl}}" param="15709"></a>  
180 - </li>  
181 - <li class="logo-coupon10 girl">  
182 - <a class="enter-store" href="{{url_860}}"></a>  
183 - <a class="get-coupon" href="{{jumpUrl}}" param="15801"></a>  
184 - </li>  
185 - <li class="logo-coupon11 girl">  
186 - <a class="enter-store" href="{{url_435}}"></a>  
187 - <a class="get-coupon" href="{{jumpUrl}}" param="15803"></a>  
188 - </li>  
189 - <li class="logo-coupon12 girl">  
190 - <a class="enter-store" href="{{url_327}}"></a>  
191 - <a class="get-coupon" href="{{jumpUrl}}" param="15805"></a>  
192 - </li>  
193 - <li class="logo-coupon13 girl">  
194 - <a class="enter-store" href="{{url_505}}"></a>  
195 - <a class="get-coupon" href="{{jumpUrl}}" param="15807"></a>  
196 - </li>  
197 - <li class="logo-coupon14 girl">  
198 - <a class="enter-store" href="{{url_987}}"></a>  
199 - <a class="get-coupon" href="{{jumpUrl}}" param="15809"></a>  
200 - </li>  
201 - </ul>  
202 - </div>  
203 - </div>  
204 -  
205 - <div class="coupon-ft">  
206 - <div class="other-coupon">  
207 - <a href="{{url_boys}}">男生</a>  
208 - <a href="{{url_kids}}">童装</a>  
209 - <a href="{{url_lifestyle}}">创意生活</a>  
210 - </div>  
211 - </div>  
212 - </div>  
213 -<input id="shareLink" type="hidden" value="{{shareLink}}">  
214 -<input id="shareImg" type="hidden" value="{{shareImg}}">  
215 -<input id="shareTitle" type="hidden" value="{{shareTitle}}">  
216 -<input id="shareDesc" type="hidden" value="{{shareDesc}}">  
217 -<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>  
218 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/jquery.min.js"></script>  
219 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/151201/coupon.mobile.js"></script>  
220 -<script type="text/javascript">  
221 - var _hmt = _hmt || [];  
222 - (function() {  
223 - var hm = document.createElement("script");  
224 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
225 - var s = document.getElementsByTagName("script")[0];  
226 - s.parentNode.insertBefore(hm, s);  
227 - })();  
228 -</script>  
229 -<script>  
230 - var _hmt = _hmt || [];  
231 - (function() {  
232 - var hm = document.createElement("script");  
233 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
234 - var s = document.getElementsByTagName("script")[0];  
235 - s.parentNode.insertBefore(hm, s);  
236 - })();  
237 -</script>  
238 -</body>  
239 -</html>  
1 -<!DOCTYPE html>  
2 -<html lang="en">  
3 -<head>  
4 -<meta charset="UTF-8">  
5 -<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">  
6 -<meta content="yes" name="apple-mobile-web-app-capable">  
7 -<meta content="telephone=no" name="format-detection">  
8 -<meta content="yes" name="apple-touch-fullscreen">  
9 -<meta content="black" name="apple-mobile-web-app-status-bar-style">  
10 -<title>{{title}}</title>  
11 -<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/cuxiao/151201/coupon.mobile.css">  
12 -<link rel="dns-prefetch" href="//cdn.yoho.cn">  
13 -<link rel="dns-prefetch" href="//static.yohobuy.com">  
14 -<script type="text/javascript">  
15 - (function(doc, win) {  
16 - var docEl = doc.documentElement;  
17 - (function() {  
18 - var clientWidth = docEl.clientWidth;  
19 - if (!clientWidth) {  
20 - return;  
21 - }  
22 - docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';  
23 - }());  
24 - })(document, window);  
25 -</script>  
26 -</head>  
27 -<body>  
28 - <div class="coupon-container" id="coupon-container" param="{{activityId}}">  
29 - <div class="coupon-hd hd2"></div>  
30 - <div class="coupon-bd">  
31 - <div class="bd-top"></div>  
32 - <div class="bd-bottom"></div>  
33 - <div class="coupon-rule">  
34 - <h2></h2>  
35 - <ul>  
36 - <li class="clearfix">  
37 - <span>如何领取</span>  
38 - <em>12.1-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>  
39 - </li>  
40 - <li class="clearfix">  
41 - <span>使用方法</span>  
42 - <em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>  
43 - </li>  
44 - <li class="clearfix">  
45 - <span>使用细则</span>  
46 - <em>在个人中心查看我的优惠券,每个订单限制用一张。</em>  
47 - </li>  
48 - </ul>  
49 - </div>  
50 - <div class="logo-coupon">  
51 - <ul>  
52 - <li class="logo-coupon01 kid">  
53 - <a class="enter-store" href="{{url_907}}"></a>  
54 - <a class="get-coupon" href="{{jumpUrl}}" param="15859"></a>  
55 - </li>  
56 - <li class="logo-coupon02 kid">  
57 - <a class="enter-store" href="{{url_600}}"></a>  
58 - <a class="get-coupon" href="{{jumpUrl}}" param="15693"></a>  
59 - </li>  
60 - <li class="logo-coupon03 kid">  
61 - <a class="enter-store" href="{{url_888}}"></a>  
62 - <a class="get-coupon" href="{{jumpUrl}}" param="15863"></a>  
63 - </li>  
64 - <li class="logo-coupon04 kid">  
65 - <a class="enter-store" href="{{url_855}}"></a>  
66 - <a class="get-coupon" href="{{jumpUrl}}" param="15865"></a>  
67 - </li>  
68 - <li class="logo-coupon05 kid">  
69 - <a class="enter-store" href="{{url_203}}"></a>  
70 - <a class="get-coupon" href="{{jumpUrl}}" param="15867"></a>  
71 - </li>  
72 - <li class="logo-coupon06 kid">  
73 - <a class="enter-store" href="{{url_800}}"></a>  
74 - <a class="get-coupon" href="{{jumpUrl}}" param="15869"></a>  
75 - </li>  
76 - <li class="logo-coupon07 kid">  
77 - <a class="enter-store" href="{{url_784}}"></a>  
78 - <a class="get-coupon" href="{{jumpUrl}}" param="15871"></a>  
79 - </li>  
80 - <li class="logo-coupon08 kid">  
81 - <a class="enter-store" href="{{url_876}}"></a>  
82 - <a class="get-coupon" href="{{jumpUrl}}" param="16145"></a>  
83 - </li>  
84 - </ul>  
85 - </div>  
86 - </div>  
87 - <div class="coupon-ft">  
88 - <div class="other-coupon">  
89 - <a href="{{url_boys}}">男生</a>  
90 - <a href="{{url_girls}}">女生</a>  
91 - <a href="{{url_lifestyle}}">创意生活</a>  
92 - </div>  
93 - </div>  
94 - </div>  
95 -<input id="shareLink" type="hidden" value="{{shareLink}}">  
96 -<input id="shareImg" type="hidden" value="{{shareImg}}">  
97 -<input id="shareTitle" type="hidden" value="{{shareTitle}}">  
98 -<input id="shareDesc" type="hidden" value="{{shareDesc}}">  
99 -<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>  
100 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/jquery.min.js"></script>  
101 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/151201/coupon.mobile.js"></script>  
102 -<script type="text/javascript">  
103 - var _hmt = _hmt || [];  
104 - (function() {  
105 - var hm = document.createElement("script");  
106 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
107 - var s = document.getElementsByTagName("script")[0];  
108 - s.parentNode.insertBefore(hm, s);  
109 - })();  
110 -</script>  
111 -<script>  
112 - var _hmt = _hmt || [];  
113 - (function() {  
114 - var hm = document.createElement("script");  
115 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
116 - var s = document.getElementsByTagName("script")[0];  
117 - s.parentNode.insertBefore(hm, s);  
118 - })();  
119 -</script>  
120 -</body>  
121 -</html>  
1 -<!DOCTYPE html>  
2 -<html lang="en">  
3 -<head>  
4 -<meta charset="UTF-8">  
5 -<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">  
6 -<meta content="yes" name="apple-mobile-web-app-capable">  
7 -<meta content="telephone=no" name="format-detection">  
8 -<meta content="yes" name="apple-touch-fullscreen">  
9 -<meta content="black" name="apple-mobile-web-app-status-bar-style">  
10 -<title>{{title}}</title>  
11 -<link rel="stylesheet" href="http://static.dev.yohobuy.com/css/cuxiao/151201/coupon.mobile.css">  
12 -<link rel="dns-prefetch" href="//cdn.yoho.cn">  
13 -<link rel="dns-prefetch" href="//static.yohobuy.com">  
14 -<script type="text/javascript">  
15 - (function(doc, win) {  
16 - var docEl = doc.documentElement;  
17 - (function() {  
18 - var clientWidth = docEl.clientWidth;  
19 - if (!clientWidth) {  
20 - return;  
21 - }  
22 - docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';  
23 - }());  
24 - })(document, window);  
25 -</script>  
26 -</head>  
27 -<body>  
28 - <div class="coupon-container" id="coupon-container" param="{{activityId}}">  
29 - <div class="coupon-hd hd2"></div>  
30 - <div class="coupon-bd">  
31 - <div class="bd-top"></div>  
32 - <div class="bd-bottom"></div>  
33 - <div class="coupon-rule">  
34 - <h2></h2>  
35 - <ul>  
36 - <li class="clearfix">  
37 - <span>如何领取</span>  
38 - <em>12.1-12.10期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>  
39 - </li>  
40 - <li class="clearfix">  
41 - <span>使用方法</span>  
42 - <em>12.1-12.10期间,在结算页面选择使用相应的优惠券。</em>  
43 - </li>  
44 - <li class="clearfix">  
45 - <span>使用细则</span>  
46 - <em>在个人中心查看我的优惠券,每个订单限制用一张。</em>  
47 - </li>  
48 - </ul>  
49 - </div>  
50 - <div class="logo-coupon">  
51 - <ul>  
52 - <li class="logo-coupon01 life">  
53 - <a class="enter-store" href="{{url_166}}"></a>  
54 - <a class="get-coupon" href="{{jumpUrl}}" param="15875"></a>  
55 - </li>  
56 - <li class="logo-coupon02 life">  
57 - <a class="enter-store" href="{{url_201}}"></a>  
58 - <a class="get-coupon" href="{{jumpUrl}}" param="15877"></a>  
59 - </li>  
60 - <li class="logo-coupon03 life">  
61 - <a class="enter-store" href="{{url_626}}"></a>  
62 - <a class="get-coupon" href="{{jumpUrl}}" param="15879"></a>  
63 - </li>  
64 - <li class="logo-coupon04 life">  
65 - <a class="enter-store" href="{{url_1024}}"></a>  
66 - <a class="get-coupon" href="{{jumpUrl}}" param="15881"></a>  
67 - </li>  
68 - <li class="logo-coupon05 life">  
69 - <a class="enter-store" href="{{url_675}}"></a>  
70 - <a class="get-coupon" href="{{jumpUrl}}" param="15717"></a>  
71 - </li>  
72 - <li class="logo-coupon06 life">  
73 - <a class="enter-store" href="{{url_801}}"></a>  
74 - <a class="get-coupon" href="{{jumpUrl}}" param="15885"></a>  
75 - </li>  
76 - <li class="logo-coupon07 life">  
77 - <a class="enter-store" href="{{url_686}}"></a>  
78 - <a class="get-coupon" href="{{jumpUrl}}" param="15887"></a>  
79 - </li>  
80 - <li class="logo-coupon08 life">  
81 - <a class="enter-store" href="{{url_501}}"></a>  
82 - <a class="get-coupon" href="{{jumpUrl}}" param="15889"></a>  
83 - </li>  
84 - <li class="logo-coupon09 life">  
85 - <a class="enter-store" href="{{url_925}}"></a>  
86 - <a class="get-coupon" href="{{jumpUrl}}" param="15891"></a>  
87 - </li>  
88 - <li class="logo-coupon10 life">  
89 - <a class="enter-store" href="{{url_932}}"></a>  
90 - <a class="get-coupon" href="{{jumpUrl}}" param="15893"></a>  
91 - </li>  
92 - <li class="logo-coupon11 life">  
93 - <a class="enter-store" href="{{url_892}}"></a>  
94 - <a class="get-coupon" href="{{jumpUrl}}" param="15895"></a>  
95 - </li>  
96 - <li class="logo-coupon12 life">  
97 - <a class="enter-store" href="{{url_849}}"></a>  
98 - <a class="get-coupon" href="{{jumpUrl}}" param="15899"></a>  
99 - </li>  
100 - <li class="logo-coupon13 life">  
101 - <a class="enter-store" href="{{url_615}}"></a>  
102 - <a class="get-coupon" href="{{jumpUrl}}" param="15901"></a>  
103 - </li>  
104 - </ul>  
105 - </div>  
106 - </div>  
107 - <div class="coupon-ft">  
108 - <div class="other-coupon">  
109 - <a href="{{url_boys}}">男生</a>  
110 - <a href="{{url_girls}}">女生</a>  
111 - <a href="{{url_kids}}">童装</a>  
112 - </div>  
113 - </div>  
114 - </div>  
115 -<input id="shareLink" type="hidden" value="{{shareLink}}">  
116 -<input id="shareImg" type="hidden" value="{{shareImg}}">  
117 -<input id="shareTitle" type="hidden" value="{{shareTitle}}">  
118 -<input id="shareDesc" type="hidden" value="{{shareDesc}}">  
119 -<script type="text/javascript" charset="utf-8" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>  
120 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/jquery.min.js"></script>  
121 -<script type="text/javascript" src="http://static.dev.yohobuy.com/js/cuxiao/151201/coupon.mobile.js"></script>  
122 -<script type="text/javascript">  
123 - var _hmt = _hmt || [];  
124 - (function() {  
125 - var hm = document.createElement("script");  
126 - hm.src = "//hm.baidu.com/hm.js?c6ee7218b8321cb65fb2e98f284d8311";  
127 - var s = document.getElementsByTagName("script")[0];  
128 - s.parentNode.insertBefore(hm, s);  
129 - })();  
130 -</script>  
131 -<script>  
132 - var _hmt = _hmt || [];  
133 - (function() {  
134 - var hm = document.createElement("script");  
135 - hm.src = "//hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";  
136 - var s = document.getElementsByTagName("script")[0];  
137 - s.parentNode.insertBefore(hm, s);  
138 - })();  
139 -</script>  
140 -</body>  
141 -</html>  
1 -<!DOCTYPE html>  
2 -<html>  
3 - <head>  
4 - <meta charset="UTF-8">  
5 - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">  
6 - <meta content="yes" name="apple-mobile-web-app-capable">  
7 - <meta content="telephone=no" name="format-detection">  
8 - <meta content="yes" name="apple-touch-fullscreen">  
9 - <meta content="black" name="apple-mobile-web-app-status-bar-style">  
10 - <title>{{staticTitle}}</title>  
11 - <link rel="dns-prefetch" href="//cdn.yoho.cn">  
12 - <link rel="dns-prefetch" href="//static.yohobuy.com">  
13 - <script type="text/javascript">  
14 - (function(doc, win) {  
15 - var docEl = doc.documentElement;  
16 - (function() {  
17 - var clientWidth = docEl.clientWidth;  
18 - if (!clientWidth) {  
19 - return;  
20 - }  
21 - docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';  
22 - }());  
23 - })(document, window);  
24 - </script>  
25 - <style>  
26 - *{margin: 0; padding: 0;}  
27 - #wrapper {width: 100%;}  
28 - #wrapper img {width: 100%; height: auto; display: block;overflow: hidden;}  
29 - .introduce {font-size: 0.5rem; line-height: 1rem;color: #444;padding: 0 0.75rem;margin-top: 1rem;text-indent: 1.125rem;font-family: "SimHei", "Helvetica", "Arial";}  
30 - .brand-item {height: auto;overflow: hidden;background: #f4f4f4;margin-bottom: 1rem;}  
31 - .brand-item li {display: block;width: 4rem;height: 4rem;float: left;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-o-box-sizing: border-box;box-sizing: border-box;border-right: 1px solid #e0e0e0;border-bottom: 1px solid #e0e0e0;border: 1px solid #e0e0e0;}  
32 - /* .brand-item li:nth-child(4n+4) {border-right: none;} */  
33 - .brand-item li a,.brand-item li img {width: 100%;height: 100%;display: block;overflow: hidden;}  
34 - </style>  
35 - </head>  
36 - <body>  
37 - <div id="wrapper">  
38 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/banner.jpg">  
39 -  
40 - <div class="introduce">  
41 - YOHOPE计划是中国潮流产业的领导者YOHO!集团联合潮流教父Nigo、五月天主唱阿信等全球潮流ICON共同推出的新锐设计师孵化平台,主意是“Help Dream”。该计划为具有设计天赋和潮流设计梦想的国内外原创设计师提供全方位的支持,共同打造更加多元化、更具代表性的设计师品牌和潮流文化,推动中国潮流生态圈的发展。  
42 - </div>  
43 -  
44 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/two.jpg">  
45 -  
46 - <ul class="brand-item">  
47 - <li>  
48 - <a href="{{url_208}}">  
49 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-01.jpg">  
50 - </a>  
51 - </li>  
52 - <li>  
53 - <a href="{{url_256}}">  
54 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-02.jpg">  
55 - </a>  
56 - </li>  
57 - <li>  
58 - <a href="{{url_257}}">  
59 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-03.jpg">  
60 - </a>  
61 - </li>  
62 - <li>  
63 - <a href="{{url_450}}">  
64 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-04.jpg">  
65 - </a>  
66 - </li>  
67 - <li>  
68 - <a href="{{url_444}}">  
69 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-05.jpg">  
70 - </a>  
71 - </li>  
72 - <li>  
73 - <a href="{{url_443}}">  
74 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-06.jpg">  
75 - </a>  
76 - </li>  
77 - <li>  
78 - <a href="{{url_261}}">  
79 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-07.jpg">  
80 - </a>  
81 - </li>  
82 - <li>  
83 - <a href="{{url_350}}">  
84 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-08.jpg">  
85 - </a>  
86 - </li>  
87 - <li>  
88 - <a href="{{url_302}}">  
89 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-09.jpg">  
90 - </a>  
91 - </li>  
92 - <li>  
93 - <a href="{{url_852}}">  
94 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-10.jpg">  
95 - </a>  
96 - </li>  
97 - <li>  
98 - <a href="{{url_570}}">  
99 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-11.jpg">  
100 - </a>  
101 - </li>  
102 - <li><a href="{{url_560}}">  
103 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-12.jpg">  
104 - </a>  
105 - </li>  
106 - <li>  
107 - <a href="{{url_520}}">  
108 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-13.jpg">  
109 - </a>  
110 - </li>  
111 - <li>  
112 - <a href="{{url_562}}">  
113 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-14.jpg">  
114 - </a>  
115 - </li>  
116 - <li>  
117 - <a href="{{url_672}}">  
118 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-15.jpg">  
119 - </a>  
120 - </li>  
121 - <li>  
122 - <a href="{{url_678}}">  
123 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-16.jpg">  
124 - </a>  
125 - </li>  
126 - <li>  
127 - <a href="{{url_396}}">  
128 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-17.jpg">  
129 - </a>  
130 - </li>  
131 - <li>  
132 - <a href="{{url_397}}">  
133 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-18.jpg">  
134 - </a>  
135 - </li>  
136 - <li>  
137 - <a href="{{url_550}}">  
138 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-19.jpg">  
139 - </a>  
140 - </li>  
141 - <li>  
142 - <a href="{{url_591}}">  
143 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-20.jpg">  
144 - </a>  
145 - </li>  
146 - <li>  
147 - <a href="{{url_583}}">  
148 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-21.jpg">  
149 - </a>  
150 - </li>  
151 - <li>  
152 - <a href="{{url_598}}">  
153 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-22.jpg">  
154 - </a>  
155 - </li>  
156 - <li>  
157 - <a href="{{url_824}}">  
158 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-23.jpg">  
159 - </a>  
160 - </li>  
161 - <li>  
162 - <a href="{{url_481}}">  
163 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-24.jpg">  
164 - </a>  
165 - </li>  
166 - <li>  
167 - <a href="{{url_701}}">  
168 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-25.jpg">  
169 - </a>  
170 - </li>  
171 - <li>  
172 - <a href="{{url_464}}">  
173 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/brand-26.jpg">  
174 - </a>  
175 - </li>  
176 - </ul>  
177 - </div>  
178 - <script src="http://static.dev.yohobuy.com/js/cuxiao/jquery.min.js"></script>  
179 - <script src="http://static.dev.yohobuy.com/js/cuxiao/jquery.lazyload.js"></script>  
180 - <script>  
181 - $(function() {  
182 - $("img.lazy").lazyload({  
183 - threshold: 200  
184 - });  
185 - });  
186 - </script>  
187 -</body>  
188 -</html>  
1 -<!DOCTYPE html>  
2 -<html>  
3 -<head>  
4 - <meta charset="UTF-8">  
5 - <title>{{staticTitle}}</title>  
6 - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">  
7 - <meta content="yes" name="apple-mobile-web-app-capable">  
8 - <meta content="telephone=no" name="format-detection">  
9 - <meta content="yes" name="apple-touch-fullscreen">  
10 - <meta content="black" name="apple-mobile-web-app-status-bar-style">  
11 - <style>  
12 - *{margin: 0;padding: 0;}  
13 - #wrapper {width: 100%;}  
14 - #wrapper img {width: 100%; height: auto; display: block;overflow: hidden;}  
15 - .img-box {width: 100%;position: relative;}  
16 - .img-box .href {width: 50%; height: 100%;position: absolute;top: 0;}  
17 - .img-box .href-left {left: 0}  
18 - .img-box .href-right {right: 0}  
19 - .img-box .href-click {width: 90%;height: 100%;position: absolute;top: 0;left: 5%;}  
20 - .show-more {height: 100%;width: 25%;position: absolute;top: 0;right: 10%;}  
21 - .yoho-tip {position: fixed;display: none;text-align: center;width: 70%;padding: 34px 0;top: 50%;left: 50%;margin-left: -35%;margin-top: -45px;background-color: #000;opacity: 0.7;color: #fff;font-size: 18px;border: none;border-radius: 10px;}  
22 - </style>  
23 -</head>  
24 -<body>  
25 - <div id="wrapper">  
26 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/01.jpg">  
27 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/02.jpg">  
28 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/03.jpg">  
29 - <div class="img-box">  
30 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/04.jpg">  
31 - <a class="href href-right" href="{{url_yohope}}"></a>  
32 - </div>  
33 - <a href="{{url_mycoupon}}"><img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/05.jpg"></a>  
34 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/06.jpg">  
35 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/07.jpg">  
36 - <div class="img-box">  
37 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/08.jpg">  
38 - <a class="href href-left" href="{{url_60}}"></a>  
39 - <a class="href href-right" href="{{url_710}}"></a>  
40 - </div>  
41 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
42 - <div class="img-box">  
43 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/09.jpg">  
44 - <a class="href href-left" href="{{url_138}}"></a>  
45 - <a class="href href-right" href="{{url_495}}"></a>  
46 - </div>  
47 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
48 - <div class="img-box">  
49 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/10.jpg">  
50 - <a class="href href-left" href="{{url_419}}"></a>  
51 - <a class="href href-right" href="{{url_868}}"></a>  
52 - </div>  
53 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
54 - <div class="img-box">  
55 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/11.jpg">  
56 - <a class="href href-left" href="{{url_1026}}"></a>  
57 - <a class="href href-right" href="{{url_1027}}"></a>  
58 - </div>  
59 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
60 - <div class="img-box">  
61 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/12.jpg">  
62 - <a class="href href-left" href="{{url_324}}"></a>  
63 - <a class="href href-right" href="{{url_649}}"></a>  
64 - </div>  
65 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
66 - <div class="img-box">  
67 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/13.jpg">  
68 - <a class="href href-left" href="{{url_more}}"></a>  
69 - </div>  
70 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
71 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/14.jpg">  
72 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
73 - <div class="img-box">  
74 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/15.jpg">  
75 - <a class="href-click" id="get-all-coupon" href="{{jumpUrl}}"></a>  
76 - </div>  
77 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
78 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/16.jpg">  
79 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/17.jpg">  
80 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/18.jpg">  
81 - <div class="img-box">  
82 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/19.jpg">  
83 - <a href="{{url_help}}" class="show-more"></a>  
84 - </div>  
85 - <img class="lazy" data-original="http://static.dev.yohobuy.com/img/cuxiao/newuser/00.jpg">  
86 - </div>  
87 - <div id="coupon-container" param="{{activityId}}"></div>  
88 - <script src="http://static.dev.yohobuy.com/js/cuxiao/jquery.min.js"></script>  
89 - <script src="http://static.dev.yohobuy.com/js/cuxiao/jquery.lazyload.js"></script>  
90 - <script src="http://static.dev.yohobuy.com/js/cuxiao/151201/coupon.mobile.js"></script>  
91 - <script>  
92 - $(function() {  
93 - $("img.lazy").lazyload({  
94 - threshold: 200  
95 - });  
96 - });  
97 - </script>  
98 -</body>  
99 -</html>  
@@ -406,7 +406,7 @@ class DetailModel @@ -406,7 +406,7 @@ class DetailModel
406 $result = array(); 406 $result = array();
407 407
408 if (is_numeric($productSkn)) { 408 if (is_numeric($productSkn)) {
409 - $preference = DetailData::preference($productSkn); 409 + $preference = DetailData::preference($productSkn); var_dump($preference); exit;
410 if (!empty($preference['data'])) { 410 if (!empty($preference['data'])) {
411 foreach ($preference['data'] as $value) { 411 foreach ($preference['data'] as $value) {
412 $result['recommendList'][] = Helpers::formatProduct($value, false, true, true, 299, 388, false, false); 412 $result['recommendList'][] = Helpers::formatProduct($value, false, true, true, 299, 388, false, false);
@@ -173,10 +173,10 @@ class DetailController extends AbstractAction @@ -173,10 +173,10 @@ class DetailController extends AbstractAction
173 { 173 {
174 $result = array(); 174 $result = array();
175 175
176 - if ($this->isAjax()) {  
177 - $productSkn = $this->get('productSkn');  
178 - $result = \Product\DetailModel::getPreference($productSkn);  
179 - } 176 + //if ($this->isAjax()) {
  177 + $productSkn = $this->get('productSkn', 50000058);
  178 + $result = \Product\DetailModel::getPreference($productSkn); var_dump($result);
  179 + //}
180 180
181 if (empty($result)) { 181 if (empty($result)) {
182 echo ' '; 182 echo ' ';