Merge branch 'feature/home-page' of http://git.dev.yoho.cn/web/yohobuy into feature/home-page
Showing
11 changed files
with
864 additions
and
232 deletions
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | {{# girls}} | 4 | {{# girls}} |
5 | 5 | ||
6 | {{! 头部banner}} | 6 | {{! 头部banner}} |
7 | - {{# debrisSlider}} | 7 | + {{# debrisSlider}} |
8 | <div class="debris-slider clearfix"> | 8 | <div class="debris-slider clearfix"> |
9 | <div class="left-col col"> | 9 | <div class="left-col col"> |
10 | {{# left}} | 10 | {{# left}} |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | </ul> | 25 | </ul> |
26 | <div class="slide-switch"> | 26 | <div class="slide-switch"> |
27 | <a class="prev" href="javascript:;"> | 27 | <a class="prev" href="javascript:;"> |
28 | - <span class="iconfont"></span> | 28 | + <span class="iconfont"></span> |
29 | </a> | 29 | </a> |
30 | <a class="next" href="javascript:;"> | 30 | <a class="next" href="javascript:;"> |
31 | <span class="iconfont"></span> | 31 | <span class="iconfont"></span> |
1 | {{> layout/header}} | 1 | {{> layout/header}} |
2 | -<div class="home-page yoho-page lifestyle" data-newarrivls='{"url":"/lifestyle/commodity","pageCount":"4","flag":"lifestyle"}'> | 2 | +<div class="home-page yoho-page lifestyle" data-page="lifestyle" data-newarrivls='{"url":"/lifestyle/commodity","pageCount":"4","flag":"lifestyle"}'> |
3 | {{# lifestyle}} | 3 | {{# lifestyle}} |
4 | {{! 头部banner}} | 4 | {{! 头部banner}} |
5 | {{# slide}} | 5 | {{# slide}} |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | 8 | ||
9 | {{! 优选品牌}} | 9 | {{! 优选品牌}} |
10 | {{# preferenceBrands}} | 10 | {{# preferenceBrands}} |
11 | - {{> index/preference-brand}} | 11 | + {{> index/preference-brand}} |
12 | {{/ preferenceBrands}} | 12 | {{/ preferenceBrands}} |
13 | 13 | ||
14 | {{! 类别楼层遍历}} | 14 | {{! 类别楼层遍历}} |
1 | -{{> index/floor-header}} | 1 | +<!-- {{> index/floor-header}} |
2 | <div class="preference-brand"> | 2 | <div class="preference-brand"> |
3 | <div class="img-slider-wrapper clearfix"> | 3 | <div class="img-slider-wrapper clearfix"> |
4 | <div class="img-brand-switch"> | 4 | <div class="img-brand-switch"> |
@@ -24,4 +24,69 @@ | @@ -24,4 +24,69 @@ | ||
24 | {{/list}} | 24 | {{/list}} |
25 | <a class="preference-more" href="{{moreBrands}}">MORE></a> | 25 | <a class="preference-more" href="{{moreBrands}}">MORE></a> |
26 | </div> | 26 | </div> |
27 | +</div> --> | ||
28 | + | ||
29 | +{{! 楼层头部}} | ||
30 | +{{> index/floor-header}} | ||
31 | +<div class="preference-brand"> | ||
32 | + <div class="img-slider-wrapper clearfix"> | ||
33 | + <div class="img-brand-switch"> | ||
34 | + <a class="prev iconfont" href="javascript:;"></a> | ||
35 | + <a class="next iconfont" href="javascript:;"></a> | ||
36 | + </div> | ||
37 | + <div class="img-container-landscape"> | ||
38 | + <ul class="img-list"> | ||
39 | + {{# slider}} | ||
40 | + <li class="img-item"> | ||
41 | + <a href="{{href}}"> <img src="{{img}}" alt="{{alt}}"></a> | ||
42 | + </li> | ||
43 | + {{/ slider}} | ||
44 | + </ul> | ||
45 | + </div> | ||
46 | + </div> | ||
47 | + <div class="logo-brand"> | ||
48 | + <ul class="clearfix"> | ||
49 | + {{# list}} | ||
50 | + <li> | ||
51 | + <a href="{{href}}"> | ||
52 | + <img class="lazy" data-original="{{img}}" alt=""> | ||
53 | + </a> | ||
54 | + </li> | ||
55 | + {{/ list}} | ||
56 | + </ul> | ||
57 | + </div> | ||
58 | + <!-- <div class="hot-brands clearfix"> | ||
59 | + <div class="brands-list"> | ||
60 | + <ul class="clearfix"> | ||
61 | + {{# list}} | ||
62 | + <li> | ||
63 | + <a target="_blank" href="{{href}}"> | ||
64 | + <img class="lazy" data-original="{{img}}"> | ||
65 | + </a> | ||
66 | + </li> | ||
67 | + {{/ list}} | ||
68 | + </ul> | ||
69 | + </div> | ||
70 | + <div class="brands-control"> | ||
71 | + <p class="control-btn"> | ||
72 | + <a class="iconfont prev" href="javascript:;"></a> | ||
73 | + <a class="iconfont next" href="javascript:;"></a> | ||
74 | + </p> | ||
75 | + <p class="all-brands"> | ||
76 | + <a target="_blank" href="{{allBrands}}"> | ||
77 | + MORE> | ||
78 | + </a> | ||
79 | + </p> | ||
80 | + </div> | ||
81 | + </div> --> | ||
82 | + <!-- | ||
83 | + <div class="preference-brand-list clearfix"> | ||
84 | + {{#list}} | ||
85 | + <div class="preference-brand-item"> | ||
86 | + <a href="{{url}}"> | ||
87 | + <img class="lazy" data-original="{{img}}"></a> | ||
88 | + </div> | ||
89 | + {{/list}} | ||
90 | + <a class="preference-more" href="{{moreBrands}}">MORE></a> | ||
91 | + </div>--> | ||
27 | </div> | 92 | </div> |
web-static/js/common/logo-brand.js
0 → 100644
1 | +/** | ||
2 | + * 首页优选品牌js | ||
3 | + * @author: liuyue(yue.liu@yoho.cn) | ||
4 | + * @date: 2015/12/08 | ||
5 | + */ | ||
6 | + | ||
7 | +var $ = require('yoho.jquery'), | ||
8 | + Handlebars = require('yoho.handlebars'), | ||
9 | + lazyLoad = require('yoho.lazyload'); | ||
10 | + | ||
11 | +(function($) { | ||
12 | + var LogoBrand = function(element, options) { | ||
13 | + this.$element = $(element); | ||
14 | + this.options = $.extend({}, $.fn.logoBrand.defaults, options); | ||
15 | + | ||
16 | + this.init(); | ||
17 | + }; | ||
18 | + | ||
19 | + LogoBrand.prototype = { | ||
20 | + init: function() { | ||
21 | + this.$element.addClass('logos-' + this.options.showNum); | ||
22 | + this._sendRequest(); | ||
23 | + }, | ||
24 | + _createHelper: function() { | ||
25 | + var showNum = this.options.showNum; | ||
26 | + | ||
27 | + Handlebars.registerHelper('brandList', function(items, options) { | ||
28 | + var out = '<ul>', | ||
29 | + i = 0, | ||
30 | + item; | ||
31 | + | ||
32 | + for (i = 0; i < items.length; i++) { | ||
33 | + item = options.fn(items[i]); | ||
34 | + console.log(items.length); | ||
35 | + if (i % showNum === 5 || i === 5) { | ||
36 | + | ||
37 | + | ||
38 | + //插入切换按钮的位置 | ||
39 | + out = out + '<li class="logo-brand-switch" data-page="' + Math.floor(i / showNum) + '">' + | ||
40 | + '<a class="prev iconfont" href="javascript:;"></a>' + | ||
41 | + '<a class="next iconfont" href="javascript:;"></a></li>' + | ||
42 | + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; | ||
43 | + } else if (i !== 0 && i % showNum === 0) { | ||
44 | + | ||
45 | + //插入more的位置,more占的是下一页第一个brand的位置,所以page是i/17 | ||
46 | + out = out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + | ||
47 | + '<a href="{{href}}">MORE ></a></li>' + | ||
48 | + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; | ||
49 | + } else { | ||
50 | + out = out + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; | ||
51 | + } | ||
52 | + } | ||
53 | + | ||
54 | + //加上最后一个more, more占的是下一页第一个brand的位置,这里已经循环不到brand,所以加在末尾 | ||
55 | + return out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + | ||
56 | + '<a href="{{href}}">MORE ></a></li></ul>'; | ||
57 | + | ||
58 | + }); | ||
59 | + }, | ||
60 | + _sendRequest: function() { | ||
61 | + var that = this; | ||
62 | + | ||
63 | + $.ajax({ | ||
64 | + type: 'GET', | ||
65 | + url: that.options.url, | ||
66 | + dataType: 'json', | ||
67 | + success: function(data) { | ||
68 | + var brandTpl, | ||
69 | + brandHtml; | ||
70 | + | ||
71 | + that._createHelper(); | ||
72 | + brandHtml = '\{{#brandList logoBrand}}' + | ||
73 | + '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + | ||
74 | + '\{{/brandList}}'; | ||
75 | + brandTpl = Handlebars.compile(brandHtml); | ||
76 | + that.$element.html(brandTpl(data)); | ||
77 | + lazyLoad(that.$element.find('img.lazy')); | ||
78 | + that._bindEvent(); | ||
79 | + } | ||
80 | + }); | ||
81 | + }, | ||
82 | + _brandShow: function(hidePage, showPage) { | ||
83 | + var that = this; | ||
84 | + | ||
85 | + lazyLoad($('li[data-page=' + showPage + ']').find('img.lazy').trigger('appear')); | ||
86 | + that.$element.find('li[data-page=' + hidePage + ']').find('img').fadeOut('normal', function() { | ||
87 | + that.$element.find('li').hide(); | ||
88 | + | ||
89 | + that.$element.find('li[data-page=' + showPage + ']').show().find('img').fadeIn(); | ||
90 | + }); | ||
91 | + }, | ||
92 | + _bindEvent: function() { | ||
93 | + var that = this; | ||
94 | + | ||
95 | + that.$element.on('click', '.next', function() { | ||
96 | + var page = $(this).parent().data('page'), | ||
97 | + nextPage = 0, | ||
98 | + totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; | ||
99 | + | ||
100 | + if (page === totalPage) { | ||
101 | + nextPage = 0; | ||
102 | + } else { | ||
103 | + nextPage = page + 1; | ||
104 | + } | ||
105 | + that._brandShow(page, nextPage); | ||
106 | + }); | ||
107 | + | ||
108 | + that.$element.on('click', '.prev', function() { | ||
109 | + var page = $(this).parent().data('page'), | ||
110 | + prevPage = 0, | ||
111 | + totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; | ||
112 | + | ||
113 | + if (page === 0) { | ||
114 | + prevPage = totalPage; | ||
115 | + } else { | ||
116 | + prevPage = page - 1; | ||
117 | + } | ||
118 | + that._brandShow(page, prevPage); | ||
119 | + }); | ||
120 | + } | ||
121 | + }; | ||
122 | + $.fn.logoBrand = function(option) { | ||
123 | + return this.each(function() { | ||
124 | + var $this = $(this), | ||
125 | + data = $this.data('LogoBrand'), | ||
126 | + options = typeof option === 'object' && option; | ||
127 | + | ||
128 | + if (!data) { | ||
129 | + $this.data('LogoBrand', (data = new LogoBrand(this, options))); | ||
130 | + } | ||
131 | + if (typeof option === 'string') { | ||
132 | + data[option](); | ||
133 | + } | ||
134 | + }); | ||
135 | + }; | ||
136 | + $.fn.logoBrand.Constructor = LogoBrand; | ||
137 | + $.fn.logoBrand.defaults = { | ||
138 | + showNum: 16, | ||
139 | + url: '/boys/getBrand' | ||
140 | + }; | ||
141 | +})($); |
@@ -5,13 +5,13 @@ | @@ -5,13 +5,13 @@ | ||
5 | */ | 5 | */ |
6 | 6 | ||
7 | var $ = require('yoho.jquery'), | 7 | var $ = require('yoho.jquery'), |
8 | - Handlebars = require('yoho.handlebars'), | ||
9 | lazyLoad = require('yoho.lazyload'), | 8 | lazyLoad = require('yoho.lazyload'), |
10 | homePage = $('.home-page').data('page'), | 9 | homePage = $('.home-page').data('page'), |
11 | $data = JSON.parse($('.home-page').attr('data-newarrivls')); | 10 | $data = JSON.parse($('.home-page').attr('data-newarrivls')); |
12 | 11 | ||
13 | require('../common/slider'); | 12 | require('../common/slider'); |
14 | require('../common/slider2'); | 13 | require('../common/slider2'); |
14 | +require('../common/logo-brand'); | ||
15 | 15 | ||
16 | require('../common/accordion'); | 16 | require('../common/accordion'); |
17 | 17 | ||
@@ -26,96 +26,20 @@ if (homePage === 'boys') { | @@ -26,96 +26,20 @@ if (homePage === 'boys') { | ||
26 | $('.slide-container').slider({ | 26 | $('.slide-container').slider({ |
27 | pagination: '.thumb-pagination' | 27 | pagination: '.thumb-pagination' |
28 | }); | 28 | }); |
29 | - $('.img-brand').slider2(); | ||
30 | } else if (homePage === 'girls') { | 29 | } else if (homePage === 'girls') { |
31 | $('.center-col').slider(); | 30 | $('.center-col').slider(); |
32 | } else { | 31 | } else { |
33 | $('.slide-container').slider(); | 32 | $('.slide-container').slider(); |
34 | } | 33 | } |
35 | -$('.center-col').slider(); | ||
36 | -$('.img-slider-wrapper').slider2(); | ||
37 | - | ||
38 | - | ||
39 | -$.ajax({ | ||
40 | - type: 'GET', | ||
41 | - url: '/boys/getBrand', | ||
42 | - dataType: 'json', | ||
43 | - success: function(data) { | ||
44 | - var brandTpl, | ||
45 | - brandHtml; | ||
46 | - | ||
47 | - function brandShow(hidePage, showPage) { | ||
48 | - lazyLoad($('li[data-page=' + showPage + ']').find('img.lazy').trigger('appear')); | ||
49 | - $('.logo-brand').find('li[data-page=' + hidePage + ']').find('img').fadeOut('normal', function() { | ||
50 | - $('.logo-brand').find('li').hide(); | ||
51 | - | ||
52 | - $('.logo-brand').find('li[data-page=' + showPage + ']').show().find('img').fadeIn(); | ||
53 | - }); | ||
54 | - | ||
55 | - } | ||
56 | - | ||
57 | - Handlebars.registerHelper('brandList', function(items, options) { | ||
58 | - var out = '<ul>', | ||
59 | - i = 0, | ||
60 | - item; | ||
61 | - | ||
62 | - for (i = 0; i < items.length; i++) { | ||
63 | - item = options.fn(items[i]); | ||
64 | - if (i % 16 === 5 || i === 5) { | ||
65 | - | ||
66 | - //插入切换按钮的位置 | ||
67 | - out = out + '<li class="logo-brand-switch" data-page="' + Math.floor(i / 16) + '">' + | ||
68 | - '<a class="prev iconfont" href="javascript:;"></a>' + | ||
69 | - '<a class="next iconfont" href="javascript:;"></a></li>' + | ||
70 | - '<li data-page="' + Math.floor(i / 16) + '">' + item + '</li>'; | ||
71 | - } else if (i !== 0 && i % 16 === 0) { | ||
72 | 34 | ||
73 | - //插入more的位置,more占的是下一页第一个brand的位置,所以page是i/17 | ||
74 | - out = out + '<li class="brand-more" data-page="' + Math.floor(i / 17) + '">' + | ||
75 | - '<a href="{{href}}">MORE ></a></li>' + | ||
76 | - '<li data-page="' + Math.floor(i / 16) + '">' + item + '</li>'; | ||
77 | - } else { | ||
78 | - out = out + '<li data-page="' + Math.floor(i / 16) + '">' + item + '</li>'; | ||
79 | - } | ||
80 | - } | ||
81 | - | ||
82 | - //加上最后一个more, more占的是下一页第一个brand的位置,这里已经循环不到brand,所以加在末尾 | ||
83 | - return out + '<li class="brand-more" data-page="' + Math.floor(i / 17) + '">' + | ||
84 | - '<a href="{{href}}">MORE ></a></li></ul>'; | ||
85 | - | ||
86 | - }); | ||
87 | - brandHtml = '\{{#brandList logoBrand}}' + | ||
88 | - '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + | ||
89 | - '\{{/brandList}}'; | ||
90 | - brandTpl = Handlebars.compile(brandHtml); | ||
91 | - $('.logo-brand').html(brandTpl(data)); | ||
92 | - lazyLoad($('.logo-brand').find('img.lazy')); | ||
93 | - | ||
94 | - //品牌翻页 | ||
95 | - $('.logo-brand').on('click', '.next', function() { | ||
96 | - var page = $(this).parent().data('page'), | ||
97 | - nextPage = 0, | ||
98 | - totalPage = Math.ceil($('.logo-brand').find('li').size() / 18) - 1; | ||
99 | - | ||
100 | - if (page === totalPage) { | ||
101 | - nextPage = 0; | ||
102 | - } else { | ||
103 | - nextPage = page + 1; | ||
104 | - } | ||
105 | - brandShow(page, nextPage); | ||
106 | - }); | ||
107 | - | ||
108 | - $('.logo-brand').on('click', '.prev', function() { | ||
109 | - var page = $(this).parent().data('page'), | ||
110 | - prevPage = 0, | ||
111 | - totalPage = Math.ceil($('.logo-brand').find('li').size() / 18) - 1; | 35 | +if (homePage === 'boys') { |
36 | + $('.logo-brand').logoBrand(); | ||
37 | + $('.img-brand').slider2(); | ||
38 | +} else { | ||
39 | + $('.logo-brand').logoBrand({ | ||
40 | + showNum: 10, | ||
41 | + url: '/' + homePage + '/getBrand' | ||
42 | + }); | ||
43 | + $('.img-slider-wrapper').slider2(); | ||
44 | +} | ||
112 | 45 | ||
113 | - if (page === 0) { | ||
114 | - prevPage = totalPage; | ||
115 | - } else { | ||
116 | - prevPage = page - 1; | ||
117 | - } | ||
118 | - brandShow(page, prevPage); | ||
119 | - }); | ||
120 | - } | ||
121 | -}); |
@@ -326,53 +326,6 @@ class GirlsController extends AbstractAction | @@ -326,53 +326,6 @@ class GirlsController extends AbstractAction | ||
326 | 'href' => 'http://www.yohobuy.com/special_8585_0618TEEBOY.html', | 326 | 'href' => 'http://www.yohobuy.com/special_8585_0618TEEBOY.html', |
327 | 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg' | 327 | 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg' |
328 | ), | 328 | ), |
329 | - ), | ||
330 | - 'list' => array( | ||
331 | - array( | ||
332 | - 'href' => '', | ||
333 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
334 | - ), | ||
335 | - array( | ||
336 | - 'href' => '', | ||
337 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
338 | - ), | ||
339 | - array( | ||
340 | - 'href' => '', | ||
341 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
342 | - ), | ||
343 | - array( | ||
344 | - 'href' => '', | ||
345 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
346 | - ), | ||
347 | - array( | ||
348 | - 'href' => '', | ||
349 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
350 | - ), | ||
351 | - array( | ||
352 | - 'href' => '', | ||
353 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
354 | - ), | ||
355 | - array( | ||
356 | - 'href' => '', | ||
357 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
358 | - ), | ||
359 | - array( | ||
360 | - 'href' => '', | ||
361 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
362 | - ), | ||
363 | - array( | ||
364 | - 'href' => '', | ||
365 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
366 | - ), | ||
367 | - array( | ||
368 | - 'href' => '', | ||
369 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
370 | - ), | ||
371 | - array( | ||
372 | - 'href' => '', | ||
373 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
374 | - | ||
375 | - ) | ||
376 | ) | 329 | ) |
377 | ) | 330 | ) |
378 | ), | 331 | ), |
@@ -459,4 +412,214 @@ class GirlsController extends AbstractAction | @@ -459,4 +412,214 @@ class GirlsController extends AbstractAction | ||
459 | $this->echoJson($result); | 412 | $this->echoJson($result); |
460 | } | 413 | } |
461 | 414 | ||
415 | + public function getBrandAction() | ||
416 | + { | ||
417 | + $data = array( | ||
418 | + 'logoBrand' => array( | ||
419 | + array( | ||
420 | + 'href' => 'http://www.yohobuy.com', | ||
421 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86' | ||
422 | + ), | ||
423 | + array( | ||
424 | + 'href' => '', | ||
425 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
426 | + ), | ||
427 | + array( | ||
428 | + 'href' => '', | ||
429 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
430 | + ), | ||
431 | + array( | ||
432 | + 'href' => '', | ||
433 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
434 | + ), | ||
435 | + array( | ||
436 | + 'href' => '', | ||
437 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
438 | + ), | ||
439 | + array( | ||
440 | + 'href' => '', | ||
441 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
442 | + ), | ||
443 | + array( | ||
444 | + 'href' => '', | ||
445 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
446 | + ), | ||
447 | + array( | ||
448 | + 'href' => '', | ||
449 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
450 | + ), | ||
451 | + array( | ||
452 | + 'href' => '', | ||
453 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
454 | + ), | ||
455 | + array( | ||
456 | + 'href' => '', | ||
457 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
458 | + ), | ||
459 | + array( | ||
460 | + 'href' => '', | ||
461 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
462 | + ), | ||
463 | + array( | ||
464 | + 'href' => '', | ||
465 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
466 | + ), | ||
467 | + array( | ||
468 | + 'href' => '', | ||
469 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
470 | + ), | ||
471 | + array( | ||
472 | + 'href' => '', | ||
473 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
474 | + ), | ||
475 | + array( | ||
476 | + 'href' => '', | ||
477 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
478 | + ), | ||
479 | + array( | ||
480 | + 'href' => '', | ||
481 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
482 | + ), | ||
483 | + array( | ||
484 | + 'href' => '', | ||
485 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
486 | + ), | ||
487 | + array( | ||
488 | + 'href' => '', | ||
489 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
490 | + ), | ||
491 | + array( | ||
492 | + 'href' => '', | ||
493 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
494 | + ), | ||
495 | + array( | ||
496 | + 'href' => '', | ||
497 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
498 | + ), | ||
499 | + array( | ||
500 | + 'href' => '', | ||
501 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
502 | + ), | ||
503 | + array( | ||
504 | + 'href' => '', | ||
505 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
506 | + ), | ||
507 | + array( | ||
508 | + 'href' => '', | ||
509 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
510 | + ), | ||
511 | + array( | ||
512 | + 'href' => '', | ||
513 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
514 | + ), | ||
515 | + array( | ||
516 | + 'href' => '', | ||
517 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
518 | + ), | ||
519 | + array( | ||
520 | + 'href' => '', | ||
521 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
522 | + ), | ||
523 | + array( | ||
524 | + 'href' => '', | ||
525 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
526 | + ), | ||
527 | + array( | ||
528 | + 'href' => '', | ||
529 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
530 | + ), | ||
531 | + array( | ||
532 | + 'href' => '', | ||
533 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
534 | + ), | ||
535 | + array( | ||
536 | + 'href' => '', | ||
537 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
538 | + ), | ||
539 | + array( | ||
540 | + 'href' => '', | ||
541 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
542 | + ), | ||
543 | + array( | ||
544 | + 'href' => '', | ||
545 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
546 | + ), | ||
547 | + array( | ||
548 | + 'href' => '', | ||
549 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
550 | + ), | ||
551 | + array( | ||
552 | + 'href' => '', | ||
553 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
554 | + ), | ||
555 | + array( | ||
556 | + 'href' => '', | ||
557 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
558 | + ), | ||
559 | + array( | ||
560 | + 'href' => '', | ||
561 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
562 | + ), | ||
563 | + array( | ||
564 | + 'href' => '', | ||
565 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
566 | + ), | ||
567 | + array( | ||
568 | + 'href' => '', | ||
569 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
570 | + ), | ||
571 | + array( | ||
572 | + 'href' => '', | ||
573 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
574 | + ), | ||
575 | + array( | ||
576 | + 'href' => '', | ||
577 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
578 | + ), | ||
579 | + array( | ||
580 | + 'href' => '', | ||
581 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
582 | + ), | ||
583 | + array( | ||
584 | + 'href' => '', | ||
585 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
586 | + ), | ||
587 | + array( | ||
588 | + 'href' => '', | ||
589 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
590 | + ), | ||
591 | + array( | ||
592 | + 'href' => '', | ||
593 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
594 | + ), | ||
595 | + array( | ||
596 | + 'href' => '', | ||
597 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
598 | + ), | ||
599 | + array( | ||
600 | + 'href' => '', | ||
601 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
602 | + ), | ||
603 | + array( | ||
604 | + 'href' => '', | ||
605 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
606 | + ), | ||
607 | + array( | ||
608 | + 'href' => '', | ||
609 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
610 | + ), | ||
611 | + array( | ||
612 | + 'href' => '', | ||
613 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
614 | + ), | ||
615 | + array( | ||
616 | + 'href' => '', | ||
617 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
618 | + ) | ||
619 | + ) | ||
620 | + ); | ||
621 | + | ||
622 | + $this->echoJson($data); | ||
623 | + } | ||
624 | + | ||
462 | } | 625 | } |
@@ -324,52 +324,6 @@ class KidsController extends AbstractAction | @@ -324,52 +324,6 @@ class KidsController extends AbstractAction | ||
324 | 'href' => 'http://www.yohobuy.com/special_8585_0618TEEBOY.html', | 324 | 'href' => 'http://www.yohobuy.com/special_8585_0618TEEBOY.html', |
325 | 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg' | 325 | 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg' |
326 | ), | 326 | ), |
327 | - ), | ||
328 | - 'list' => array( | ||
329 | - array( | ||
330 | - 'href' => '', | ||
331 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
332 | - ), | ||
333 | - array( | ||
334 | - 'href' => '', | ||
335 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
336 | - ), | ||
337 | - array( | ||
338 | - 'href' => '', | ||
339 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
340 | - ), | ||
341 | - array( | ||
342 | - 'href' => '', | ||
343 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
344 | - ), | ||
345 | - array( | ||
346 | - 'href' => '', | ||
347 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
348 | - ), | ||
349 | - array( | ||
350 | - 'href' => '', | ||
351 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
352 | - ), | ||
353 | - array( | ||
354 | - 'href' => '', | ||
355 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
356 | - ), | ||
357 | - array( | ||
358 | - 'href' => '', | ||
359 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
360 | - ), | ||
361 | - array( | ||
362 | - 'href' => '', | ||
363 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
364 | - ), | ||
365 | - array( | ||
366 | - 'href' => '', | ||
367 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
368 | - ), | ||
369 | - array( | ||
370 | - 'href' => '', | ||
371 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
372 | - ) | ||
373 | ) | 327 | ) |
374 | ) | 328 | ) |
375 | ), | 329 | ), |
@@ -446,4 +400,214 @@ class KidsController extends AbstractAction | @@ -446,4 +400,214 @@ class KidsController extends AbstractAction | ||
446 | $this->echoJson($result); | 400 | $this->echoJson($result); |
447 | } | 401 | } |
448 | 402 | ||
403 | + public function getBrandAction() | ||
404 | + { | ||
405 | + $data = array( | ||
406 | + 'logoBrand' => array( | ||
407 | + array( | ||
408 | + 'href' => 'http://www.yohobuy.com', | ||
409 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86' | ||
410 | + ), | ||
411 | + array( | ||
412 | + 'href' => '', | ||
413 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
414 | + ), | ||
415 | + array( | ||
416 | + 'href' => '', | ||
417 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
418 | + ), | ||
419 | + array( | ||
420 | + 'href' => '', | ||
421 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
422 | + ), | ||
423 | + array( | ||
424 | + 'href' => '', | ||
425 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
426 | + ), | ||
427 | + array( | ||
428 | + 'href' => '', | ||
429 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
430 | + ), | ||
431 | + array( | ||
432 | + 'href' => '', | ||
433 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
434 | + ), | ||
435 | + array( | ||
436 | + 'href' => '', | ||
437 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
438 | + ), | ||
439 | + array( | ||
440 | + 'href' => '', | ||
441 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
442 | + ), | ||
443 | + array( | ||
444 | + 'href' => '', | ||
445 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
446 | + ), | ||
447 | + array( | ||
448 | + 'href' => '', | ||
449 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
450 | + ), | ||
451 | + array( | ||
452 | + 'href' => '', | ||
453 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
454 | + ), | ||
455 | + array( | ||
456 | + 'href' => '', | ||
457 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
458 | + ), | ||
459 | + array( | ||
460 | + 'href' => '', | ||
461 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
462 | + ), | ||
463 | + array( | ||
464 | + 'href' => '', | ||
465 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
466 | + ), | ||
467 | + array( | ||
468 | + 'href' => '', | ||
469 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
470 | + ), | ||
471 | + array( | ||
472 | + 'href' => '', | ||
473 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
474 | + ), | ||
475 | + array( | ||
476 | + 'href' => '', | ||
477 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
478 | + ), | ||
479 | + array( | ||
480 | + 'href' => '', | ||
481 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
482 | + ), | ||
483 | + array( | ||
484 | + 'href' => '', | ||
485 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
486 | + ), | ||
487 | + array( | ||
488 | + 'href' => '', | ||
489 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
490 | + ), | ||
491 | + array( | ||
492 | + 'href' => '', | ||
493 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
494 | + ), | ||
495 | + array( | ||
496 | + 'href' => '', | ||
497 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
498 | + ), | ||
499 | + array( | ||
500 | + 'href' => '', | ||
501 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
502 | + ), | ||
503 | + array( | ||
504 | + 'href' => '', | ||
505 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
506 | + ), | ||
507 | + array( | ||
508 | + 'href' => '', | ||
509 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
510 | + ), | ||
511 | + array( | ||
512 | + 'href' => '', | ||
513 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
514 | + ), | ||
515 | + array( | ||
516 | + 'href' => '', | ||
517 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
518 | + ), | ||
519 | + array( | ||
520 | + 'href' => '', | ||
521 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
522 | + ), | ||
523 | + array( | ||
524 | + 'href' => '', | ||
525 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
526 | + ), | ||
527 | + array( | ||
528 | + 'href' => '', | ||
529 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
530 | + ), | ||
531 | + array( | ||
532 | + 'href' => '', | ||
533 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
534 | + ), | ||
535 | + array( | ||
536 | + 'href' => '', | ||
537 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
538 | + ), | ||
539 | + array( | ||
540 | + 'href' => '', | ||
541 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
542 | + ), | ||
543 | + array( | ||
544 | + 'href' => '', | ||
545 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
546 | + ), | ||
547 | + array( | ||
548 | + 'href' => '', | ||
549 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
550 | + ), | ||
551 | + array( | ||
552 | + 'href' => '', | ||
553 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
554 | + ), | ||
555 | + array( | ||
556 | + 'href' => '', | ||
557 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
558 | + ), | ||
559 | + array( | ||
560 | + 'href' => '', | ||
561 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
562 | + ), | ||
563 | + array( | ||
564 | + 'href' => '', | ||
565 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
566 | + ), | ||
567 | + array( | ||
568 | + 'href' => '', | ||
569 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
570 | + ), | ||
571 | + array( | ||
572 | + 'href' => '', | ||
573 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
574 | + ), | ||
575 | + array( | ||
576 | + 'href' => '', | ||
577 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
578 | + ), | ||
579 | + array( | ||
580 | + 'href' => '', | ||
581 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
582 | + ), | ||
583 | + array( | ||
584 | + 'href' => '', | ||
585 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
586 | + ), | ||
587 | + array( | ||
588 | + 'href' => '', | ||
589 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
590 | + ), | ||
591 | + array( | ||
592 | + 'href' => '', | ||
593 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
594 | + ), | ||
595 | + array( | ||
596 | + 'href' => '', | ||
597 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
598 | + ), | ||
599 | + array( | ||
600 | + 'href' => '', | ||
601 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
602 | + ), | ||
603 | + array( | ||
604 | + 'href' => '', | ||
605 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
606 | + ) | ||
607 | + ) | ||
608 | + ); | ||
609 | + | ||
610 | + $this->echoJson($data); | ||
611 | + } | ||
612 | + | ||
449 | } | 613 | } |
@@ -326,52 +326,6 @@ class LifestyleController extends AbstractAction | @@ -326,52 +326,6 @@ class LifestyleController extends AbstractAction | ||
326 | 'href' => 'http://www.yohobuy.com/special_8585_0618TEEBOY.html', | 326 | 'href' => 'http://www.yohobuy.com/special_8585_0618TEEBOY.html', |
327 | 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg' | 327 | 'img' => 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg' |
328 | ), | 328 | ), |
329 | - ), | ||
330 | - 'list' => array( | ||
331 | - array( | ||
332 | - 'href' => '', | ||
333 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
334 | - ), | ||
335 | - array( | ||
336 | - 'href' => '', | ||
337 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
338 | - ), | ||
339 | - array( | ||
340 | - 'href' => '', | ||
341 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
342 | - ), | ||
343 | - array( | ||
344 | - 'href' => '', | ||
345 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
346 | - ), | ||
347 | - array( | ||
348 | - 'href' => '', | ||
349 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
350 | - ), | ||
351 | - array( | ||
352 | - 'href' => '', | ||
353 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
354 | - ), | ||
355 | - array( | ||
356 | - 'href' => '', | ||
357 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
358 | - ), | ||
359 | - array( | ||
360 | - 'href' => '', | ||
361 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
362 | - ), | ||
363 | - array( | ||
364 | - 'href' => '', | ||
365 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
366 | - ), | ||
367 | - array( | ||
368 | - 'href' => '', | ||
369 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
370 | - ), | ||
371 | - array( | ||
372 | - 'href' => '', | ||
373 | - 'img' => 'http://img10.static.yhbimg.com/brandLogo/2013/01/14/14/01fe59a9d032ed8a69552209c34948addb.jpg?imageMogr2/thumbnail/80x50/extent/80x50/background/d2hpdGU=/position/center/quality/90' | ||
374 | - ) | ||
375 | ) | 329 | ) |
376 | ) | 330 | ) |
377 | ), | 331 | ), |
@@ -584,4 +538,214 @@ class LifestyleController extends AbstractAction | @@ -584,4 +538,214 @@ class LifestyleController extends AbstractAction | ||
584 | 538 | ||
585 | $this->echoJson($result); | 539 | $this->echoJson($result); |
586 | } | 540 | } |
541 | + | ||
542 | + public function getBrandAction() | ||
543 | + { | ||
544 | + $data = array( | ||
545 | + 'logoBrand' => array( | ||
546 | + array( | ||
547 | + 'href' => 'http://www.yohobuy.com', | ||
548 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86' | ||
549 | + ), | ||
550 | + array( | ||
551 | + 'href' => '', | ||
552 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
553 | + ), | ||
554 | + array( | ||
555 | + 'href' => '', | ||
556 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
557 | + ), | ||
558 | + array( | ||
559 | + 'href' => '', | ||
560 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
561 | + ), | ||
562 | + array( | ||
563 | + 'href' => '', | ||
564 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
565 | + ), | ||
566 | + array( | ||
567 | + 'href' => '', | ||
568 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
569 | + ), | ||
570 | + array( | ||
571 | + 'href' => '', | ||
572 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
573 | + ), | ||
574 | + array( | ||
575 | + 'href' => '', | ||
576 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
577 | + ), | ||
578 | + array( | ||
579 | + 'href' => '', | ||
580 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
581 | + ), | ||
582 | + array( | ||
583 | + 'href' => '', | ||
584 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
585 | + ), | ||
586 | + array( | ||
587 | + 'href' => '', | ||
588 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
589 | + ), | ||
590 | + array( | ||
591 | + 'href' => '', | ||
592 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
593 | + ), | ||
594 | + array( | ||
595 | + 'href' => '', | ||
596 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
597 | + ), | ||
598 | + array( | ||
599 | + 'href' => '', | ||
600 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
601 | + ), | ||
602 | + array( | ||
603 | + 'href' => '', | ||
604 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
605 | + ), | ||
606 | + array( | ||
607 | + 'href' => '', | ||
608 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
609 | + ), | ||
610 | + array( | ||
611 | + 'href' => '', | ||
612 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
613 | + ), | ||
614 | + array( | ||
615 | + 'href' => '', | ||
616 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
617 | + ), | ||
618 | + array( | ||
619 | + 'href' => '', | ||
620 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
621 | + ), | ||
622 | + array( | ||
623 | + 'href' => '', | ||
624 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
625 | + ), | ||
626 | + array( | ||
627 | + 'href' => '', | ||
628 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
629 | + ), | ||
630 | + array( | ||
631 | + 'href' => '', | ||
632 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
633 | + ), | ||
634 | + array( | ||
635 | + 'href' => '', | ||
636 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
637 | + ), | ||
638 | + array( | ||
639 | + 'href' => '', | ||
640 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
641 | + ), | ||
642 | + array( | ||
643 | + 'href' => '', | ||
644 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
645 | + ), | ||
646 | + array( | ||
647 | + 'href' => '', | ||
648 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
649 | + ), | ||
650 | + array( | ||
651 | + 'href' => '', | ||
652 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
653 | + ), | ||
654 | + array( | ||
655 | + 'href' => '', | ||
656 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
657 | + ), | ||
658 | + array( | ||
659 | + 'href' => '', | ||
660 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
661 | + ), | ||
662 | + array( | ||
663 | + 'href' => '', | ||
664 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
665 | + ), | ||
666 | + array( | ||
667 | + 'href' => '', | ||
668 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
669 | + ), | ||
670 | + array( | ||
671 | + 'href' => '', | ||
672 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
673 | + ), | ||
674 | + array( | ||
675 | + 'href' => '', | ||
676 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
677 | + ), | ||
678 | + array( | ||
679 | + 'href' => '', | ||
680 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
681 | + ), | ||
682 | + array( | ||
683 | + 'href' => '', | ||
684 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
685 | + ), | ||
686 | + array( | ||
687 | + 'href' => '', | ||
688 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
689 | + ), | ||
690 | + array( | ||
691 | + 'href' => '', | ||
692 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
693 | + ), | ||
694 | + array( | ||
695 | + 'href' => '', | ||
696 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
697 | + ), | ||
698 | + array( | ||
699 | + 'href' => '', | ||
700 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
701 | + ), | ||
702 | + array( | ||
703 | + 'href' => '', | ||
704 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
705 | + ), | ||
706 | + array( | ||
707 | + 'href' => '', | ||
708 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
709 | + ), | ||
710 | + array( | ||
711 | + 'href' => '', | ||
712 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
713 | + ), | ||
714 | + array( | ||
715 | + 'href' => '', | ||
716 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
717 | + ), | ||
718 | + array( | ||
719 | + 'href' => '', | ||
720 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
721 | + ), | ||
722 | + array( | ||
723 | + 'href' => '', | ||
724 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
725 | + ), | ||
726 | + array( | ||
727 | + 'href' => '', | ||
728 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
729 | + ), | ||
730 | + array( | ||
731 | + 'href' => '', | ||
732 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
733 | + ), | ||
734 | + array( | ||
735 | + 'href' => '', | ||
736 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
737 | + ), | ||
738 | + array( | ||
739 | + 'href' => '', | ||
740 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
741 | + ), | ||
742 | + array( | ||
743 | + 'href' => '', | ||
744 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
745 | + ) | ||
746 | + ) | ||
747 | + ); | ||
748 | + | ||
749 | + $this->echoJson($data); | ||
750 | + } | ||
587 | } | 751 | } |
-
Please register or login to post a comment