Showing
12 changed files
with
1073 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._sendRequest(); | ||
22 | + }, | ||
23 | + _createHelper: function() { | ||
24 | + var showNum = this.options.showNum; | ||
25 | + | ||
26 | + Handlebars.registerHelper('brandList', function(items, options) { | ||
27 | + var out = '<ul>', | ||
28 | + i = 0, | ||
29 | + item; | ||
30 | + | ||
31 | + for (i = 0; i < items.length; i++) { | ||
32 | + item = options.fn(items[i]); | ||
33 | + console.log(items.length); | ||
34 | + if (i % showNum === 5 || i === 5) { | ||
35 | + | ||
36 | + | ||
37 | + //插入切换按钮的位置 | ||
38 | + out = out + '<li class="logo-brand-switch" data-page="' + Math.floor(i / showNum) + '">' + | ||
39 | + '<a class="prev iconfont" href="javascript:;"></a>' + | ||
40 | + '<a class="next iconfont" href="javascript:;"></a></li>' + | ||
41 | + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; | ||
42 | + } else if (i !== 0 && i % showNum === 0) { | ||
43 | + | ||
44 | + //插入more的位置,more占的是下一页第一个brand的位置,所以page是i/17 | ||
45 | + out = out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + | ||
46 | + '<a href="{{href}}">MORE ></a></li>' + | ||
47 | + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; | ||
48 | + } else { | ||
49 | + out = out + '<li data-page="' + Math.floor(i / showNum) + '">' + item + '</li>'; | ||
50 | + } | ||
51 | + } | ||
52 | + | ||
53 | + //加上最后一个more, more占的是下一页第一个brand的位置,这里已经循环不到brand,所以加在末尾 | ||
54 | + return out + '<li class="brand-more" data-page="' + Math.floor(i / (showNum + 1)) + '">' + | ||
55 | + '<a href="{{href}}">MORE ></a></li></ul>'; | ||
56 | + | ||
57 | + }); | ||
58 | + }, | ||
59 | + _sendRequest: function() { | ||
60 | + var that = this; | ||
61 | + | ||
62 | + $.ajax({ | ||
63 | + type: 'GET', | ||
64 | + url: that.options.url, | ||
65 | + dataType: 'json', | ||
66 | + success: function(data) { | ||
67 | + var brandTpl, | ||
68 | + brandHtml; | ||
69 | + | ||
70 | + that._createHelper(); | ||
71 | + brandHtml = '\{{#brandList logoBrand}}' + | ||
72 | + '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + | ||
73 | + '\{{/brandList}}'; | ||
74 | + brandTpl = Handlebars.compile(brandHtml); | ||
75 | + $('.logo-brand').addClass('logos-' + that.options.showNum).html(brandTpl(data)); | ||
76 | + lazyLoad($('.logo-brand').find('img.lazy')); | ||
77 | + that._bindEvent(); | ||
78 | + } | ||
79 | + }); | ||
80 | + }, | ||
81 | + _brandShow: function(hidePage, showPage) { | ||
82 | + var that = this; | ||
83 | + | ||
84 | + lazyLoad($('li[data-page=' + showPage + ']').find('img.lazy').trigger('appear')); | ||
85 | + that.$element.find('li[data-page=' + hidePage + ']').find('img').fadeOut('normal', function() { | ||
86 | + that.$element.find('li').hide(); | ||
87 | + | ||
88 | + that.$element.find('li[data-page=' + showPage + ']').show().find('img').fadeIn(); | ||
89 | + }); | ||
90 | + }, | ||
91 | + _bindEvent: function() { | ||
92 | + var that = this; | ||
93 | + | ||
94 | + that.$element.on('click', '.next', function() { | ||
95 | + var page = $(this).parent().data('page'), | ||
96 | + nextPage = 0, | ||
97 | + totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; | ||
98 | + | ||
99 | + if (page === totalPage) { | ||
100 | + nextPage = 0; | ||
101 | + } else { | ||
102 | + nextPage = page + 1; | ||
103 | + } | ||
104 | + that._brandShow(page, nextPage); | ||
105 | + }); | ||
106 | + | ||
107 | + that.$element.on('click', '.prev', function() { | ||
108 | + var page = $(this).parent().data('page'), | ||
109 | + prevPage = 0, | ||
110 | + totalPage = Math.ceil(that.$element.find('li').size() / (that.options.showNum + 2)) - 1; | ||
111 | + | ||
112 | + if (page === 0) { | ||
113 | + prevPage = totalPage; | ||
114 | + } else { | ||
115 | + prevPage = page - 1; | ||
116 | + } | ||
117 | + that._brandShow(page, prevPage); | ||
118 | + }); | ||
119 | + } | ||
120 | + }; | ||
121 | + $.fn.logoBrand = function(option) { | ||
122 | + return this.each(function() { | ||
123 | + var $this = $(this), | ||
124 | + data = $this.data('LogoBrand'), | ||
125 | + options = typeof option === 'object' && option; | ||
126 | + | ||
127 | + if (!data) { | ||
128 | + $this.data('LogoBrand', (data = new LogoBrand(this, options))); | ||
129 | + } | ||
130 | + if (typeof option === 'string') { | ||
131 | + data[option](); | ||
132 | + } | ||
133 | + }); | ||
134 | + }; | ||
135 | + $.fn.logoBrand.Constructor = LogoBrand; | ||
136 | + $.fn.logoBrand.defaults = { | ||
137 | + showNum: 16, | ||
138 | + url: '/boys/getBrand' | ||
139 | + }; | ||
140 | +})($); |
@@ -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/new-arrivls')($data.url, { | 16 | require('../common/new-arrivls')($data.url, { |
17 | pageCount: $data.pageCount, | 17 | pageCount: $data.pageCount, |
@@ -23,96 +23,20 @@ if (homePage === 'boys') { | @@ -23,96 +23,20 @@ if (homePage === 'boys') { | ||
23 | $('.slide-container').slider({ | 23 | $('.slide-container').slider({ |
24 | pagination: '.thumb-pagination' | 24 | pagination: '.thumb-pagination' |
25 | }); | 25 | }); |
26 | - $('.img-brand').slider2(); | ||
27 | } else if (homePage === 'girls') { | 26 | } else if (homePage === 'girls') { |
28 | $('.center-col').slider(); | 27 | $('.center-col').slider(); |
29 | } else { | 28 | } else { |
30 | $('.slide-container').slider(); | 29 | $('.slide-container').slider(); |
31 | } | 30 | } |
32 | -$('.center-col').slider(); | ||
33 | -$('.img-slider-wrapper').slider2(); | ||
34 | - | ||
35 | - | ||
36 | -$.ajax({ | ||
37 | - type: 'GET', | ||
38 | - url: '/boys/getBrand', | ||
39 | - dataType: 'json', | ||
40 | - success: function(data) { | ||
41 | - var brandTpl, | ||
42 | - brandHtml; | ||
43 | - | ||
44 | - function brandShow(hidePage, showPage) { | ||
45 | - lazyLoad($('li[data-page=' + showPage + ']').find('img.lazy').trigger('appear')); | ||
46 | - $('.logo-brand').find('li[data-page=' + hidePage + ']').find('img').fadeOut('normal', function() { | ||
47 | - $('.logo-brand').find('li').hide(); | ||
48 | - | ||
49 | - $('.logo-brand').find('li[data-page=' + showPage + ']').show().find('img').fadeIn(); | ||
50 | - }); | ||
51 | - | ||
52 | - } | ||
53 | - | ||
54 | - Handlebars.registerHelper('brandList', function(items, options) { | ||
55 | - var out = '<ul>', | ||
56 | - i = 0, | ||
57 | - item; | ||
58 | - | ||
59 | - for (i = 0; i < items.length; i++) { | ||
60 | - item = options.fn(items[i]); | ||
61 | - if (i % 16 === 5 || i === 5) { | ||
62 | - | ||
63 | - //插入切换按钮的位置 | ||
64 | - out = out + '<li class="logo-brand-switch" data-page="' + Math.floor(i / 16) + '">' + | ||
65 | - '<a class="prev iconfont" href="javascript:;"></a>' + | ||
66 | - '<a class="next iconfont" href="javascript:;"></a></li>' + | ||
67 | - '<li data-page="' + Math.floor(i / 16) + '">' + item + '</li>'; | ||
68 | - } else if (i !== 0 && i % 16 === 0) { | ||
69 | 31 | ||
70 | - //插入more的位置,more占的是下一页第一个brand的位置,所以page是i/17 | ||
71 | - out = out + '<li class="brand-more" data-page="' + Math.floor(i / 17) + '">' + | ||
72 | - '<a href="{{href}}">MORE ></a></li>' + | ||
73 | - '<li data-page="' + Math.floor(i / 16) + '">' + item + '</li>'; | ||
74 | - } else { | ||
75 | - out = out + '<li data-page="' + Math.floor(i / 16) + '">' + item + '</li>'; | ||
76 | - } | ||
77 | - } | ||
78 | - | ||
79 | - //加上最后一个more, more占的是下一页第一个brand的位置,这里已经循环不到brand,所以加在末尾 | ||
80 | - return out + '<li class="brand-more" data-page="' + Math.floor(i / 17) + '">' + | ||
81 | - '<a href="{{href}}">MORE ></a></li></ul>'; | ||
82 | - | ||
83 | - }); | ||
84 | - brandHtml = '\{{#brandList logoBrand}}' + | ||
85 | - '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + | ||
86 | - '\{{/brandList}}'; | ||
87 | - brandTpl = Handlebars.compile(brandHtml); | ||
88 | - $('.logo-brand').html(brandTpl(data)); | ||
89 | - lazyLoad($('.logo-brand').find('img.lazy')); | ||
90 | - | ||
91 | - //品牌翻页 | ||
92 | - $('.logo-brand').on('click', '.next', function() { | ||
93 | - var page = $(this).parent().data('page'), | ||
94 | - nextPage = 0, | ||
95 | - totalPage = Math.ceil($('.logo-brand').find('li').size() / 18) - 1; | ||
96 | - | ||
97 | - if (page === totalPage) { | ||
98 | - nextPage = 0; | ||
99 | - } else { | ||
100 | - nextPage = page + 1; | ||
101 | - } | ||
102 | - brandShow(page, nextPage); | ||
103 | - }); | ||
104 | - | ||
105 | - $('.logo-brand').on('click', '.prev', function() { | ||
106 | - var page = $(this).parent().data('page'), | ||
107 | - prevPage = 0, | ||
108 | - totalPage = Math.ceil($('.logo-brand').find('li').size() / 18) - 1; | 32 | +if (homePage === 'boys') { |
33 | + $('.logo-brand').logoBrand(); | ||
34 | + $('.img-brand').slider2(); | ||
35 | +} else { | ||
36 | + $('.logo-brand').logoBrand({ | ||
37 | + showNum: 10, | ||
38 | + url: '/' + homePage + '/getBrand' | ||
39 | + }); | ||
40 | + $('.img-slider-wrapper').slider2(); | ||
41 | +} | ||
109 | 42 | ||
110 | - if (page === 0) { | ||
111 | - prevPage = totalPage; | ||
112 | - } else { | ||
113 | - prevPage = page - 1; | ||
114 | - } | ||
115 | - brandShow(page, prevPage); | ||
116 | - }); | ||
117 | - } | ||
118 | -}); |
@@ -737,4 +737,214 @@ class BoysController extends AbstractAction | @@ -737,4 +737,214 @@ class BoysController extends AbstractAction | ||
737 | 737 | ||
738 | $this->echoJson($data); | 738 | $this->echoJson($data); |
739 | } | 739 | } |
740 | + | ||
741 | + public function getBrandAction() | ||
742 | + { | ||
743 | + $data = array( | ||
744 | + 'logoBrand' => array( | ||
745 | + array( | ||
746 | + 'href' => 'http://www.yohobuy.com', | ||
747 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86' | ||
748 | + ), | ||
749 | + array( | ||
750 | + 'href' => '', | ||
751 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
752 | + ), | ||
753 | + array( | ||
754 | + 'href' => '', | ||
755 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
756 | + ), | ||
757 | + array( | ||
758 | + 'href' => '', | ||
759 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
760 | + ), | ||
761 | + array( | ||
762 | + 'href' => '', | ||
763 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
764 | + ), | ||
765 | + array( | ||
766 | + 'href' => '', | ||
767 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
768 | + ), | ||
769 | + array( | ||
770 | + 'href' => '', | ||
771 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
772 | + ), | ||
773 | + array( | ||
774 | + 'href' => '', | ||
775 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
776 | + ), | ||
777 | + array( | ||
778 | + 'href' => '', | ||
779 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
780 | + ), | ||
781 | + array( | ||
782 | + 'href' => '', | ||
783 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
784 | + ), | ||
785 | + array( | ||
786 | + 'href' => '', | ||
787 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
788 | + ), | ||
789 | + array( | ||
790 | + 'href' => '', | ||
791 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
792 | + ), | ||
793 | + array( | ||
794 | + 'href' => '', | ||
795 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
796 | + ), | ||
797 | + array( | ||
798 | + 'href' => '', | ||
799 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
800 | + ), | ||
801 | + array( | ||
802 | + 'href' => '', | ||
803 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
804 | + ), | ||
805 | + array( | ||
806 | + 'href' => '', | ||
807 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
808 | + ), | ||
809 | + array( | ||
810 | + 'href' => '', | ||
811 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
812 | + ), | ||
813 | + array( | ||
814 | + 'href' => '', | ||
815 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
816 | + ), | ||
817 | + array( | ||
818 | + 'href' => '', | ||
819 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
820 | + ), | ||
821 | + array( | ||
822 | + 'href' => '', | ||
823 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
824 | + ), | ||
825 | + array( | ||
826 | + 'href' => '', | ||
827 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
828 | + ), | ||
829 | + array( | ||
830 | + 'href' => '', | ||
831 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
832 | + ), | ||
833 | + array( | ||
834 | + 'href' => '', | ||
835 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
836 | + ), | ||
837 | + array( | ||
838 | + 'href' => '', | ||
839 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
840 | + ), | ||
841 | + array( | ||
842 | + 'href' => '', | ||
843 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
844 | + ), | ||
845 | + array( | ||
846 | + 'href' => '', | ||
847 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
848 | + ), | ||
849 | + array( | ||
850 | + 'href' => '', | ||
851 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
852 | + ), | ||
853 | + array( | ||
854 | + 'href' => '', | ||
855 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
856 | + ), | ||
857 | + array( | ||
858 | + 'href' => '', | ||
859 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
860 | + ), | ||
861 | + array( | ||
862 | + 'href' => '', | ||
863 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
864 | + ), | ||
865 | + array( | ||
866 | + 'href' => '', | ||
867 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
868 | + ), | ||
869 | + array( | ||
870 | + 'href' => '', | ||
871 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
872 | + ), | ||
873 | + array( | ||
874 | + 'href' => '', | ||
875 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
876 | + ), | ||
877 | + array( | ||
878 | + 'href' => '', | ||
879 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
880 | + ), | ||
881 | + array( | ||
882 | + 'href' => '', | ||
883 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
884 | + ), | ||
885 | + array( | ||
886 | + 'href' => '', | ||
887 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
888 | + ), | ||
889 | + array( | ||
890 | + 'href' => '', | ||
891 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
892 | + ), | ||
893 | + array( | ||
894 | + 'href' => '', | ||
895 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
896 | + ), | ||
897 | + array( | ||
898 | + 'href' => '', | ||
899 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
900 | + ), | ||
901 | + array( | ||
902 | + 'href' => '', | ||
903 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
904 | + ), | ||
905 | + array( | ||
906 | + 'href' => '', | ||
907 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
908 | + ), | ||
909 | + array( | ||
910 | + 'href' => '', | ||
911 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
912 | + ), | ||
913 | + array( | ||
914 | + 'href' => '', | ||
915 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
916 | + ), | ||
917 | + array( | ||
918 | + 'href' => '', | ||
919 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
920 | + ), | ||
921 | + array( | ||
922 | + 'href' => '', | ||
923 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
924 | + ), | ||
925 | + array( | ||
926 | + 'href' => '', | ||
927 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
928 | + ), | ||
929 | + array( | ||
930 | + 'href' => '', | ||
931 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
932 | + ), | ||
933 | + array( | ||
934 | + 'href' => '', | ||
935 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
936 | + ), | ||
937 | + array( | ||
938 | + 'href' => '', | ||
939 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
940 | + ), | ||
941 | + array( | ||
942 | + 'href' => '', | ||
943 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
944 | + ) | ||
945 | + ) | ||
946 | + ); | ||
947 | + | ||
948 | + $this->echoJson($data); | ||
949 | + } | ||
740 | } | 950 | } |
@@ -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 | ), |
@@ -446,4 +399,214 @@ class GirlsController extends AbstractAction | @@ -446,4 +399,214 @@ class GirlsController extends AbstractAction | ||
446 | $this->echoJson($result); | 399 | $this->echoJson($result); |
447 | } | 400 | } |
448 | 401 | ||
402 | + public function getBrandAction() | ||
403 | + { | ||
404 | + $data = array( | ||
405 | + 'logoBrand' => array( | ||
406 | + array( | ||
407 | + 'href' => 'http://www.yohobuy.com', | ||
408 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86' | ||
409 | + ), | ||
410 | + array( | ||
411 | + 'href' => '', | ||
412 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
413 | + ), | ||
414 | + array( | ||
415 | + 'href' => '', | ||
416 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
417 | + ), | ||
418 | + array( | ||
419 | + 'href' => '', | ||
420 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
421 | + ), | ||
422 | + array( | ||
423 | + 'href' => '', | ||
424 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
425 | + ), | ||
426 | + array( | ||
427 | + 'href' => '', | ||
428 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
429 | + ), | ||
430 | + array( | ||
431 | + 'href' => '', | ||
432 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
433 | + ), | ||
434 | + array( | ||
435 | + 'href' => '', | ||
436 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
437 | + ), | ||
438 | + array( | ||
439 | + 'href' => '', | ||
440 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
441 | + ), | ||
442 | + array( | ||
443 | + 'href' => '', | ||
444 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
445 | + ), | ||
446 | + array( | ||
447 | + 'href' => '', | ||
448 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
449 | + ), | ||
450 | + array( | ||
451 | + 'href' => '', | ||
452 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
453 | + ), | ||
454 | + array( | ||
455 | + 'href' => '', | ||
456 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
457 | + ), | ||
458 | + array( | ||
459 | + 'href' => '', | ||
460 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
461 | + ), | ||
462 | + array( | ||
463 | + 'href' => '', | ||
464 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
465 | + ), | ||
466 | + array( | ||
467 | + 'href' => '', | ||
468 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
469 | + ), | ||
470 | + array( | ||
471 | + 'href' => '', | ||
472 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
473 | + ), | ||
474 | + array( | ||
475 | + 'href' => '', | ||
476 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
477 | + ), | ||
478 | + array( | ||
479 | + 'href' => '', | ||
480 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
481 | + ), | ||
482 | + array( | ||
483 | + 'href' => '', | ||
484 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
485 | + ), | ||
486 | + array( | ||
487 | + 'href' => '', | ||
488 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
489 | + ), | ||
490 | + array( | ||
491 | + 'href' => '', | ||
492 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
493 | + ), | ||
494 | + array( | ||
495 | + 'href' => '', | ||
496 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
497 | + ), | ||
498 | + array( | ||
499 | + 'href' => '', | ||
500 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
501 | + ), | ||
502 | + array( | ||
503 | + 'href' => '', | ||
504 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
505 | + ), | ||
506 | + array( | ||
507 | + 'href' => '', | ||
508 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
509 | + ), | ||
510 | + array( | ||
511 | + 'href' => '', | ||
512 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
513 | + ), | ||
514 | + array( | ||
515 | + 'href' => '', | ||
516 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
517 | + ), | ||
518 | + array( | ||
519 | + 'href' => '', | ||
520 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
521 | + ), | ||
522 | + array( | ||
523 | + 'href' => '', | ||
524 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
525 | + ), | ||
526 | + array( | ||
527 | + 'href' => '', | ||
528 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
529 | + ), | ||
530 | + array( | ||
531 | + 'href' => '', | ||
532 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
533 | + ), | ||
534 | + array( | ||
535 | + 'href' => '', | ||
536 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
537 | + ), | ||
538 | + array( | ||
539 | + 'href' => '', | ||
540 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
541 | + ), | ||
542 | + array( | ||
543 | + 'href' => '', | ||
544 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
545 | + ), | ||
546 | + array( | ||
547 | + 'href' => '', | ||
548 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.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 | + ) | ||
607 | + ); | ||
608 | + | ||
609 | + $this->echoJson($data); | ||
610 | + } | ||
611 | + | ||
449 | } | 612 | } |
@@ -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 | ), |
@@ -571,4 +525,214 @@ class LifestyleController extends AbstractAction | @@ -571,4 +525,214 @@ class LifestyleController extends AbstractAction | ||
571 | 525 | ||
572 | $this->echoJson($result); | 526 | $this->echoJson($result); |
573 | } | 527 | } |
528 | + | ||
529 | + public function getBrandAction() | ||
530 | + { | ||
531 | + $data = array( | ||
532 | + 'logoBrand' => array( | ||
533 | + array( | ||
534 | + 'href' => 'http://www.yohobuy.com', | ||
535 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86' | ||
536 | + ), | ||
537 | + array( | ||
538 | + 'href' => '', | ||
539 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
540 | + ), | ||
541 | + array( | ||
542 | + 'href' => '', | ||
543 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
544 | + ), | ||
545 | + array( | ||
546 | + 'href' => '', | ||
547 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
548 | + ), | ||
549 | + array( | ||
550 | + 'href' => '', | ||
551 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
552 | + ), | ||
553 | + array( | ||
554 | + 'href' => '', | ||
555 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
556 | + ), | ||
557 | + array( | ||
558 | + 'href' => '', | ||
559 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
560 | + ), | ||
561 | + array( | ||
562 | + 'href' => '', | ||
563 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
564 | + ), | ||
565 | + array( | ||
566 | + 'href' => '', | ||
567 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
568 | + ), | ||
569 | + array( | ||
570 | + 'href' => '', | ||
571 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
572 | + ), | ||
573 | + array( | ||
574 | + 'href' => '', | ||
575 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
576 | + ), | ||
577 | + array( | ||
578 | + 'href' => '', | ||
579 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
580 | + ), | ||
581 | + array( | ||
582 | + 'href' => '', | ||
583 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
584 | + ), | ||
585 | + array( | ||
586 | + 'href' => '', | ||
587 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
588 | + ), | ||
589 | + array( | ||
590 | + 'href' => '', | ||
591 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
592 | + ), | ||
593 | + array( | ||
594 | + 'href' => '', | ||
595 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
596 | + ), | ||
597 | + array( | ||
598 | + 'href' => '', | ||
599 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
600 | + ), | ||
601 | + array( | ||
602 | + 'href' => '', | ||
603 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
604 | + ), | ||
605 | + array( | ||
606 | + 'href' => '', | ||
607 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
608 | + ), | ||
609 | + array( | ||
610 | + 'href' => '', | ||
611 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
612 | + ), | ||
613 | + array( | ||
614 | + 'href' => '', | ||
615 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
616 | + ), | ||
617 | + array( | ||
618 | + 'href' => '', | ||
619 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
620 | + ), | ||
621 | + array( | ||
622 | + 'href' => '', | ||
623 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
624 | + ), | ||
625 | + array( | ||
626 | + 'href' => '', | ||
627 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
628 | + ), | ||
629 | + array( | ||
630 | + 'href' => '', | ||
631 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
632 | + ), | ||
633 | + array( | ||
634 | + 'href' => '', | ||
635 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
636 | + ), | ||
637 | + array( | ||
638 | + 'href' => '', | ||
639 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
640 | + ), | ||
641 | + array( | ||
642 | + 'href' => '', | ||
643 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
644 | + ), | ||
645 | + array( | ||
646 | + 'href' => '', | ||
647 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
648 | + ), | ||
649 | + array( | ||
650 | + 'href' => '', | ||
651 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
652 | + ), | ||
653 | + array( | ||
654 | + 'href' => '', | ||
655 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
656 | + ), | ||
657 | + array( | ||
658 | + 'href' => '', | ||
659 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
660 | + ), | ||
661 | + array( | ||
662 | + 'href' => '', | ||
663 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
664 | + ), | ||
665 | + array( | ||
666 | + 'href' => '', | ||
667 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
668 | + ), | ||
669 | + array( | ||
670 | + 'href' => '', | ||
671 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
672 | + ), | ||
673 | + array( | ||
674 | + 'href' => '', | ||
675 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86' | ||
676 | + ), | ||
677 | + array( | ||
678 | + 'href' => '', | ||
679 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
680 | + ), | ||
681 | + array( | ||
682 | + 'href' => '', | ||
683 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
684 | + ), | ||
685 | + array( | ||
686 | + 'href' => '', | ||
687 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
688 | + ), | ||
689 | + array( | ||
690 | + 'href' => '', | ||
691 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
692 | + ), | ||
693 | + array( | ||
694 | + 'href' => '', | ||
695 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
696 | + ), | ||
697 | + array( | ||
698 | + 'href' => '', | ||
699 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
700 | + ), | ||
701 | + array( | ||
702 | + 'href' => '', | ||
703 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
704 | + ), | ||
705 | + array( | ||
706 | + 'href' => '', | ||
707 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
708 | + ), | ||
709 | + array( | ||
710 | + 'href' => '', | ||
711 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
712 | + ), | ||
713 | + array( | ||
714 | + 'href' => '', | ||
715 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
716 | + ), | ||
717 | + array( | ||
718 | + 'href' => '', | ||
719 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
720 | + ), | ||
721 | + array( | ||
722 | + 'href' => '', | ||
723 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
724 | + ), | ||
725 | + array( | ||
726 | + 'href' => '', | ||
727 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
728 | + ), | ||
729 | + array( | ||
730 | + 'href' => '', | ||
731 | + 'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86' | ||
732 | + ) | ||
733 | + ) | ||
734 | + ); | ||
735 | + | ||
736 | + $this->echoJson($data); | ||
737 | + } | ||
574 | } | 738 | } |
-
Please register or login to post a comment