Authored by Rock Zhang

修改女首有关的一些模板”

@@ -78,14 +78,15 @@ class FloorProcess @@ -78,14 +78,15 @@ class FloorProcess
78 */ 78 */
79 private static function single_image($data, $type) 79 private static function single_image($data, $type)
80 { 80 {
81 - $result = array();  
82 - 81 + if(empty($data)){
  82 + return array();
  83 + }
83 foreach ($data as &$one) { 84 foreach ($data as &$one) {
84 $one['img'] = Helpers::getImageUrl($one['src'], 750, 364, 1); 85 $one['img'] = Helpers::getImageUrl($one['src'], 750, 364, 1);
  86 + unset($one['src']);
85 } 87 }
86 - $result['list'] = $data;  
87 88
88 - return array('singleImage'=>$result); 89 + return array('banner'=>$data);
89 } 90 }
90 91
91 /** 92 /**
@@ -215,7 +216,7 @@ class FloorProcess @@ -215,7 +216,7 @@ class FloorProcess
215 $one['img'] = Helpers::getImageUrl($one['src'], 186, 203, 1); 216 $one['img'] = Helpers::getImageUrl($one['src'], 186, 203, 1);
216 unset($one['src']); 217 unset($one['src']);
217 } 218 }
218 - $data['banner']['list'] = $data['big_image']; 219 + $data['banner'] = $data['big_image'];
219 unset($data['big_image']); 220 unset($data['big_image']);
220 221
221 foreach ($data['list'] as &$one) { 222 foreach ($data['list'] as &$one) {
@@ -224,7 +225,7 @@ class FloorProcess @@ -224,7 +225,7 @@ class FloorProcess
224 } 225 }
225 $result = $data; 226 $result = $data;
226 227
227 - return $result; 228 + return array('creativeLife'=>$result);
228 } 229 }
229 230
230 /** 231 /**
@@ -247,6 +248,23 @@ class FloorProcess @@ -247,6 +248,23 @@ class FloorProcess
247 } 248 }
248 249
249 /** 250 /**
  251 + * plus,star
  252 + * @param array $data 单名字图片数据
  253 + * @param $type 类型 默认1:男首页 2:女首页 3:kids 4:lifestyle
  254 + * @return array 处理之后的单名字图片数据
  255 + */
  256 + private static function single_name_image($data,$type){
  257 +
  258 + if(empty($data)){
  259 + return array();
  260 + }
  261 + $data['name'] = $data['title'];
  262 + $data['img'] = Images::getImageUrl($data['src'], 640, 198, 2);
  263 +
  264 + return array('plusStar'=>$data['data']);
  265 + }
  266 +
  267 + /**
250 * 也许喜欢数据处理方法 268 * 也许喜欢数据处理方法
251 * @param array $data 也许喜欢数据 269 * @param array $data 也许喜欢数据
252 * @param $type 类型 默认1:男首页 2:女首页 3:kids 4:lifestyle 270 * @param $type 类型 默认1:男首页 2:女首页 3:kids 4:lifestyle
@@ -18,9 +18,9 @@ @@ -18,9 +18,9 @@
18 {{/ twoColumnGoods}} 18 {{/ twoColumnGoods}}
19 19
20 {{! 底部banner}} 20 {{! 底部banner}}
21 - {{# bannerBottom}} 21 + {{# bannerCenter}}
22 {{> common/banner_bottom}} 22 {{> common/banner_bottom}}
23 - {{/ bannerBottom}} 23 + {{/ bannerCenter}}
24 24
25 <div class="overlay"></div> 25 <div class="overlay"></div>
26 </div> 26 </div>
@@ -16,11 +16,6 @@ @@ -16,11 +16,6 @@
16 {{# maybeLike}} 16 {{# maybeLike}}
17 {{> common/maybe_like}} 17 {{> common/maybe_like}}
18 {{/ maybeLike}} 18 {{/ maybeLike}}
19 -  
20 - {{! 底部banner}}  
21 - {{# bannerBottom}}  
22 - {{> common/banner_bottom}}  
23 - {{/ bannerBottom}}  
24 <div class="overlay"></div> 19 <div class="overlay"></div>
25 </div> 20 </div>
26 21
1 -<div class="banner-bottom">  
2 - <a href="{{url}}">  
3 - <img class="lazy" data-original="{{img}}" alt="">  
4 - </a>  
5 -</div>  
@@ -11,9 +11,9 @@ @@ -11,9 +11,9 @@
11 {{/ iconsEnter}} 11 {{/ iconsEnter}}
12 12
13 {{! 中间banner}} 13 {{! 中间banner}}
14 - {{# bannerCenter}}  
15 - {{> common/banner_center}}  
16 - {{/ bannerCenter}} 14 + {{# banner}}
  15 + {{> common/banner}}
  16 + {{/ banner}}
17 17
18 {{! 热门品类}} 18 {{! 热门品类}}
19 {{# hotCategory}} 19 {{# hotCategory}}
@@ -60,9 +60,5 @@ @@ -60,9 +60,5 @@
60 {{# maybeLike}} 60 {{# maybeLike}}
61 {{> common/maybe_like}} 61 {{> common/maybe_like}}
62 {{/ maybeLike}} 62 {{/ maybeLike}}
63 -  
64 - {{! 底部banner}}  
65 - {{# bannerBottom}}  
66 - {{> common/banner_bottom}}  
67 - {{/ bannerBottom}} 63 +
68 {{/ content}} 64 {{/ content}}
1 {{> common/floor_header_more}} 1 {{> common/floor_header_more}}
2 <div class="creative-life"> 2 <div class="creative-life">
3 - <a class="banner" href="{{url}}">  
4 - <img class="lazy" data-original="{{banner}}">  
5 - </a> 3 + {{# banner}}
  4 + <a class="banner" href="{{url}}">
  5 + <img class="lazy" data-original="{{img}}">
  6 + </a>
  7 + {{/ banner}}
6 <ul class="classify-list clearfix"> 8 <ul class="classify-list clearfix">
7 - {{# classify}} 9 + {{# list}}
8 <li class="classify"> 10 <li class="classify">
9 <a href="{{url}}"> 11 <a href="{{url}}">
10 <div class="classify-logo"> 12 <div class="classify-logo">
@@ -13,6 +15,6 @@ @@ -13,6 +15,6 @@
13 <p class="classify-name">{{name}}</p> 15 <p class="classify-name">{{name}}</p>
14 </a> 16 </a>
15 </li> 17 </li>
16 - {{/ classify}} 18 + {{/ list}}
17 </ul> 19 </ul>
18 </div> 20 </div>
@@ -39,437 +39,6 @@ class GirlsController extends AbstractAction @@ -39,437 +39,6 @@ class GirlsController extends AbstractAction
39 $data['content'][] = array('maybeLike' =>$maybeLike); 39 $data['content'][] = array('maybeLike' =>$maybeLike);
40 }*/ 40 }*/
41 41
42 - $data = array(  
43 - 'headerDownload' => array(  
44 - 'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',  
45 - 'url' => 'http://www.baidu.com'  
46 - ),  
47 - 'homeHeader' => array(  
48 - 'bgColor' => '#FF88AE',  
49 - 'searchUrl' => ''  
50 - ),  
51 - 'sideNav' => array(  
52 - array(  
53 - 'textCn' => '男生',  
54 - 'textEn' => 'Boys',  
55 - 'styleClass' => 'boys',  
56 - 'url' => ''  
57 - ),  
58 - array(  
59 - 'textCn' => '女生',  
60 - 'textEn' => 'GIRLS',  
61 - 'styleClass' => 'girls',  
62 - 'url' => ''  
63 - ),  
64 - array(  
65 - 'textCn' => '潮童',  
66 - 'textEn' => 'KIDS',  
67 - 'styleClass' => 'kids',  
68 - 'url' => ''  
69 - ),  
70 - array(  
71 - 'textCn' => '创意生活',  
72 - 'textEn' => 'LIFE STYLE',  
73 - 'styleClass' => 'life',  
74 - 'url' => ''  
75 - ),  
76 - array(  
77 - 'textCn' => '逛',  
78 - 'textEn' => 'TRENDFINDER',  
79 - 'styleClass' => 'guang',  
80 - 'subNav' => array(  
81 - 'list' => array(  
82 - array(  
83 - 'textCn' => '逛',  
84 - 'textEn' => 'TrendFinder',  
85 - 'back' => true,  
86 - 'bgColor' => '#fd307f'  
87 - ),  
88 - array(  
89 - 'textCn' => '查看全部',  
90 - 'url' => ''  
91 - ),  
92 - array(  
93 - 'textCn' => '只看男生',  
94 - 'textEn' => 'Boys',  
95 - 'url' => ''  
96 - ),  
97 - array(  
98 - 'textCn' => '只看女生',  
99 - 'textEn' => 'Girls',  
100 - 'url' => '',  
101 - 'isSelect' => true  
102 - )  
103 - )  
104 - )  
105 - )  
106 - ),  
107 - 'content' => array(  
108 - 'bannerTop' => array(  
109 - 'list' => array(  
110 - array(  
111 - 'url' => '',  
112 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'  
113 - ),  
114 - array(  
115 - 'url' => '',  
116 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'  
117 - ),  
118 - array(  
119 - 'url' => '',  
120 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'  
121 - )  
122 - )  
123 - ),  
124 - 'iconsEnter' => array(  
125 - 'list' => array(  
126 - array(  
127 - 'url' => '',  
128 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
129 - 'text' => '新品到着'  
130 - ),  
131 - array(  
132 - 'url' => '',  
133 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
134 - 'text' => '全球优选'  
135 - ),  
136 - array(  
137 - 'url' => '',  
138 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
139 - 'text' => '明星潮牌'  
140 - ),  
141 - array(  
142 - 'url' => '',  
143 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
144 - 'text' => '全部品类'  
145 - ),  
146 - array(  
147 - 'url' => '',  
148 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
149 - 'text' => '逛'  
150 - ),  
151 - array(  
152 - 'url' => '',  
153 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
154 - 'text' => '搭配指南'  
155 - ),  
156 - array(  
157 - 'url' => '',  
158 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
159 - 'text' => '潮品推荐'  
160 - ),  
161 - array(  
162 - 'url' => '',  
163 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',  
164 - 'text' => '折扣精选'  
165 - )  
166 - )  
167 - ),  
168 - 'bannerCenter' => array(  
169 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',  
170 - 'url' => ''  
171 - ),  
172 -  
173 - 'hotCategory' => array(  
174 - 'title' => array(  
175 - 'name' => '热门品类'  
176 - ),  
177 - 'list' => array(  
178 - array(  
179 - 'textCn' => '卫衣',  
180 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
181 - 'url' => ''  
182 - ),  
183 - array(  
184 - 'textCn' => 'T恤',  
185 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
186 - 'url' => ''  
187 - ),  
188 - array(  
189 - 'textCn' => '打底衫',  
190 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
191 - 'url' => ''  
192 - ),  
193 - array(  
194 - 'textCn' => '打底衫',  
195 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
196 - 'url' => ''  
197 - ),  
198 - array(  
199 - 'textCn' => '打底衫',  
200 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
201 - 'url' => ''  
202 - ),  
203 - array(  
204 - 'textCn' => '打底衫',  
205 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
206 - 'url' => ''  
207 - ),  
208 - array(  
209 - 'textCn' => '打底衫',  
210 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
211 - 'url' => ''  
212 - ),  
213 - array(  
214 - 'textCn' => '打底衫',  
215 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
216 - 'url' => ''  
217 - )  
218 - )  
219 - ),  
220 - 'hotBrands' => array(  
221 - 'title' => array(  
222 - 'name' => '热门品牌'  
223 - ),  
224 - 'list' => array(  
225 - array(  
226 - 'textCn' => 'Moussy',  
227 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
228 - 'url' => ''  
229 - ),  
230 - array(  
231 - 'textCn' => 'Moussy',  
232 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
233 - 'url' => ''  
234 - ),  
235 - array(  
236 - 'textCn' => 'Moussy',  
237 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
238 - 'url' => ''  
239 - ),  
240 - array(  
241 - 'textCn' => 'Moussy',  
242 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
243 - 'url' => ''  
244 - ),  
245 - array(  
246 - 'textCn' => 'Moussy',  
247 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
248 - 'url' => ''  
249 - ),  
250 - array(  
251 - 'textCn' => 'Moussy',  
252 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
253 - 'url' => ''  
254 - )  
255 - )  
256 - ),  
257 -  
258 - 'trendColloaction' => array(  
259 - 'title' => array(  
260 - 'title' => '潮人 ▪ 搭配',  
261 - 'more_name' => '...',  
262 - 'more_url' => 'http://www.yohobuy.com?openby:yohobuy={"action":"go.guangchannel","params":{"id":3,"name":"\u6f6e\u4eba"}}'  
263 - ),  
264 - 'article' => array(  
265 - array(  
266 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
267 - 'url' => ''  
268 - ),  
269 - array(  
270 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
271 - 'url' => ''  
272 - )  
273 - ),  
274 -  
275 - 'recommend_collocation' => array(  
276 - array(  
277 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
278 - 'url' => ''  
279 - ),  
280 - array(  
281 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
282 - 'url' => ''  
283 - ),  
284 - array(  
285 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
286 - 'url' => ''  
287 - ),  
288 - array(  
289 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
290 - 'url' => ''  
291 - ),  
292 - array(  
293 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
294 - 'url' => ''  
295 - )  
296 - )  
297 - ),  
298 - 'trendTopics' => array(  
299 - 'title' => array(  
300 - 'title' => '潮品 ▪ 话题',  
301 - 'more_name' => '...',  
302 - 'more_url' => 'http://www.yohobuy.com?openby:yohobuy={"action":"go.guangchannel","params":{"id":3,"name":"\u6f6e\u4eba"}}'  
303 - ),  
304 - 'list' => array(  
305 - array(  
306 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
307 - 'url' => '',  
308 - 'title' => '现代裁剪',  
309 - 'time' => '2月13日 12:34'  
310 - ),  
311 - array(  
312 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
313 - 'url' => '',  
314 - 'title' => '现代裁剪',  
315 - 'time' => '2月13日 12:34'  
316 - ),  
317 - array(  
318 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
319 - 'url' => '',  
320 - 'title' => '现代裁剪',  
321 - 'time' => '2月13日 12:34'  
322 - )  
323 - )  
324 - ),  
325 - 'goodsCategory' => array(  
326 - 'title' => array(  
327 - 'title' => '潮流时装',  
328 - 'more_name' => '...',  
329 - 'more_url' => 'http://www.yohobuy.com?openby:yohobuy={"action":"go.guangchannel","params":{"id":3,"name":"\u6f6e\u4eba"}}'  
330 - ),  
331 - 'big_image' => array(  
332 - 'list' => array(  
333 - array(  
334 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
335 - 'url' => ''  
336 - )  
337 - )  
338 - ),  
339 - 'list' => array(  
340 - array(  
341 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
342 - 'url' => '',  
343 - 'textCn' => '手表'  
344 - ),  
345 - array(  
346 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
347 - 'url' => '',  
348 - 'textCn' => '烛台'  
349 - ),  
350 - array(  
351 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
352 - 'url' => '',  
353 - 'textCn' => '围巾'  
354 - ),  
355 - array(  
356 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
357 - 'url' => '',  
358 - 'textCn' => '盘子'  
359 - ),  
360 - array(  
361 - 'img' => 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',  
362 - 'url' => '',  
363 - 'textCn' => '耳机'  
364 - )  
365 - )  
366 - ),  
367 - 'creativeLife' => array(  
368 - 'title' => array(  
369 - 'title' => '新入住品牌',  
370 - 'more_name' => '...',  
371 - 'more_url' => 'http://www.yohobuy.com?openby:yohobuy={"action":"go.guangchannel","params":{"id":3,"name":"\u6f6e\u4eba"}}'  
372 - ),  
373 - 'banner' => 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',  
374 - 'classify' => array(  
375 - array(  
376 - 'url' => '',  
377 - 'img' => 'http://img13.static.yhbimg.com/goodsimg/2015/04/10/05/029bef1041343ea2e31dc0423f2f176589.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
378 - 'name' => '手表'  
379 - ), array(  
380 - 'url' => '',  
381 - 'img' => 'http://img12.static.yhbimg.com/goodsimg/2015/07/07/09/02271a775d17649860abec4387b4559e26.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
382 - 'name' => '烛台'  
383 - ), array(  
384 - 'url' => '',  
385 - 'img' => 'http://img12.static.yhbimg.com/goodsimg/2015/05/19/07/02a269d20ed44803eee33e255fe88d7873.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
386 - 'name' => '围巾'  
387 - ), array(  
388 - 'url' => '',  
389 - 'img' => 'http://img13.static.yhbimg.com/goodsimg/2015/06/01/07/02fe94083352435ce53b5d90812cc5bdbd.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
390 - 'name' => '盘子'  
391 - ), array(  
392 - 'url' => '',  
393 - 'img' => 'http://img12.static.yhbimg.com/goodsimg/2015/07/08/07/028db8a2afbe4ecbf37bebc7e98e8e1e80.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
394 - 'name' => '耳机'  
395 - ), array(  
396 - 'url' => '',  
397 - 'img' => 'http://img13.static.yhbimg.com/goodsimg/2015/04/22/02/02a1b688b6dafd786f391e0624aea1e93b.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
398 - 'name' => '生活'  
399 - )  
400 - )  
401 - ),  
402 -  
403 -  
404 - 'plusStar' => array(  
405 - array(  
406 - 'name' => 'PLUS 全球优选',  
407 - 'url' => '',  
408 - 'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/07/13/15/014f7ba48071160053ac3b8f045b9fc264.jpg?imageView/2/w/640/h/640'  
409 - ),  
410 - array(  
411 - 'name' => 'PLUS 全球优选',  
412 - 'url' => '',  
413 - 'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/07/13/15/014f7ba48071160053ac3b8f045b9fc264.jpg?imageView/2/w/640/h/640'  
414 - )  
415 - ),  
416 -  
417 - 'maybeLike' => array(  
418 - 'goods' => array(  
419 - array(  
420 - 'id' => 1,  
421 - 'thumb' => 'http://img11.static.yhbimg.com/goodsimg/2015/03/02/07/01ebfb219e22770ffb0c2c3a2cbb2b4bef.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
422 - 'name' => 'GAWS DIGI 丛林数码印花拼接卫衣',  
423 - 'isLike' => false,  
424 - 'price' => 1268,  
425 - 'salePrice' => 589,  
426 - 'isSale' => true,  
427 - 'isFew' => true,  
428 - 'isNew' => false,  
429 - 'url' => ''  
430 - ), array(  
431 - 'id' => 2,  
432 - 'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/023d70c59e81ccbfb39404487aaf642da2.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
433 - 'name' => 'CLOTtee 撞色连帽外套',  
434 - 'isLike' => false,  
435 - 'price' => 488,  
436 - 'salePrice' => 139,  
437 - 'isSale' => true,  
438 - 'isFew' => true,  
439 - 'isNew' => false,  
440 - 'url' => ''  
441 - ), array(  
442 - 'id' => 3,  
443 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/03/02/08/02e2d44125e95495e3152aa459fa6b9b0c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
444 - 'name' => 'HALFGIRL 插肩棒球服短裙套装',  
445 - 'isLike' => true,  
446 - 'price' => 478,  
447 - 'salePrice' => 208,  
448 - 'isSale' => true,  
449 - 'isFew' => true,  
450 - 'isNew' => false,  
451 - 'url' => ''  
452 - ), array(  
453 - 'id' => 4,  
454 - 'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/03/03/08/022f25fbe177ee12803c522f04fcce06d0.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
455 - 'name' => '黄伟文Wyman X yohood联名商品YYYOHOOD连帽卫衣',  
456 - 'isLike' => false,  
457 - 'salePrice' => 148,  
458 - 'isSale' => false,  
459 - 'isFew' => false,  
460 - 'isNew' => true,  
461 - 'url' => ''  
462 - )  
463 - )  
464 - ),  
465 -  
466 - 'bannerBottom' => array(  
467 - 'img' => 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',  
468 - 'url' => ''  
469 - )  
470 -  
471 - ));  
472 -  
473 $this->_view->assign('title', 'YOHO!有货'); 42 $this->_view->assign('title', 'YOHO!有货');
474 $this->_view->display('index', $data); 43 $this->_view->display('index', $data);
475 } 44 }