Authored by xuqi

flexibal festival

@@ -3,426 +3,666 @@ @@ -3,426 +3,666 @@
3 * @author: xuqi(qi.xu@yoho.cn) 3 * @author: xuqi(qi.xu@yoho.cn)
4 * @date: 2015/3/30 4 * @date: 2015/3/30
5 */ 5 */
  6 +
6 module.exports = function(flag) { 7 module.exports = function(flag) {
7 switch (flag) { 8 switch (flag) {
  9 +
8 //新品节 10 //新品节
9 case 'newfestival': 11 case 'newfestival':
10 - return {  
11 - back: '',  
12 - home: '',  
13 - title: '新品节',  
14 - slider: [{  
15 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
16 - title: '',  
17 - src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/0240f288725106b408d8c524b4d0fba4b9.jpg'  
18 - }, {  
19 - url: 'http://sale.yohobuy.com/?specialsale_id=11&gender=1,3',  
20 - title: '',  
21 - src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg'  
22 - }],  
23 - banner: [{  
24 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
25 - title: '',  
26 - alt: '单个图片',  
27 - imgId: '0',  
28 - src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg'  
29 - }, {  
30 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
31 - title: '',  
32 - alt: '单个图片',  
33 - imgId: '0',  
34 - src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg'  
35 - }],  
36 - imageList: [{  
37 - column_num: 3,  
38 - title: "最热推荐",  
39 - list: [{  
40 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
41 - title: '',  
42 - alt: '',  
43 - imgId: '0',  
44 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
45 - }, {  
46 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
47 - title: '',  
48 - alt: '',  
49 - imgId: '0',  
50 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
51 - }, {  
52 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
53 - title: '',  
54 - alt: '',  
55 - imgId: '0',  
56 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e92b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
57 - }, {  
58 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
59 - title: '',  
60 - alt: '',  
61 - imgId: '0',  
62 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
63 - }, {  
64 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
65 - title: '',  
66 - alt: '',  
67 - imgId: '0',  
68 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
69 - }, {  
70 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
71 - title: '',  
72 - alt: '',  
73 - imgId: '0',  
74 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e92b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
75 - }]  
76 - }, {  
77 - column_num: 2,  
78 - title: "亮点抢先看",  
79 - list: [{  
80 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
81 - title: '',  
82 - alt: '',  
83 - imgId: '0',  
84 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
85 - }, {  
86 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
87 - title: '',  
88 - alt: '',  
89 - imgId: '0',  
90 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
91 - }, {  
92 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
93 - title: '',  
94 - alt: '',  
95 - imgId: '0',  
96 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e92b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
97 - }, {  
98 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
99 - title: '',  
100 - alt: '',  
101 - imgId: '0',  
102 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
103 - }, {  
104 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
105 - title: '',  
106 - alt: '',  
107 - imgId: '0',  
108 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
109 - }, {  
110 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
111 - title: '',  
112 - alt: '',  
113 - imgId: '0',  
114 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e92b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'  
115 - }]  
116 - }],  
117 - banner2: [{  
118 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
119 - title: '',  
120 - alt: '单个图片',  
121 - imgId: '0',  
122 - src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg'  
123 - }, {  
124 - url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',  
125 - title: '',  
126 - alt: '单个图片',  
127 - imgId: '0',  
128 - src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d260341d31c084eb93cc.jpg'  
129 - }],  
130 - goods: [{  
131 - id: 1,  
132 - src: 'http://img11.static.yhbimg.com/goodsimg/2015/03/02/07/01ebfb219e22770ffb0c2c3a2cbb2b4bef.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
133 - name: 'GAWS DIGI 丛林数码印花拼接卫衣',  
134 - isLike: false,  
135 - price: 1268,  
136 - salePrice: 589,  
137 - tags: [  
138 - /*需要显示的放入即可,不需要显示不写*/  
139 - {  
140 - isNew: true  
141 - },  
142 - {  
143 - isSale: true  
144 - },  
145 - {  
146 - isLimit: true  
147 - },  
148 - {  
149 - isYohood: true  
150 - }, 12 + return [
  13 + {
  14 + slider: {
  15 + imgs: [
  16 + {
  17 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  18 + title: '',
  19 + src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/' +
  20 + '0240f288725106b408d8c524b4d0fba4b9.jpg'
  21 + },
  22 + {
  23 + url: 'http://sale.yohobuy.com/?specialsale_id=11&gender=1,3',
  24 + title: '',
  25 + src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/' +
  26 + '02934d7696b187d260341d31c084eb93cc.jpg'
  27 + }
  28 + ]
  29 + }
  30 + },
  31 + {
  32 + imageList: [
151 { 33 {
152 - isReNew: true 34 + col: 4,
  35 + title: '最热推荐4',
  36 + list: [
  37 + {
  38 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  39 + title: '',
  40 + alt: '',
  41 + imgId: '0',
  42 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/' +
  43 + '0244a127c89c1f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail' +
  44 + '/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'
  45 + },
  46 + {
  47 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  48 + title: '',
  49 + alt: '',
  50 + imgId: '0',
  51 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/' +
  52 + '023f696cf1ae78688bc6c8edeccc480c2c.jpg?imageMogr2/thumbnai' +
  53 + 'l/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'
  54 + },
  55 + {
  56 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  57 + title: '',
  58 + alt: '',
  59 + imgId: '0',
  60 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b' +
  61 + '2d48417d0e92b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314' +
  62 + '/extent/235x314/background/d2hpdGU=/position/center/quality/90'
  63 + },
  64 + {
  65 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  66 + title: '',
  67 + alt: '',
  68 + imgId: '0',
  69 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a1' +
  70 + '27c89c1f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/ex' +
  71 + 'tent/235x314/background/d2hpdGU=/position/center/quality/90'
  72 + }
  73 + ]
153 } 74 }
154 - ],  
155 - isFew: true, //单独的即将售罄标志,不显示不写  
156 - url: '',  
157 - likeUrl: ''  
158 - }, {  
159 - id: 2,  
160 - src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/023d70c59e81ccbfb39404487aaf642da2.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
161 - name: 'CLOTtee 撞色连帽外套',  
162 - isLike: false,  
163 - price: 488,  
164 - salePrice: 139,  
165 - tags: [  
166 - {  
167 - isNew: true  
168 - }, 75 + ]
  76 + },
  77 + {
  78 + banner: {
  79 + imgs: [
  80 + {
  81 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  82 + title: '',
  83 + alt: '单个图片',
  84 + imgId: '0',
  85 + src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187' +
  86 + 'd260341d31c084eb93cc.jpg'
  87 + }
  88 + ]
  89 + }
  90 + },
  91 + {
  92 + imageList: [
169 { 93 {
170 - isSale: true 94 + col: 3,
  95 + title: '最热推荐',
  96 + list: [
  97 + {
  98 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  99 + title: '',
  100 + alt: '',
  101 + imgId: '0',
  102 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f' +
  103 + '77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/ba' +
  104 + 'ckground/d2hpdGU=/position/center/quality/90'
  105 + },
  106 + {
  107 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  108 + title: '',
  109 + alt: '',
  110 + imgId: '0',
  111 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae78688' +
  112 + 'bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/backgro' +
  113 + 'und/d2hpdGU=/position/center/quality/90'
  114 + },
  115 + {
  116 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  117 + title: '',
  118 + alt: '',
  119 + imgId: '0',
  120 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d484' +
  121 + '17d0e92b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x' +
  122 + '314/background/d2hpdGU=/position/center/quality/90'
  123 + },
  124 + {
  125 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  126 + title: '',
  127 + alt: '',
  128 + imgId: '0',
  129 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1' +
  130 + 'f77ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/' +
  131 + 'background/d2hpdGU=/position/center/quality/90'
  132 + },
  133 + {
  134 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  135 + title: '',
  136 + alt: '',
  137 + imgId: '0',
  138 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae7868' +
  139 + '8bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/back' +
  140 + 'ground/d2hpdGU=/position/center/quality/90'
  141 + },
  142 + {
  143 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  144 + title: '',
  145 + alt: '',
  146 + imgId: '0',
  147 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e92b' +
  148 + '94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/backgroun' +
  149 + 'd/d2hpdGU=/position/center/quality/90'
  150 + }
  151 + ]
171 }, 152 },
172 { 153 {
173 - isYohood: true 154 + col: 2,
  155 + title: '亮点抢先看',
  156 + list: [
  157 + {
  158 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  159 + title: '',
  160 + alt: '',
  161 + imgId: '0',
  162 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f77' +
  163 + 'ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/bac' +
  164 + 'kground/d2hpdGU=/position/center/quality/90'
  165 + },
  166 + {
  167 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  168 + title: '',
  169 + alt: '',
  170 + imgId: '0',
  171 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae7868' +
  172 + '8bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/bac' +
  173 + 'kground/d2hpdGU=/position/center/quality/90'
  174 + },
  175 + {
  176 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  177 + title: '',
  178 + alt: '',
  179 + imgId: '0',
  180 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e9' +
  181 + '2b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/bac' +
  182 + 'kground/d2hpdGU=/position/center/quality/90'
  183 + },
  184 + {
  185 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  186 + title: '',
  187 + alt: '',
  188 + imgId: '0',
  189 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/0244a127c89c1f77' +
  190 + 'ab47f55891e45be1e6.jpg?imageMogr2/thumbnail/235x314/extent/235x314/bac' +
  191 + 'kground/d2hpdGU=/position/center/quality/90'
  192 + },
  193 + {
  194 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  195 + title: '',
  196 + alt: '',
  197 + imgId: '0',
  198 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/02/08/023f696cf1ae7868' +
  199 + '8bc6c8edeccc480c2c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/bac' +
  200 + 'kground/d2hpdGU=/position/center/quality/90'
  201 + },
  202 + {
  203 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  204 + title: '',
  205 + alt: '',
  206 + imgId: '0',
  207 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/04/03/07/0235b2d48417d0e9' +
  208 + '2b94484d284dca06fc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/bac' +
  209 + 'kground/d2hpdGU=/position/center/quality/90'
  210 + }
  211 + ]
174 } 212 }
175 - ],  
176 - url: '',  
177 - likeUrl: ''  
178 - }, {  
179 - id: 3,  
180 - src: 'http://img12.static.yhbimg.com/goodsimg/2015/03/02/08/02e2d44125e95495e3152aa459fa6b9b0c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
181 - name: 'HALFGIRL 插肩棒球服短裙套装',  
182 - isLike: true,  
183 - price: 478,  
184 - salePrice: 208,  
185 - url: '',  
186 - likeUrl: ''  
187 - }, {  
188 - id: 4,  
189 - src: 'http://img12.static.yhbimg.com/goodsimg/2015/03/03/08/022f25fbe177ee12803c522f04fcce06d0.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',  
190 - name: '黄伟文Wyman X yohood联名商品YYYOHOOD连帽卫衣',  
191 - isLike: false,  
192 - salePrice: 148,  
193 - url: '',  
194 - likeUrl: ''  
195 - }]  
196 - }; 213 + ]
  214 + },
  215 + {
  216 + newArrival: {
  217 + goods: [
  218 + {
  219 + id: 1,
  220 + src: 'http://img11.static.yhbimg.com/goodsimg/2015/03/02/07/01ebfb219e22770ffb0c2' +
  221 + 'c3a2cbb2b4bef.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpd' +
  222 + 'GU=/position/center/quality/90',
  223 + name: 'GAWS DIGI 丛林数码印花拼接卫衣',
  224 + isLike: false,
  225 + price: 1268,
  226 + salePrice: 589,
  227 + tags: [
  228 +
  229 + /*需要显示的放入即可,不需要显示不写*/
  230 + {
  231 + isNew: true
  232 + },
  233 + {
  234 + isSale: true
  235 + },
  236 + {
  237 + isLimit: true
  238 + },
  239 + {
  240 + isYohood: true
  241 + },
  242 + {
  243 + isReNew: true
  244 + }
  245 + ],
  246 + isFew: true, //单独的即将售罄标志,不显示不写
  247 + url: '',
  248 + likeUrl: ''
  249 + },
  250 + {
  251 + id: 2,
  252 + src: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/023d70c59e81cc' +
  253 + 'bfb39404487aaf642da2.jpg?imageMogr2/thumbnail/235x314/extent/235x314/ba' +
  254 + 'ckground/d2hpdGU=/position/center/quality/90',
  255 + name: 'CLOTtee 撞色连帽外套',
  256 + isLike: false,
  257 + price: 488,
  258 + salePrice: 139,
  259 + tags: [
  260 + {
  261 + isNew: true
  262 + },
  263 + {
  264 + isSale: true
  265 + },
  266 + {
  267 + isYohood: true
  268 + }
  269 + ],
  270 + url: '',
  271 + likeUrl: ''
  272 + },
  273 + {
  274 + id: 3,
  275 + src: 'http://img12.static.yhbimg.com/goodsimg/2015/03/02/08/02e2d44125e954' +
  276 + '95e3152aa459fa6b9b0c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/ba' +
  277 + 'ckground/d2hpdGU=/position/center/quality/90',
  278 + name: 'HALFGIRL 插肩棒球服短裙套装',
  279 + isLike: true,
  280 + price: 478,
  281 + salePrice: 208,
  282 + url: '',
  283 + likeUrl: ''
  284 + },
  285 + {
  286 + id: 4,
  287 + src: 'http://img12.static.yhbimg.com/goodsimg/2015/03/03/08/022f25fbe177ee' +
  288 + '12803c522f04fcce06d0.jpg?imageMogr2/thumbnail/235x314/extent/235x314/ba' +
  289 + 'ckground/d2hpdGU=/position/center/quality/90',
  290 + name: '黄伟文Wyman X yohood联名商品YYYOHOOD连帽卫衣',
  291 + isLike: false,
  292 + salePrice: 148,
  293 + url: '',
  294 + likeUrl: ''
  295 + }
  296 + ]
  297 + }
  298 + },
  299 + {
  300 + banner: {
  301 + imgs: [
  302 + {
  303 + url: 'http://www.yohobuy.com/special_8585_0618TEEBOY.html',
  304 + title: '',
  305 + alt: '单个图片',
  306 + imgId: '0',
  307 + src: 'http://img13.static.yhbimg.com/taobaocms/2015/06/17/07/02934d7696b187d2' +
  308 + '60341d31c084eb93cc.jpg'
  309 + }
  310 + ]
  311 + }
  312 + }
  313 + ];
197 case 'newfestivalbrands': 314 case 'newfestivalbrands':
198 return { 315 return {
199 - brandsHeader: [{  
200 - id: 'b1',  
201 - title: '欧美潮牌',  
202 - defaultClass: 'hasunderline',  
203 - }, {  
204 - id: 'b2',  
205 - title: '国潮原创',  
206 - defaultClass: ''  
207 - }, {  
208 - id: 'b3',  
209 - title: '日韩潮牌',  
210 - defaultClass: ''  
211 - }],  
212 - todayBrands: [{  
213 - parentId: 'b1',  
214 - displayClass: 'show',  
215 - todayPic: [{  
216 - url: '',  
217 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
218 - }, {  
219 - url: '',  
220 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
221 - }],  
222 - tomorrowPic: {  
223 - url: '',  
224 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640',  
225 - text: '明日推荐品牌1' 316 + brandsHeader: [
  317 + {
  318 + id: 'b1',
  319 + title: '欧美潮牌',
  320 + defaultClass: 'hasunderline'
  321 + },
  322 + {
  323 + id: 'b2',
  324 + title: '国潮原创',
  325 + defaultClass: ''
  326 + },
  327 + {
  328 + id: 'b3',
  329 + title: '日韩潮牌',
  330 + defaultClass: ''
226 } 331 }
227 - }, {  
228 - parentId: 'b2',  
229 - displayClass: 'hide',  
230 - todayPic: [{  
231 - url: '',  
232 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
233 - }, {  
234 - url: '',  
235 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
236 - }],  
237 - tomorrowPic: {  
238 - url: '',  
239 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640',  
240 - text: '明日推荐品牌2' 332 + ],
  333 + todayBrands: [
  334 + {
  335 + parentId: 'b1',
  336 + displayClass: 'show',
  337 + todayPic: [
  338 + {
  339 + url: '',
  340 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc' +
  341 + '3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  342 + },
  343 + {
  344 + url: '',
  345 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc' +
  346 + '3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  347 + }
  348 + ],
  349 + tomorrowPic: {
  350 + url: '',
  351 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cb' +
  352 + 'c3007d8093af.jpg?imageView/2/w/640/h/640',
  353 + text: '明日推荐品牌1'
  354 + }
  355 + },
  356 + {
  357 + parentId: 'b2',
  358 + displayClass: 'hide',
  359 + todayPic: [
  360 + {
  361 + url: '',
  362 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3' +
  363 + 'cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  364 + },
  365 + {
  366 + url: '',
  367 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3c' +
  368 + 'bc3007d8093af.jpg?imageView/2/w/640/h/640'
  369 + }
  370 + ],
  371 + tomorrowPic: {
  372 + url: '',
  373 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3' +
  374 + 'cbc3007d8093af.jpg?imageView/2/w/640/h/640',
  375 + text: '明日推荐品牌2'
  376 + }
  377 + },
  378 + {
  379 + parentId: 'b3',
  380 + displayClass: 'hide',
  381 + todayPic: [
  382 + {
  383 + url: '',
  384 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc' +
  385 + '3007d8093af.jpg?imageView/2/w/640/h/640'
  386 + },
  387 + {
  388 + url: '',
  389 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc' +
  390 + '3007d8093af.jpg?imageView/2/w/640/h/640'
  391 + }
  392 + ],
  393 + tomorrowPic: {
  394 + url: '',
  395 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007' +
  396 + 'd8093af.jpg?imageView/2/w/640/h/640',
  397 + text: '明日推荐品牌3'
  398 + }
241 } 399 }
242 - }, {  
243 - parentId: 'b3',  
244 - displayClass: 'hide',  
245 - todayPic: [{  
246 - url: '',  
247 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
248 - }, { 400 + ],
  401 + singleBrands: [
  402 + {
249 url: '', 403 url: '',
250 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
251 - }],  
252 - tomorrowPic: { 404 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d' +
  405 + '8093af.jpg?imageView/2/w/640/h/640'
  406 + },
  407 + {
253 url: '', 408 url: '',
254 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640',  
255 - text: '明日推荐品牌3' 409 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d' +
  410 + '8093af.jpg?imageView/2/w/640/h/640'
256 } 411 }
257 - }],  
258 - singleBrands: [{  
259 - url: '',  
260 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
261 - }, {  
262 - url: '',  
263 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
264 - }], 412 + ],
265 singleTomorrowPic: { 413 singleTomorrowPic: {
266 url: '', 414 url: '',
267 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640', 415 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d' +
  416 + '8093af.jpg?imageView/2/w/640/h/640',
268 text: '明日推荐品牌3' 417 text: '明日推荐品牌3'
269 }, 418 },
270 todayBtn: { 419 todayBtn: {
271 link: '' 420 link: ''
272 }, 421 },
273 - brandsContent: [{  
274 - parentId: 'b1',  
275 - displayClass: 'show',  
276 - brandsList: [{  
277 - brandsId: '1',  
278 - pic: [{  
279 - hasWords: {  
280 - words: '太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真' 422 + brandsContent: [
  423 + {
  424 + parentId: 'b1',
  425 + displayClass: 'show',
  426 + brandsList: [
  427 + {
  428 + brandsId: '1',
  429 + pic: [
  430 + {
  431 + hasWords: {
  432 + words: '太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真' +
  433 + '太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真太傻太天真'
  434 + },
  435 + url: '',
  436 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f' +
  437 + '3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  438 + },
  439 + {
  440 + hasWords: {
  441 + words: '很好很强大很好很强大很好很强大很好很强大很好很强大很好很强大很好很强大'
  442 + },
  443 + url: '',
  444 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db84' +
  445 + '88edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  446 + }
  447 + ]
281 }, 448 },
282 - url: '',  
283 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
284 - }, {  
285 - hasWords: {  
286 - words: '很好很强大很好很强大很好很强大很好很强大很好很强大很好很强大很好很强大' 449 + {
  450 + brandsId: '2',
  451 + pic: [
  452 + {
  453 + url: '',
  454 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe' +
  455 + '3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  456 + },
  457 + {
  458 + url: '',
  459 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8' +
  460 + '488edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  461 + }
  462 + ]
287 }, 463 },
288 - url: '',  
289 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
290 - }]  
291 - }, {  
292 - brandsId: '2',  
293 - pic: [{  
294 - url: '',  
295 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
296 - }, {  
297 - url: '',  
298 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
299 - }]  
300 - }, {  
301 - brandsId: '3',  
302 - pic: [{  
303 - url: '',  
304 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
305 - }, {  
306 - url: '',  
307 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
308 - }]  
309 - }]  
310 - }, {  
311 - parentId: 'b2',  
312 - displayClass: 'hide',  
313 - brandsList: [{  
314 - brandsId: '1',  
315 - pic: [{  
316 - url: '',  
317 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
318 - }, {  
319 - url: '',  
320 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
321 - }]  
322 - }, {  
323 - brandsId: '2',  
324 - pic: [{  
325 - url: '',  
326 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
327 - }, {  
328 - url: '',  
329 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
330 - }]  
331 - }, {  
332 - brandsId: '3',  
333 - pic: [{  
334 - url: '',  
335 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
336 - }, {  
337 - url: '',  
338 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
339 - }]  
340 - }]  
341 - }, {  
342 - parentId: 'b3',  
343 - displayClass: 'hide',  
344 - brandsList: [{  
345 - brandsId: '1',  
346 - pic: [{  
347 - url: '',  
348 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
349 - }, {  
350 - url: '',  
351 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
352 - }]  
353 - }, {  
354 - brandsId: '2',  
355 - pic: [{  
356 - url: '',  
357 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
358 - }, {  
359 - url: '',  
360 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
361 - }]  
362 - }, {  
363 - brandsId: '3',  
364 - pic: [{  
365 - url: '',  
366 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
367 - }, {  
368 - url: '',  
369 - img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'  
370 - }]  
371 - }]  
372 - }],  
373 - brandsLogoList: [{  
374 - brandsLogoRow: [{  
375 - showClass: 'logoblack',  
376 - url: '',  
377 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
378 - }, {  
379 - showClass: 'logogrey',  
380 - url: '',  
381 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
382 - }, {  
383 - showClass: 'logoblack',  
384 - url: '',  
385 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
386 - }, {  
387 - showClass: 'logogrey',  
388 - url: '',  
389 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
390 - }, {  
391 - showClass: 'logoblack',  
392 - url: '',  
393 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
394 - }, {  
395 - showClass: 'logogrey',  
396 - url: '',  
397 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
398 - }]  
399 - }, {  
400 - brandsLogoRow: [{  
401 - showClass: 'logogrey',  
402 - url: '',  
403 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
404 - }, {  
405 - showClass: 'logoblack',  
406 - url: '',  
407 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
408 - }, {  
409 - showClass: 'logogrey',  
410 - url: '',  
411 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
412 - }, {  
413 - showClass: 'logoblack',  
414 - url: '',  
415 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
416 - }, {  
417 - showClass: 'logogrey',  
418 - url: '',  
419 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
420 - }, {  
421 - showClass: 'logoblack',  
422 - url: '',  
423 - img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'  
424 - }]  
425 - }] 464 + {
  465 + brandsId: '3',
  466 + pic: [
  467 + {
  468 + url: '',
  469 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe' +
  470 + '3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  471 + },
  472 + {
  473 + url: '',
  474 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33d' +
  475 + 'b8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  476 + }
  477 + ]
  478 + }
  479 + ]
  480 + },
  481 + {
  482 + parentId: 'b2',
  483 + displayClass: 'hide',
  484 + brandsList: [
  485 + {
  486 + brandsId: '1',
  487 + pic: [
  488 + {
  489 + url: '',
  490 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3' +
  491 + 'e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  492 + },
  493 + {
  494 + url: '',
  495 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db848' +
  496 + '8edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  497 + }
  498 + ]
  499 + },
  500 + {
  501 + brandsId: '2',
  502 + pic: [
  503 + {
  504 + url: '',
  505 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe' +
  506 + '3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  507 + },
  508 + {
  509 + url: '',
  510 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33d' +
  511 + 'b8488edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  512 + }
  513 + ]
  514 + },
  515 + {
  516 + brandsId: '3',
  517 + pic: [
  518 + {
  519 + url: '',
  520 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f3' +
  521 + 'e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  522 + },
  523 + {
  524 + url: '',
  525 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db8' +
  526 + '488edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  527 + }
  528 + ]
  529 + }
  530 + ]
  531 + },
  532 + {
  533 + parentId: 'b3',
  534 + displayClass: 'hide',
  535 + brandsList: [
  536 + {
  537 + brandsId: '1',
  538 + pic: [
  539 + {
  540 + url: '',
  541 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3' +
  542 + 'f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  543 + },
  544 + {
  545 + url: '',
  546 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db848' +
  547 + '8edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  548 + }
  549 + ]
  550 + },
  551 + {
  552 + brandsId: '2',
  553 + pic: [
  554 + {
  555 + url: '',
  556 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe3f' +
  557 + '3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  558 + },
  559 + {
  560 + url: '',
  561 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db848' +
  562 + '8edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  563 + }
  564 + ]
  565 + },
  566 + {
  567 + brandsId: '3',
  568 + pic: [
  569 + {
  570 + url: '',
  571 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2fe' +
  572 + '3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  573 + },
  574 + {
  575 + url: '',
  576 + img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/03/13/01a165dd33db84' +
  577 + '88edc741241950a596a8.jpg?imageView/2/w/640/h/640'
  578 + }
  579 + ]
  580 + }
  581 + ]
  582 + }
  583 + ],
  584 + brandsLogoList: [
  585 + {
  586 + brandsLogoRow: [
  587 + {
  588 + showClass: 'logoblack',
  589 + url: '',
  590 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  591 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  592 + },
  593 + {
  594 + showClass: 'logogrey',
  595 + url: '',
  596 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  597 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  598 + },
  599 + {
  600 + showClass: 'logoblack',
  601 + url: '',
  602 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  603 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  604 + },
  605 + {
  606 + showClass: 'logogrey',
  607 + url: '',
  608 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  609 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  610 + },
  611 + {
  612 + showClass: 'logoblack',
  613 + url: '',
  614 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  615 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  616 + },
  617 + {
  618 + showClass: 'logogrey',
  619 + url: '',
  620 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  621 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  622 + }
  623 + ]
  624 + },
  625 + {
  626 + brandsLogoRow: [
  627 + {
  628 + showClass: 'logogrey',
  629 + url: '',
  630 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  631 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  632 + },
  633 + {
  634 + showClass: 'logoblack',
  635 + url: '',
  636 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  637 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  638 + },
  639 + {
  640 + showClass: 'logogrey',
  641 + url: '',
  642 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  643 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  644 + },
  645 + {
  646 + showClass: 'logoblack',
  647 + url: '',
  648 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  649 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  650 + },
  651 + {
  652 + showClass: 'logogrey',
  653 + url: '',
  654 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  655 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  656 + },
  657 + {
  658 + showClass: 'logoblack',
  659 + url: '',
  660 + img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/06/10/014fd517e2f' +
  661 + 'e3f3e0dc3cbc3007d8093af.jpg?imageView/2/w/640/h/640'
  662 + }
  663 + ]
  664 + }
  665 + ]
426 }; 666 };
427 } 667 }
428 }; 668 };
1 @import "../common/good-info", "../common/yoho-header"; 1 @import "../common/good-info", "../common/yoho-header";
2 2
3 .newfestival-container { 3 .newfestival-container {
4 - .newfestival-block {  
5 - margin-bottom: 30rem / $pxConvertRem;  
6 - background-color: #fff; 4 + .newfestival-block {
  5 + margin-bottom: 30rem / $pxConvertRem;
  6 + background-color: #fff;
7 7
8 - } 8 + &:last-child {
  9 + margin-bottom: 0;
  10 + }
  11 + }
9 12
10 - .img-container {  
11 - width: 100%;  
12 - display: block;  
13 - .img {  
14 - width: 100%;  
15 - height: 100%; 13 + .img-container {
  14 + width: 100%;
  15 + display: block;
  16 + .img {
  17 + width: 100%;
  18 + height: 100%;
  19 + }
16 } 20 }
17 - }  
18 21
19 - .new-arrival {  
20 - padding-left: 0 30rem / $pxConvertRem; 22 + .new-arrival {
  23 + padding-left: 0 30rem / $pxConvertRem;
21 24
22 - .new-arrival-header {  
23 - text-align: center;  
24 - height: 70rem / $pxConvertRem;  
25 - .header-text {  
26 - font-size: 28rem / $pxConvertRem;  
27 - color: #9e9e9e;  
28 - line-height: 250%;  
29 - }  
30 - } 25 + .new-arrival-header {
  26 + text-align: center;
  27 + height: 70rem / $pxConvertRem;
  28 + .header-text {
  29 + font-size: 28rem / $pxConvertRem;
  30 + color: #9e9e9e;
  31 + line-height: 250%;
  32 + }
  33 + }
31 34
32 - .new-arrival-content {  
33 - border-top: 1px solid #e0e0e0;  
34 - padding: 20rem / $pxConvertRem 14rem / $pxConvertRem; 35 + .new-arrival-content {
  36 + border-top: 1px solid #e0e0e0;
  37 + padding: 20rem / $pxConvertRem 14rem / $pxConvertRem;
  38 + }
35 } 39 }
36 - }  
37 40
38 - .img-list {  
39 - padding-left: 0 30rem / $pxConvertRem; 41 + .img-list {
  42 + padding-left: 0 30rem / $pxConvertRem;
40 43
41 - .new-arrival-header {  
42 - text-align: center;  
43 - height: 70rem / $pxConvertRem;  
44 - .header-text {  
45 - font-size: 28rem / $pxConvertRem;  
46 - color: #9e9e9e;  
47 - line-height: 250%;  
48 - } 44 + .new-arrival-header {
  45 + text-align: center;
  46 + height: 70rem / $pxConvertRem;
  47 + .header-text {
  48 + font-size: 28rem / $pxConvertRem;
  49 + color: #9e9e9e;
  50 + line-height: 250%;
  51 + }
  52 + }
49 } 53 }
50 - }  
51 -  
52 - .newfestival-recom-3 {  
53 54
54 .newfestival-recom-item { 55 .newfestival-recom-item {
55 - position: relative;  
56 - box-sizing: border-box;  
57 - float: left;  
58 - width: 213.3rem / $pxConvertRem;  
59 - overflow: hidden;  
60 - .img-wrapper {  
61 - top: 0;  
62 - left: 0;  
63 - z-index: 0;  
64 - display: block;  
65 - width: 213.3rem / $pxConvertRem;  
66 - img {  
67 - width: 213.3rem / $pxConvertRem;  
68 - max-height: 100%; 56 + position: relative;
  57 + box-sizing: border-box;
  58 + float: left;
  59 + overflow: hidden;
  60 +
  61 + .img-wrapper {
  62 + top: 0;
  63 + left: 0;
  64 + z-index: 0;
  65 + width: 100%;
  66 + display: block;
  67 +
  68 + img {
  69 + width: 100%;
  70 + max-height: 100%;
  71 + }
69 } 72 }
70 - }  
71 } 73 }
72 - }  
73 74
74 - .newfestival-recom-2 { 75 + .newfestival-recom-4 .newfestival-recom-item {
  76 + width: 160rem / $pxConvertRem;
  77 + }
  78 +
  79 + .newfestival-recom-3 .newfestival-recom-item {
  80 + width: 213.3rem / $pxConvertRem;
  81 + }
75 82
76 - .newfestival-recom-item {  
77 - position: relative;  
78 - box-sizing: border-box;  
79 - float: left;  
80 - width: 320rem / $pxConvertRem;  
81 - .img-wrapper {  
82 - top: 0;  
83 - left: 0;  
84 - z-index: 0;  
85 - display: block; 83 + .newfestival-recom-2 .newfestival-recom-item {
86 width: 320rem / $pxConvertRem; 84 width: 320rem / $pxConvertRem;
87 - img {  
88 - width: 320rem / $pxConvertRem;  
89 - max-height: 100%;  
90 - }  
91 - }  
92 } 85 }
93 - }  
94 -  
95 } 86 }
1 <div class="newfestival-container"> 1 <div class="newfestival-container">
2 {{# data}} 2 {{# data}}
3 -  
4 - {{> newfestival/newfestival_home_slider}}  
5 -  
6 - <div class="newfestival-block"> 3 + {{# slider}}
  4 + {{> newfestival/newfestival_home_slider}}
  5 + {{/ slider}}
7 {{# banner}} 6 {{# banner}}
8 - {{> newfestival/newfestival_home_banner}} 7 + <div class="newfestival-block">
  8 + {{# imgs}}
  9 + {{> newfestival/newfestival_home_banner}}
  10 + {{/ imgs}}
  11 + </div>
9 {{/ banner}} 12 {{/ banner}}
10 - </div>  
11 -  
12 - {{# imageList}}  
13 - {{> newfestival/newfestival_home_imglist}}  
14 - {{/ imageList}}  
15 -  
16 - <div class="newfestival-block">  
17 - {{# banner2}}  
18 - {{> newfestival/newfestival_home_banner}}  
19 - {{/ banner2}}  
20 - </div>  
21 -  
22 - {{> newfestival/newfestival_home_newarrival}}  
23 - 13 + {{# imageList}}
  14 + {{> newfestival/newfestival_home_imglist}}
  15 + {{/ imageList}}
  16 + {{# newArrival}}
  17 + {{> newfestival/newfestival_home_newarrival}}
  18 + {{/ newArrival}}
24 {{/ data}} 19 {{/ data}}
25 </div> 20 </div>
1 -<div class="img-list newfestival-block newfestival-recom-{{column_num}} clearfix"> 1 +<div class="img-list newfestival-block newfestival-recom-{{col}} clearfix">
2 {{# title}} 2 {{# title}}
3 <div class="new-arrival-header"> 3 <div class="new-arrival-header">
4 <span class="header-text"> {{.}}</span> 4 <span class="header-text"> {{.}}</span>
1 <div class="swiper-container newfestival-block"> 1 <div class="swiper-container newfestival-block">
2 <div class="swiper-wrapper"> 2 <div class="swiper-wrapper">
3 - {{# slider}} 3 + {{# imgs}}
4 <div class="swiper-slide"> 4 <div class="swiper-slide">
5 <a href="{{url}}"> 5 <a href="{{url}}">
6 <img src="{{src}}" alt=""> 6 <img src="{{src}}" alt="">
7 </a> 7 </a>
8 </div> 8 </div>
9 - {{/ slider}} 9 + {{/ imgs}}
10 </div> 10 </div>
11 <div class="swiper-pagination"></div> 11 <div class="swiper-pagination"></div>
12 </div> 12 </div>