Showing
1 changed file
with
1275 additions
and
119 deletions
1 | -# 资源位内容管理(按页面显示,从左到右,从上到下) | ||
2 | - | ||
3 | -## 1-1文本 | ||
4 | - | ||
5 | -``` json | ||
6 | -{ | ||
7 | - "template_name": "text", | ||
8 | - "data": { | ||
9 | - "text": "ggdfgd" | ||
10 | - } | ||
11 | -} | ||
12 | - | ||
13 | -``` | ||
14 | - | ||
15 | -## 1-2一张图 | ||
16 | - | ||
17 | -``` json | ||
18 | - { | ||
19 | - "template_name": "singleImage", | ||
20 | - "template_intro": "一张图片", | ||
21 | - "data": { | ||
22 | - "0": { | ||
23 | - "url": {}, | ||
24 | - "alt": "", | ||
25 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/03/01076e3caed758a1c18c91a0e9cae3368f.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
26 | - "imgId": "0" | ||
27 | - } | ||
28 | - } | ||
29 | - | ||
30 | - | ||
31 | -``` | ||
32 | - | ||
33 | -## 1-3添加小图 | ||
34 | - | ||
35 | -``` json | ||
36 | - | ||
37 | - { | ||
38 | - "template_name": "smallPic", | ||
39 | - "data": { | ||
40 | - "0": { | ||
41 | - "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/31/03/022b04df3ecc1d94afddff082d139c6f15.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
42 | - "alt": "", | ||
43 | - "url": {}, | ||
44 | - "imgId": "0" | ||
45 | - } | ||
46 | - } | ||
47 | -} | ||
48 | - | ||
49 | -``` | ||
50 | - | ||
51 | -## 1-4焦点图 | ||
52 | - | ||
53 | -``` json | ||
54 | -{ | ||
55 | - "data": { | ||
56 | - "0": { | ||
57 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/012b04df3ecc1d94afddff082d139c6f15.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
58 | - "alt": "", | ||
59 | - "url": {}, | ||
60 | - "bgColor": "", | ||
61 | - "imgId": "0" | ||
62 | - } | ||
63 | - }, | ||
64 | - "template_name": "focus", | ||
65 | - "template_intro": "焦点图", | ||
66 | - "focus_type": "2" | ||
67 | -} | ||
68 | - | ||
69 | -``` | ||
70 | - | ||
71 | -## 2-1添加商品 | ||
72 | - | ||
73 | -``` json | ||
74 | - | ||
75 | - | ||
76 | -``` | ||
77 | - | ||
78 | - | ||
79 | -## 10-1有序焦点 | ||
80 | - | ||
81 | -``` json | ||
82 | -{ | ||
83 | - "template_name": "debrisSlider", | ||
84 | - "template_intro": "三张左图两张右图多张中间图", | ||
85 | - "data": { | ||
86 | - "big_image": { | ||
87 | - "0": { | ||
88 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/018969288f4245120e7c3870287cce0ff3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
89 | - "url": {}, | ||
90 | - "title": "" | ||
91 | - } | ||
92 | - }, | ||
93 | - "left": { | ||
94 | - "0": { | ||
95 | - "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/31/05/028969288f4245120e7c3870287cce0ff3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
96 | - "title": "", | ||
97 | - "url": {} | ||
98 | - }, | ||
99 | - "1": { | ||
100 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/018969288f4245120e7c3870287cce0ff3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
101 | - "title": "", | ||
102 | - "url": {} | ||
103 | - }, | ||
104 | - "2": { | ||
105 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/019d377b10ce778c4938b3c7e2c63a229a.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
106 | - "title": "", | ||
107 | - "url": {} | ||
108 | - } | ||
109 | - }, | ||
110 | - "right": { | ||
111 | - "0": { | ||
112 | - "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/01bdf3bf1da3405725be763540d6601144.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
113 | - "title": "", | ||
114 | - "url": {} | ||
115 | - } | ||
116 | - } | ||
117 | - } | ||
118 | -} | ||
119 | - | 1 | +# 资源位内容管理(按页面显示,从左到右,从上到下) |
2 | + | ||
3 | +## 1-1文本 | ||
4 | + | ||
5 | +``` json | ||
6 | +{ | ||
7 | + "template_name": "text", | ||
8 | + "data": { | ||
9 | + "text": "ggdfgd" | ||
10 | + } | ||
11 | +} | ||
12 | + | ||
13 | +``` | ||
14 | + | ||
15 | +## 1-2一张图 | ||
16 | + | ||
17 | +``` json | ||
18 | + { | ||
19 | + "template_name": "singleImage", | ||
20 | + "template_intro": "一张图片", | ||
21 | + "data": { | ||
22 | + "0": { | ||
23 | + "url": {}, | ||
24 | + "alt": "", | ||
25 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/03/01076e3caed758a1c18c91a0e9cae3368f.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
26 | + "imgId": "0" | ||
27 | + } | ||
28 | + } | ||
29 | + | ||
30 | + | ||
31 | +``` | ||
32 | + | ||
33 | +## 1-3添加小图 | ||
34 | + | ||
35 | +``` json | ||
36 | + | ||
37 | + { | ||
38 | + "template_name": "smallPic", | ||
39 | + "data": { | ||
40 | + "0": { | ||
41 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/31/03/022b04df3ecc1d94afddff082d139c6f15.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
42 | + "alt": "", | ||
43 | + "url": {}, | ||
44 | + "imgId": "0" | ||
45 | + } | ||
46 | + } | ||
47 | +} | ||
48 | + | ||
49 | +``` | ||
50 | + | ||
51 | +## 1-4焦点图 | ||
52 | + | ||
53 | +``` json | ||
54 | +{ | ||
55 | + "data": { | ||
56 | + "0": { | ||
57 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/012b04df3ecc1d94afddff082d139c6f15.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
58 | + "alt": "", | ||
59 | + "url": {}, | ||
60 | + "bgColor": "", | ||
61 | + "imgId": "0" | ||
62 | + } | ||
63 | + }, | ||
64 | + "template_name": "focus", | ||
65 | + "template_intro": "焦点图", | ||
66 | + "focus_type": "2" | ||
67 | +} | ||
68 | + | ||
69 | +``` | ||
70 | + | ||
71 | +## 2-1添加商品 | ||
72 | + | ||
73 | +``` json | ||
74 | +{ | ||
75 | + "template_name": "goods", | ||
76 | + "template_intro": "添加商品", | ||
77 | + "data": { | ||
78 | + "0": { | ||
79 | + "src": "http://img10.static.yhbimg.com/goodsimg/2015/05/19/07/0128dee5ee03762b49994acba26b33ad4f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
80 | + "id": "51110541" | ||
81 | + }, | ||
82 | + "1": { | ||
83 | + "src": "http://img13.static.yhbimg.com/goodsimg/2015/05/19/07/02bb341824c649e449bb75172838cc2137.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
84 | + "id": "51110539" | ||
85 | + }, | ||
86 | + "2": { | ||
87 | + "src": "http://img10.static.yhbimg.com/goodsimg/2015/05/19/07/0187370daa7c39034032f23dd13d95a978.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
88 | + "id": "51109824" | ||
89 | + } | ||
90 | + } | ||
91 | +} | ||
92 | + | ||
93 | +``` | ||
94 | +## 2-2添加商品组 | ||
95 | + | ||
96 | +``` json | ||
97 | +{ | ||
98 | + "template_name": "goodsGroup", | ||
99 | + "template_intro": "添加商品组", | ||
100 | + "data": { | ||
101 | + "0": { | ||
102 | + "cover": { | ||
103 | + "cover": "http://img13.static.yhbimg.com/goodsimg/2015/05/04/02/02f54fd80f21bdbcace27da14cb851666d.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
104 | + "maxSortId": "1" | ||
105 | + }, | ||
106 | + "list": { | ||
107 | + "0": { | ||
108 | + "src": "http://img13.static.yhbimg.com/goodsimg/2015/05/04/02/02f54fd80f21bdbcace27da14cb851666d.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
109 | + "id": "51102168", | ||
110 | + "maxSortId": "1" | ||
111 | + }, | ||
112 | + "1": { | ||
113 | + "src": "http://img10.static.yhbimg.com/goodsimg/2014/01/24/02/014cae36ab90791386b41ac21be97f989c.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
114 | + "id": "51030042", | ||
115 | + "maxSortId": "1" | ||
116 | + }, | ||
117 | + "2": { | ||
118 | + "src": "http://img10.static.yhbimg.com/goodsimg/2015/05/25/03/01ef97767558fe7241b21aed2a807bdaf9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90", | ||
119 | + "id": "51102158", | ||
120 | + "maxSortId": "1" | ||
121 | + } | ||
122 | + } | ||
123 | + } | ||
124 | + } | ||
125 | +} | ||
126 | + | ||
127 | +``` | ||
128 | + | ||
129 | + | ||
130 | + | ||
131 | +## 2-3图标入口 | ||
132 | + | ||
133 | +``` json | ||
134 | +{ | ||
135 | + "template_name": "appIconList", | ||
136 | + "template_intro": "图标", | ||
137 | + "data": { | ||
138 | + "0": { | ||
139 | + "url": { | ||
140 | + "action": "go.new", | ||
141 | + "url": "http://m.yohobuy.com/product/new" | ||
142 | + }, | ||
143 | + "alt": "新品到着", | ||
144 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/018e99eebcb97395e6909edffddacbd350.png?imageView/{mode}/w/{width}/h/{height}", | ||
145 | + "imgId": "3" | ||
146 | + }, | ||
147 | + "1": { | ||
148 | + "url": { | ||
149 | + "action": "go.plus", | ||
150 | + "url": "http://m.yohobuy.com/" | ||
151 | + }, | ||
152 | + "alt": "潮流优选", | ||
153 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/01103a787e63ef3cbd8035589528df9446.png?imageView/{mode}/w/{width}/h/{height}", | ||
154 | + "imgId": "2" | ||
155 | + }, | ||
156 | + "2": { | ||
157 | + "url": { | ||
158 | + "action": "go.star", | ||
159 | + "url": "http://m.yohobuy.com/" | ||
160 | + }, | ||
161 | + "alt": "明星原创", | ||
162 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/012c614242602fea51e5b4661babfc6063.png?imageView/{mode}/w/{width}/h/{height}", | ||
163 | + "imgId": "6" | ||
164 | + }, | ||
165 | + "3": { | ||
166 | + "url": { | ||
167 | + "action": "go.attention", | ||
168 | + "url": "http://m.yohobuy.com/?actiontype=0" | ||
169 | + }, | ||
170 | + "alt": "全部分类", | ||
171 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/01bb09496dcce3e95ee27437bf6312e38a.png?imageView/{mode}/w/{width}/h/{height}", | ||
172 | + "imgId": "1" | ||
173 | + }, | ||
174 | + "4": { | ||
175 | + "url": { | ||
176 | + "action": "go.guangchannel", | ||
177 | + "url": "http://guang.m.yohobuy.com/?id=1" | ||
178 | + }, | ||
179 | + "alt": "潮流话题", | ||
180 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/01e8c994c13eb06fcc04323220a25f793b.png?imageView/{mode}/w/{width}/h/{height}", | ||
181 | + "imgId": "5" | ||
182 | + }, | ||
183 | + "5": { | ||
184 | + "url": { | ||
185 | + "action": "go.guangchannel", | ||
186 | + "url": "http://guang.m.yohobuy.com?id=2" | ||
187 | + }, | ||
188 | + "alt": "人气搭配", | ||
189 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/019e30c3f9365cd9df4acbccef926215b4.png?imageView/{mode}/w/{width}/h/{height}", | ||
190 | + "imgId": "0" | ||
191 | + }, | ||
192 | + "6": { | ||
193 | + "url": { | ||
194 | + "action": "go.guangchannel", | ||
195 | + "url": "http://guang.m.yohobuy.com/?id=3" | ||
196 | + }, | ||
197 | + "alt": "潮人街拍", | ||
198 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/013f1d6c9ddd5d303fd5ef70771cf8fd78.png?imageView/{mode}/w/{width}/h/{height}", | ||
199 | + "imgId": "7" | ||
200 | + }, | ||
201 | + "7": { | ||
202 | + "url": { | ||
203 | + "action": "go.sale", | ||
204 | + "url": "http://m.yohobuy.com/sale" | ||
205 | + }, | ||
206 | + "alt": "折扣专区", | ||
207 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/04/01/01d4132e9ef22bbd6db65042f481e80230.png?imageView/{mode}/w/{width}/h/{height}", | ||
208 | + "imgId": "4" | ||
209 | + }, | ||
210 | + "8": { | ||
211 | + "url": { | ||
212 | + "action": "go.globalpurchase", | ||
213 | + "url": "http://m.yohobuy.com/" | ||
214 | + }, | ||
215 | + "alt": "全球购", | ||
216 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/25/02/0269cab3de7f91cd66fecff2ac90a8266a.png?imageView/{mode}/w/{width}/h/{height}", | ||
217 | + "imgId": "0" | ||
218 | + }, | ||
219 | + "9": { | ||
220 | + "url": { | ||
221 | + "action": "go.limitpurchase", | ||
222 | + "url": "http://m.yohobuy.com/" | ||
223 | + }, | ||
224 | + "alt": "限定发售", | ||
225 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/10/02/02904d15465d5ce6629eefad6240a1e64a.png?imageView/{mode}/w/{width}/h/{height}", | ||
226 | + "imgId": "0" | ||
227 | + }, | ||
228 | + "10": { | ||
229 | + "url": { | ||
230 | + "action": "go.subchannel", | ||
231 | + "url": "http://m.yohobuy.com/?title=星潮教室&content_code=08a1c799b4029dc453c58db74edb5abf" | ||
232 | + }, | ||
233 | + "alt": "", | ||
234 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/28/08/02420d23641bb4d723fba5e75f219a7caf.png?imageView/{mode}/w/{width}/h/{height}", | ||
235 | + "imgId": "0" | ||
236 | + } | ||
237 | + } | ||
238 | +} | ||
239 | + | ||
240 | +``` | ||
241 | +## 3-1推荐(1T-1L-4R) | ||
242 | + | ||
243 | + | ||
244 | +``` json | ||
245 | +{ | ||
246 | + "template_name": "recommendContentOne", | ||
247 | + "template_intro": "一张大图一个大的推荐和4个小图推荐", | ||
248 | + "data": { | ||
249 | + "title": { | ||
250 | + "name": "潮流上装", | ||
251 | + "more_name": "...", | ||
252 | + "more_url": { | ||
253 | + "action": "go.list", | ||
254 | + "url": "http://list.m.yohobuy.com/?msort=1&gender=1,3&title=潮流上装" | ||
255 | + } | ||
256 | + }, | ||
257 | + "big_image": { | ||
258 | + "0": { | ||
259 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/18/11/018e098ac67e8e4d63851732445cccda04.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
260 | + "url": { | ||
261 | + "action": "go.h5", | ||
262 | + "url": "http://feature.yoho.cn/0118FINALBOY4/index.html?title=棉羽當道&share_id=290" | ||
263 | + }, | ||
264 | + "title": "" | ||
265 | + } | ||
266 | + }, | ||
267 | + "list": { | ||
268 | + "0": { | ||
269 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/19/01/01df48bec89a7f6ceb34f7a0b633a0c2de.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
270 | + "title": "", | ||
271 | + "url": { | ||
272 | + "action": "go.brand", | ||
273 | + "url": "http://preppyelite.m.yohobuy.com/?gender=1,3" | ||
274 | + } | ||
275 | + }, | ||
276 | + "1": { | ||
277 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/19/01/01c45f3c634eb6b307414baecdea6d9b1e.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
278 | + "title": "", | ||
279 | + "url": { | ||
280 | + "action": "go.brand", | ||
281 | + "url": "http://eightguys.m.yohobuy.com/?gender=1,3\n" | ||
282 | + } | ||
283 | + }, | ||
284 | + "2": { | ||
285 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/19/01/01f474aeecbf120c98132d808002ec17aa.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
286 | + "title": "", | ||
287 | + "url": { | ||
288 | + "action": "go.brand", | ||
289 | + "url": "http://ablejeans.m.yohobuy.com/?gender=1,3\n" | ||
290 | + } | ||
291 | + }, | ||
292 | + "3": { | ||
293 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/19/01/01f9eb90ecb6553cdfe5057b050348aa7e.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
294 | + "title": "", | ||
295 | + "url": { | ||
296 | + "action": "go.brand", | ||
297 | + "url": "http://dickies.m.yohobuy.com/?gender=1,3\n" | ||
298 | + } | ||
299 | + }, | ||
300 | + "4": { | ||
301 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/19/01/014d52a2aa792d5c9c5aa0d1d47e32d41f.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
302 | + "title": "", | ||
303 | + "url": { | ||
304 | + "action": "go.brand", | ||
305 | + "url": "http://clottee.m.yohobuy.com/?gender=1,3\n" | ||
306 | + } | ||
307 | + } | ||
308 | + } | ||
309 | + } | ||
310 | +} | ||
311 | + | ||
312 | +``` | ||
313 | + | ||
314 | +## 3-2 推荐(1T-6F) | ||
315 | + | ||
316 | +``` json | ||
317 | +{ | ||
318 | + "template_name": "recommendContentTwo", | ||
319 | + "template_intro": "一张大图和6个小图推荐", | ||
320 | + "data": { | ||
321 | + "title": { | ||
322 | + "name": "发现Lifestyle", | ||
323 | + "more_name": "...", | ||
324 | + "more_url": { | ||
325 | + "action": "go.list", | ||
326 | + "url": "http://search.m.yohobuy.com/?msort=10&title=创意生活" | ||
327 | + } | ||
328 | + }, | ||
329 | + "big_image": { | ||
330 | + "0": { | ||
331 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/15/02/02cdcea70a16d5437e1d42b8f0fc6d2c25.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
332 | + "url": { | ||
333 | + "action": "go.list", | ||
334 | + "url": "http://search.m.yohobuy.com/?msort=10&title=创意生活" | ||
335 | + }, | ||
336 | + "title": "" | ||
337 | + } | ||
338 | + }, | ||
339 | + "list": { | ||
340 | + "0": { | ||
341 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/14/02/012665f277ea2ef6c42799a65754a9823e.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
342 | + "title": "玩具娱乐", | ||
343 | + "url": { | ||
344 | + "action": "go.list", | ||
345 | + "url": "http://search.m.yohobuy.com/?msort=10&misort=280&gender=1,3&channel=4&title=玩具娱乐" | ||
346 | + } | ||
347 | + }, | ||
348 | + "1": { | ||
349 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/14/02/019c27a76913866101eddddf2f738f79ae.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
350 | + "title": "数码3C", | ||
351 | + "url": { | ||
352 | + "action": "go.list", | ||
353 | + "url": "http://search.m.yohobuy.com/?msort=10&misort=103&gender=1,3&channel=4&title=数码3C" | ||
354 | + } | ||
355 | + }, | ||
356 | + "2": { | ||
357 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/14/02/01b963c9aa2f1bcd7b1ab07e752c200385.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
358 | + "title": "美妆", | ||
359 | + "url": { | ||
360 | + "action": "go.list", | ||
361 | + "url": "http://search.m.yohobuy.com/?msort=10&misort=259&gender=1,3&channel=4&title=美妆" | ||
362 | + } | ||
363 | + }, | ||
364 | + "3": { | ||
365 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/14/02/024a9e7a90eedb1d1e76314c3922f5e3c5.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
366 | + "title": "文具", | ||
367 | + "url": { | ||
368 | + "action": "go.list", | ||
369 | + "url": "http://search.m.yohobuy.com/?msort=10&misort=101&gender=1,3&channel=4&title=文具" | ||
370 | + } | ||
371 | + }, | ||
372 | + "4": { | ||
373 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/14/02/01e66164ff43bd3d1252893e4d9b893eed.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
374 | + "title": "居家", | ||
375 | + "url": { | ||
376 | + "action": "go.list", | ||
377 | + "url": "http://search.m.yohobuy.com/?msort=10&misort=266&gender=1,3&channel=4&title=居家" | ||
378 | + } | ||
379 | + }, | ||
380 | + "5": { | ||
381 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/14/02/0289777507f17bafd4c38fc0b359345147.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
382 | + "title": "旅行箱", | ||
383 | + "url": { | ||
384 | + "action": "go.list", | ||
385 | + "url": "http://search.m.yohobuy.com/?msort=7&misort=209&title=旅行箱" | ||
386 | + } | ||
387 | + } | ||
388 | + } | ||
389 | + } | ||
390 | +} | ||
391 | + | ||
392 | +``` | ||
393 | +## 3-3标题广告 | ||
394 | + | ||
395 | +``` json | ||
396 | +{ | ||
397 | + "template_name": "singleNameImage", | ||
398 | + "template_intro": "带标题的图片广告", | ||
399 | + "data": { | ||
400 | + "title": "是打发士大夫", | ||
401 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01dbfe2a5a3e921f0a3184fc94ec33f377.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
402 | + "url": {}, | ||
403 | + "alt": "" | ||
404 | + } | ||
405 | +} | ||
406 | + | ||
407 | +``` | ||
408 | + | ||
409 | +## 4-1 推荐(1T-12F) | ||
410 | + | ||
411 | +``` json | ||
412 | +{ | ||
413 | + "template_name": "recommendContentThree", | ||
414 | + "template_intro": "一张大图12个小图推荐", | ||
415 | + "data": { | ||
416 | + "big_image": { | ||
417 | + "0": { | ||
418 | + "src": "http://img10.static.yhbimg.com/yhb-img01/2015/06/10/12/01eb3d484cf463e43d8b1f413da35b9837.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
419 | + "url": {}, | ||
420 | + "title": "" | ||
421 | + } | ||
422 | + }, | ||
423 | + "list": { | ||
424 | + "0": { | ||
425 | + "src": "http://img10.static.yhbimg.com/yhb-img01/2015/06/10/12/01c0b5c0ea17f4f51cef40625f1948dd59.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
426 | + "title": "", | ||
427 | + "url": {} | ||
428 | + }, | ||
429 | + "1": { | ||
430 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/016e7b44e0f8eae9da7ca32bf03d47fab7.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
431 | + "title": "", | ||
432 | + "url": {} | ||
433 | + }, | ||
434 | + "2": { | ||
435 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01998b5102041bdc12a9bc91d497bf5416.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
436 | + "title": "", | ||
437 | + "url": {} | ||
438 | + }, | ||
439 | + "3": { | ||
440 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/0100262494637ff08ba9a16b598042079e.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
441 | + "title": "", | ||
442 | + "url": {} | ||
443 | + }, | ||
444 | + "4": { | ||
445 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01536fe00e2e347ff52f73da3da25d14d7.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
446 | + "title": "", | ||
447 | + "url": {} | ||
448 | + }, | ||
449 | + "5": { | ||
450 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01ee5f0f42f2ddd97e2c327d64cad9a9a3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
451 | + "title": "", | ||
452 | + "url": {} | ||
453 | + }, | ||
454 | + "6": { | ||
455 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01d246629451d7e74902f7190d2128a354.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
456 | + "title": "", | ||
457 | + "url": {} | ||
458 | + }, | ||
459 | + "7": { | ||
460 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01536c7d19329fc3e37227c02fba74132c.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
461 | + "title": "", | ||
462 | + "url": {} | ||
463 | + }, | ||
464 | + "8": { | ||
465 | + "src": "http://img10.static.yhbimg.com/yhb-img01/2015/06/10/12/01140eedff1bfbc5d3be414b79897ae50b.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
466 | + "title": "", | ||
467 | + "url": {} | ||
468 | + }, | ||
469 | + "9": { | ||
470 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/0198df08c5e6d4918b66ddba593c645fc5.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
471 | + "title": "", | ||
472 | + "url": {} | ||
473 | + }, | ||
474 | + "10": { | ||
475 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01f42516d943d036bbf8e64839af08b62c.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
476 | + "title": "", | ||
477 | + "url": {} | ||
478 | + }, | ||
479 | + "11": { | ||
480 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/06/10/12/01392704e3730a9d3032b2a9a29dc586d3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
481 | + "title": "", | ||
482 | + "url": {} | ||
483 | + } | ||
484 | + } | ||
485 | + } | ||
486 | +} | ||
487 | +``` | ||
488 | + | ||
489 | +## 4-2 超人搭配 | ||
490 | + | ||
491 | +``` json | ||
492 | +{ | ||
493 | + "template_name": "trendsetterCollocation", | ||
494 | + "template_intro": "潮人搭配", | ||
495 | + "data": "{}" | ||
496 | +} | ||
497 | + | ||
498 | +``` | ||
499 | + | ||
500 | +## 4-3 潮品话题 | ||
501 | + | ||
502 | +``` json | ||
503 | + | ||
504 | +{ | ||
505 | + "template_name": "trendgoodsTopic", | ||
506 | + "template_intro": "潮品话题", | ||
507 | + "data": "{}" | ||
508 | +} | ||
509 | + | ||
510 | +``` | ||
511 | + | ||
512 | +## 5-1推荐品牌 | ||
513 | + | ||
514 | +``` json | ||
515 | +{ | ||
516 | + "data": { | ||
517 | + "title": { | ||
518 | + "title": "推荐品牌", | ||
519 | + "param": "", | ||
520 | + "param_value": "" | ||
521 | + }, | ||
522 | + "list": { | ||
523 | + "0": { | ||
524 | + "src": "http://img13.static.yhbimg.com/brandLogo/2015/11/11/02/0255bc4a6ef48f23c6c4ff16f6313c9c4f.png?imageView/{mode}/w/{width}/h/{height}", | ||
525 | + "id": "1082", | ||
526 | + "name": "SIBYL OF NO.17" | ||
527 | + }, | ||
528 | + "1": { | ||
529 | + "src": "http://img10.static.yhbimg.com/brandLogo/2012/08/02/15/01e4740f9f77d0142902face2f3d151109.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
530 | + "id": "296", | ||
531 | + "name": "2%" | ||
532 | + }, | ||
533 | + "2": { | ||
534 | + "src": "http://img10.static.yhbimg.com/brandLogo/2015/11/25/13/01b40a277c7b8913a4a0b777f84134fd50.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
535 | + "id": "1083", | ||
536 | + "name": "MAKE IT & HUNGRY" | ||
537 | + }, | ||
538 | + "3": { | ||
539 | + "src": "http://img13.static.yhbimg.com/brandLogo/2015/12/29/13/0205a164106aa0ab28647649510305b5cc.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
540 | + "id": "1288", | ||
541 | + "name": "PHAIdesign" | ||
542 | + }, | ||
543 | + "4": { | ||
544 | + "src": "http://img11.static.yhbimg.com/brandLogo/2015/12/18/14/014d1e73a407eb33b8ec34e0c79c5b37c9.png?imageView/{mode}/w/{width}/h/{height}", | ||
545 | + "id": "1282", | ||
546 | + "name": "AMY GEE" | ||
547 | + }, | ||
548 | + "5": { | ||
549 | + "src": "http://img11.static.yhbimg.com/brandLogo/2015/12/14/06/0125e7f180d2c8d657e7721ebfe733b43f.png?imageView/{mode}/w/{width}/h/{height}", | ||
550 | + "id": "1306", | ||
551 | + "name": "BLOCCO5" | ||
552 | + }, | ||
553 | + "6": { | ||
554 | + "src": "http://img10.static.yhbimg.com/brandLogo/2015/12/07/10/01fc83dfe48f04f7f9e5025a22f2fa800d.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
555 | + "id": "503", | ||
556 | + "name": "Bravospark" | ||
557 | + }, | ||
558 | + "7": { | ||
559 | + "src": "http://img12.static.yhbimg.com/brandLogo/2016/01/08/11/023bd57058e15c6982dd535cf5280bd569.gif?imageView/{mode}/w/{width}/h/{height}", | ||
560 | + "id": "1200", | ||
561 | + "name": "SSEEROOM" | ||
562 | + }, | ||
563 | + "8": { | ||
564 | + "src": "http://img10.static.yhbimg.com/brandLogo/2016/01/05/15/012c60411769bce43506904f8ea5d027e0.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
565 | + "id": "1009", | ||
566 | + "name": "無二" | ||
567 | + }, | ||
568 | + "9": { | ||
569 | + "src": "http://img11.static.yhbimg.com/brandLogo/2015/12/07/17/01f8846ba9210bc55b46202b7f4611dabf.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
570 | + "id": "4", | ||
571 | + "name": "5CM" | ||
572 | + } | ||
573 | + } | ||
574 | + }, | ||
575 | + "template_name": "customBrands", | ||
576 | + "template_intro": "自定义品牌" | ||
577 | +} | ||
578 | + | ||
579 | +``` | ||
580 | + | ||
581 | + | ||
582 | +## 5-2自定义品牌 | ||
583 | + | ||
584 | +``` json | ||
585 | +{ | ||
586 | + "data": { | ||
587 | + "title": { | ||
588 | + "title": "自定义品牌" | ||
589 | + }, | ||
590 | + "list": { | ||
591 | + "0": { | ||
592 | + "src": "http://img10.static.yhbimg.com/brandLogo/2011/06/26/19/016f21d6a39d5071e1864943253dcdefde.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center", | ||
593 | + "id": "1", | ||
594 | + "name": "004" | ||
595 | + }, | ||
596 | + "1": { | ||
597 | + "src": "http://img10.static.yhbimg.com/brandLogo/2011/06/13/10/01ecc0da4a2c0ce298b70eae8ef880adc8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center", | ||
598 | + "id": "3", | ||
599 | + "name": "3SUMMER" | ||
600 | + }, | ||
601 | + "2": { | ||
602 | + "src": "http://img12.static.yhbimg.com/brandLogo/2011/06/24/11/0258db45c21576719cbd40f744369a43e7.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center", | ||
603 | + "id": "4", | ||
604 | + "name": "5CM" | ||
605 | + }, | ||
606 | + "3": { | ||
607 | + "src": "http://img12.static.yhbimg.com/brandLogo/2011/06/20/20/02b099b0a1fad5f18681dcccbabdbbc0f7.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center", | ||
608 | + "id": "6", | ||
609 | + "name": "ACROSS!" | ||
610 | + } | ||
611 | + } | ||
612 | + }, | ||
613 | + "template_name": "customBrands", | ||
614 | + "template_intro": "自定义品牌" | ||
615 | +} | ||
616 | + | ||
617 | +``` | ||
618 | + | ||
619 | +## 5-3 一个链接 | ||
620 | + | ||
621 | +``` json | ||
622 | + | ||
623 | +{ | ||
624 | + "template_name": "link", | ||
625 | + "template_intro": "一个链接", | ||
626 | + "data": { | ||
627 | + "0": { | ||
628 | + "url": { | ||
629 | + "action": "go.home", | ||
630 | + "url": "http://www.yohobuy.com/" | ||
631 | + } | ||
632 | + } | ||
633 | + } | ||
634 | +} | ||
635 | + | ||
636 | +``` | ||
637 | + | ||
638 | +## 6-1 添加促销 | ||
639 | + | ||
640 | +``` json | ||
641 | +{ | ||
642 | + "template_name": "promotion", | ||
643 | + "template_intro": "促销专区", | ||
644 | + "data": { | ||
645 | + "promotionId": "101" | ||
646 | + } | ||
647 | +} | ||
648 | + | ||
649 | +``` | ||
650 | + | ||
651 | +## 6-2轮播banner | ||
652 | + | ||
653 | +``` json | ||
654 | + | ||
655 | +{ | ||
656 | + "template_name": "carouselBanner", | ||
657 | + "template_intro": "轮播banner", | ||
658 | + "data": { | ||
659 | + "speed": "3", | ||
660 | + "list": { | ||
661 | + "0": { | ||
662 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/12/09/07/019d58b07ac1a34e8d02c5e0e812088ac8.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
663 | + "url": {}, | ||
664 | + "color": "" | ||
665 | + }, | ||
666 | + "1": { | ||
667 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2015/12/09/07/01db5805df6b6125503d19bab883c7034b.png?imageView/{mode}/w/{width}/h/{height}", | ||
668 | + "url": {} | ||
669 | + } | ||
670 | + } | ||
671 | + } | ||
672 | +} | ||
673 | + | ||
674 | +``` | ||
675 | + | ||
676 | +## 6-3 kids品牌 | ||
677 | + | ||
678 | +``` json | ||
679 | + | ||
680 | +{ | ||
681 | + "template_name": "kidsBrands", | ||
682 | + "template_intro": "kids推荐品牌", | ||
683 | + "data": { | ||
684 | + "params": { | ||
685 | + "param": "promotion", | ||
686 | + "paramValue": "", | ||
687 | + "title": "推荐品牌", | ||
688 | + "more": "...", | ||
689 | + "more_url": "{\"action\":\"go.brand\",\"url\":\"\"}" | ||
690 | + }, | ||
691 | + "list": { | ||
692 | + "0": { | ||
693 | + "src": "http://img10.static.yhbimg.com/brandLogo/2011/06/26/19/016f21d6a39d5071e1864943253dcdefde.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
694 | + "title": "004", | ||
695 | + "id": "1" | ||
696 | + }, | ||
697 | + "1": { | ||
698 | + "src": "http://img11.static.yhbimg.com/brandLogo/2014/12/09/14/01c268eeca1437276d8711e6db7746ddf1.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
699 | + "title": "10x1", | ||
700 | + "id": "2" | ||
701 | + }, | ||
702 | + "2": { | ||
703 | + "src": "http://img11.static.yhbimg.com/brandLogo/2015/12/07/17/01f8846ba9210bc55b46202b7f4611dabf.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
704 | + "title": "5CM", | ||
705 | + "id": "4" | ||
706 | + }, | ||
707 | + "3": { | ||
708 | + "src": "http://img11.static.yhbimg.com/brandLogo/2012/06/18/16/01ca1cc30dd111b7a9ffed661aad1149cd.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
709 | + "title": "55DSL", | ||
710 | + "id": "282" | ||
711 | + }, | ||
712 | + "4": { | ||
713 | + "src": "http://img10.static.yhbimg.com/brandLogo/2012/08/02/15/01e4740f9f77d0142902face2f3d151109.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
714 | + "title": "2%", | ||
715 | + "id": "296" | ||
716 | + }, | ||
717 | + "5": { | ||
718 | + "src": "http://img11.static.yhbimg.com/brandLogo/2015/01/19/09/01cbd482029ca1d05d3352f84848617b9a.png?imageView/{mode}/w/{width}/h/{height}", | ||
719 | + "title": "16ÈME NORD", | ||
720 | + "id": "671" | ||
721 | + }, | ||
722 | + "6": { | ||
723 | + "src": "http://img11.static.yhbimg.com/brandLogo/2015/09/02/15/01df4589ec2163be3a9f7a61d7f8ea3cd9.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
724 | + "title": "55°", | ||
725 | + "id": "886" | ||
726 | + } | ||
727 | + } | ||
728 | + } | ||
729 | +} | ||
730 | + | ||
731 | +``` | ||
732 | + | ||
733 | +## 7-1 推荐(L1-RT1-RF2) 暂无 | ||
734 | + | ||
735 | +``` json | ||
736 | + | ||
737 | + | ||
738 | + | ||
739 | +``` | ||
740 | + | ||
741 | +## 7-2 添加楼层 暂无 | ||
742 | + | ||
743 | +``` json | ||
744 | + | ||
745 | + | ||
746 | +``` | ||
747 | + | ||
748 | +## 8-1 推荐(标题+12张图) | ||
749 | + | ||
750 | +``` | ||
751 | +{ | ||
752 | + "template_name": "recommendContentFive", | ||
753 | + "template_intro": "带标题的12个小图推荐", | ||
754 | + "data": { | ||
755 | + "title": { | ||
756 | + "title": "热门品类", | ||
757 | + "is_show": 1 | ||
758 | + }, | ||
759 | + "list": { | ||
760 | + "0": { | ||
761 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/01461ea9fdb73f4c7ae75e483f61e56028.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
762 | + "title": "", | ||
763 | + "url": { | ||
764 | + "action": "go.list", | ||
765 | + "url": "http://search.m.yohobuy.com/?msort=1&misort=20,18&gender=2,3&title=棉羽" | ||
766 | + } | ||
767 | + }, | ||
768 | + "1": { | ||
769 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/08/11/02720af8ddcc86200a72cac5230068ff12.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
770 | + "title": "", | ||
771 | + "url": { | ||
772 | + "action": "go.list", | ||
773 | + "url": "http://list.m.yohobuy.com/?msort=1&misort=21&gender=2,3" | ||
774 | + } | ||
775 | + }, | ||
776 | + "2": { | ||
777 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/011c907b9e69428add64ab06c9b65801de.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
778 | + "title": "", | ||
779 | + "url": { | ||
780 | + "action": "go.list", | ||
781 | + "url": "http://list.m.yohobuy.com/?msort=1&misort=257&gender=2,3" | ||
782 | + } | ||
783 | + }, | ||
784 | + "3": { | ||
785 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/08/11/02c2e4ade5678ffc9fb1c838ef2ac2bfe0.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
786 | + "title": "", | ||
787 | + "url": { | ||
788 | + "action": "go.list", | ||
789 | + "url": "http://list.m.yohobuy.com/?gender=2,3&msort=1&misort=16" | ||
790 | + } | ||
791 | + }, | ||
792 | + "4": { | ||
793 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/08/11/020739c33b80cbe850ac3f4b27e7605026.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
794 | + "title": "", | ||
795 | + "url": { | ||
796 | + "action": "go.list", | ||
797 | + "url": "http://list.m.yohobuy.com/?gender=2,3&msort=1&misort=22" | ||
798 | + } | ||
799 | + }, | ||
800 | + "5": { | ||
801 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/017fb7b776a4cf2efbebbb266bb13a333b.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
802 | + "title": "", | ||
803 | + "url": { | ||
804 | + "action": "go.list", | ||
805 | + "url": "http://list.m.yohobuy.com/?msort=4&misort=31&gender=2,3" | ||
806 | + } | ||
807 | + }, | ||
808 | + "6": { | ||
809 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/0159dbef22106d0620371cc78cbc86f76a.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
810 | + "title": "", | ||
811 | + "url": { | ||
812 | + "action": "go.list", | ||
813 | + "url": "http://list.m.yohobuy.com/?msort=3&misort=27&gender=2,3" | ||
814 | + } | ||
815 | + }, | ||
816 | + "7": { | ||
817 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/08/11/02d98a53b3dcf4f62fbf80a2c40335aa69.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
818 | + "title": "", | ||
819 | + "url": { | ||
820 | + "action": "go.list", | ||
821 | + "url": "http://list.m.yohobuy.com/?gender=2,3&msort=3&misort=26" | ||
822 | + } | ||
823 | + }, | ||
824 | + "8": { | ||
825 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/0163dad8ffad34eb0347aca08306ae35cb.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
826 | + "title": "", | ||
827 | + "url": { | ||
828 | + "action": "go.list", | ||
829 | + "url": "http://list.m.yohobuy.com/?gender=2,3&msort=6&misort=44" | ||
830 | + } | ||
831 | + }, | ||
832 | + "9": { | ||
833 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/019593ae8bd9e59f793822baeddf6aed30.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
834 | + "title": "", | ||
835 | + "url": { | ||
836 | + "action": "go.list", | ||
837 | + "url": "http://list.m.yohobuy.com/?msort=6&misort=45&gender=2,3" | ||
838 | + } | ||
839 | + }, | ||
840 | + "10": { | ||
841 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/08/11/02eb6e044580cdf41ab463f3e95ec5b5c7.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
842 | + "title": "", | ||
843 | + "url": { | ||
844 | + "action": "go.list", | ||
845 | + "url": "http://list.m.yohobuy.com/?gender=2,3&msort=8&misort=60" | ||
846 | + } | ||
847 | + }, | ||
848 | + "11": { | ||
849 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/08/11/018150ad61caf58a2b18d23487e6a9cc3b.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
850 | + "title": "", | ||
851 | + "url": { | ||
852 | + "action": "go.list", | ||
853 | + "url": "http://list.m.yohobuy.com/?gender=2,3&msort=7&misort=49&title=双肩包" | ||
854 | + } | ||
855 | + } | ||
856 | + } | ||
857 | + } | ||
858 | +} | ||
859 | + | ||
860 | + | ||
861 | +``` | ||
862 | + | ||
863 | + | ||
864 | +## 8-2文本导航 | ||
865 | + | ||
866 | +``` json | ||
867 | +{ | ||
868 | + "template_name": "textNav", | ||
869 | + "template_intro": "文本链接", | ||
870 | + "data": { | ||
871 | + "0": { | ||
872 | + "name": "文本导航", | ||
873 | + "url": { | ||
874 | + "action": "go.brand", | ||
875 | + "url": "http://yohobuy.com/" | ||
876 | + } | ||
877 | + } | ||
878 | + } | ||
879 | +} | ||
880 | + | ||
881 | +``` | ||
882 | + | ||
883 | + | ||
884 | +## 8-3图片列表 | ||
885 | + | ||
886 | +``` json | ||
887 | +{ | ||
888 | + "template_name": "imageList", | ||
889 | + "data": { | ||
890 | + "title": { | ||
891 | + "title": "", | ||
892 | + "column_num": "", | ||
893 | + "is_show_name": "N" | ||
894 | + }, | ||
895 | + "list": { | ||
896 | + "0": { | ||
897 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/30/07/01e746c44d251e58f10208fbf545ee65d1.png?imageView/{mode}/w/{width}/h/{height}", | ||
898 | + "alt": "", | ||
899 | + "url": {}, | ||
900 | + "imgId": "0" | ||
901 | + }, | ||
902 | + "1": { | ||
903 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/30/07/012db48b78475103b82e67d627b205bb3d.png?imageView/{mode}/w/{width}/h/{height}", | ||
904 | + "alt": "", | ||
905 | + "url": {}, | ||
906 | + "imgId": "0" | ||
907 | + }, | ||
908 | + "2": { | ||
909 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/30/07/02e746c44d251e58f10208fbf545ee65d1.png?imageView/{mode}/w/{width}/h/{height}", | ||
910 | + "alt": "", | ||
911 | + "url": {}, | ||
912 | + "imgId": "0" | ||
913 | + }, | ||
914 | + "3": { | ||
915 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/30/07/022db48b78475103b82e67d627b205bb3d.png?imageView/{mode}/w/{width}/h/{height}", | ||
916 | + "alt": "", | ||
917 | + "url": {}, | ||
918 | + "imgId": "0" | ||
919 | + } | ||
920 | + } | ||
921 | + } | ||
922 | +} | ||
923 | + | ||
924 | +``` | ||
925 | + | ||
926 | +## 9-1 标题标签 暂无 | ||
927 | + | ||
928 | +## 9-2 编辑推荐 暂无 | ||
929 | + | ||
930 | + | ||
931 | + | ||
932 | +## 9-3 热门品类 | ||
933 | + | ||
934 | +``` json | ||
935 | +{ | ||
936 | + "template_name": "hotCategory", | ||
937 | + "template_intro": "热门品类", | ||
938 | + "data": { | ||
939 | + "title": { | ||
940 | + "name": "潮流上装", | ||
941 | + "more_name": "MORE", | ||
942 | + "more_url": { | ||
943 | + "action": "go.list", | ||
944 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1" | ||
945 | + } | ||
946 | + }, | ||
947 | + "blocks": { | ||
948 | + "0": { | ||
949 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/17/01/01f0474d3510ccea1073de420a1dd7cba6.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
950 | + "title": "", | ||
951 | + "url": { | ||
952 | + "action": "go.list", | ||
953 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=18" | ||
954 | + } | ||
955 | + }, | ||
956 | + "1": { | ||
957 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/17/01/01a3dec72b693c9ea2593994cc1db2bca7.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
958 | + "title": "", | ||
959 | + "url": { | ||
960 | + "action": "go.list", | ||
961 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=3&misort=27" | ||
962 | + } | ||
963 | + }, | ||
964 | + "2": { | ||
965 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/17/01/015f8f56fd5d9eb055ed52d3227ca06bae.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
966 | + "title": "", | ||
967 | + "url": { | ||
968 | + "action": "go.list", | ||
969 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=6&misort=45" | ||
970 | + } | ||
971 | + } | ||
972 | + }, | ||
973 | + "list": { | ||
974 | + "0": { | ||
975 | + "url": { | ||
976 | + "action": "go.list", | ||
977 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=18,20" | ||
978 | + }, | ||
979 | + "name": "御寒必备" | ||
980 | + }, | ||
981 | + "1": { | ||
982 | + "url": { | ||
983 | + "action": "go.list", | ||
984 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=18" | ||
985 | + }, | ||
986 | + "name": "羽绒服" | ||
987 | + }, | ||
988 | + "2": { | ||
989 | + "url": { | ||
990 | + "action": "go.list", | ||
991 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=20" | ||
992 | + }, | ||
993 | + "name": "棉衣" | ||
994 | + }, | ||
995 | + "3": { | ||
996 | + "url": { | ||
997 | + "action": "go.list", | ||
998 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=22" | ||
999 | + }, | ||
1000 | + "name": "大衣/风衣" | ||
1001 | + }, | ||
1002 | + "4": { | ||
1003 | + "url": { | ||
1004 | + "action": "go.list", | ||
1005 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=226" | ||
1006 | + }, | ||
1007 | + "name": "防风外套" | ||
1008 | + }, | ||
1009 | + "5": { | ||
1010 | + "url": { | ||
1011 | + "action": "go.list", | ||
1012 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=257" | ||
1013 | + }, | ||
1014 | + "name": "毛衣/针织" | ||
1015 | + }, | ||
1016 | + "6": { | ||
1017 | + "url": { | ||
1018 | + "action": "go.list", | ||
1019 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=16" | ||
1020 | + }, | ||
1021 | + "name": "卫衣" | ||
1022 | + }, | ||
1023 | + "7": { | ||
1024 | + "url": { | ||
1025 | + "action": "go.list", | ||
1026 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=21 " | ||
1027 | + }, | ||
1028 | + "name": "夹克" | ||
1029 | + }, | ||
1030 | + "8": { | ||
1031 | + "url": { | ||
1032 | + "action": "go.list", | ||
1033 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=12" | ||
1034 | + }, | ||
1035 | + "name": "衬衫" | ||
1036 | + }, | ||
1037 | + "9": { | ||
1038 | + "url": { | ||
1039 | + "action": "go.list", | ||
1040 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&style=991,992" | ||
1041 | + }, | ||
1042 | + "name": "趣味街头" | ||
1043 | + }, | ||
1044 | + "10": { | ||
1045 | + "url": { | ||
1046 | + "action": "go.list", | ||
1047 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&style=1108,999" | ||
1048 | + }, | ||
1049 | + "name": "复古学院" | ||
1050 | + }, | ||
1051 | + "11": { | ||
1052 | + "url": { | ||
1053 | + "action": "go.list", | ||
1054 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1" | ||
1055 | + }, | ||
1056 | + "name": "MORE" | ||
1057 | + } | ||
1058 | + }, | ||
1059 | + "imgs": { | ||
1060 | + "0": { | ||
1061 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/01/15/02/017e9ca56a3a4f1a3a2e28b9cd2ab8fd4f.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1062 | + "title": "", | ||
1063 | + "url": { | ||
1064 | + "action": "go.list", | ||
1065 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&misort=20" | ||
1066 | + } | ||
1067 | + }, | ||
1068 | + "1": { | ||
1069 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/19/01/026b8f2af96255d17169485fcbcd4eb14c.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1070 | + "title": "", | ||
1071 | + "url": { | ||
1072 | + "action": "go.brand", | ||
1073 | + "url": "http://lalabobo.yohobuy.com/?gender=2,3\n" | ||
1074 | + } | ||
1075 | + }, | ||
1076 | + "2": { | ||
1077 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/19/01/02d37d6bd9299ed86d1b9161552453c650.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1078 | + "title": "", | ||
1079 | + "url": { | ||
1080 | + "action": "go.brand", | ||
1081 | + "url": "http://ohmygirl.yohobuy.com/?gender=2,3\n" | ||
1082 | + } | ||
1083 | + }, | ||
1084 | + "3": { | ||
1085 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/19/01/0258de677ffcca2dca7bb533f330b86350.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1086 | + "title": "", | ||
1087 | + "url": { | ||
1088 | + "action": "go.brand", | ||
1089 | + "url": "http://intotherainbow.yohobuy.com/?gender=2,3\n" | ||
1090 | + } | ||
1091 | + }, | ||
1092 | + "4": { | ||
1093 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/19/01/02077314bde4d45eddf13b424d07bdb7ad.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1094 | + "title": "", | ||
1095 | + "url": { | ||
1096 | + "action": "go.brand", | ||
1097 | + "url": "http://dresslab.yohobuy.com/?gender=2,3\n" | ||
1098 | + } | ||
1099 | + }, | ||
1100 | + "5": { | ||
1101 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/19/01/0287d6426f0a99bdfa081a811550c910bc.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1102 | + "title": "", | ||
1103 | + "url": { | ||
1104 | + "action": "go.brand", | ||
1105 | + "url": "http://2percent.yohobuy.com/?gender=2,3\n" | ||
1106 | + } | ||
1107 | + }, | ||
1108 | + "6": { | ||
1109 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/01/19/01/02f639de49d79ece0cf86a2f214be781da.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1110 | + "title": "", | ||
1111 | + "url": { | ||
1112 | + "action": "go.brand", | ||
1113 | + "url": "http://joyrich.yohobuy.com/?gender=2,3\n" | ||
1114 | + } | ||
1115 | + } | ||
1116 | + } | ||
1117 | + } | ||
1118 | +} | ||
1119 | + | ||
1120 | +``` | ||
1121 | + | ||
1122 | + | ||
1123 | +## 10-1有序焦点 | ||
1124 | + | ||
1125 | +``` json | ||
1126 | +{ | ||
1127 | + "template_name": "debrisSlider", | ||
1128 | + "template_intro": "三张左图两张右图多张中间图", | ||
1129 | + "data": { | ||
1130 | + "big_image": { | ||
1131 | + "0": { | ||
1132 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/018969288f4245120e7c3870287cce0ff3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1133 | + "url": {}, | ||
1134 | + "title": "" | ||
1135 | + } | ||
1136 | + }, | ||
1137 | + "left": { | ||
1138 | + "0": { | ||
1139 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2016/03/31/05/028969288f4245120e7c3870287cce0ff3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1140 | + "title": "", | ||
1141 | + "url": {} | ||
1142 | + }, | ||
1143 | + "1": { | ||
1144 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/018969288f4245120e7c3870287cce0ff3.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1145 | + "title": "", | ||
1146 | + "url": {} | ||
1147 | + }, | ||
1148 | + "2": { | ||
1149 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/019d377b10ce778c4938b3c7e2c63a229a.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1150 | + "title": "", | ||
1151 | + "url": {} | ||
1152 | + } | ||
1153 | + }, | ||
1154 | + "right": { | ||
1155 | + "0": { | ||
1156 | + "src": "http://img11.static.yhbimg.com/yhb-img01/2016/03/31/05/01bdf3bf1da3405725be763540d6601144.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1157 | + "title": "", | ||
1158 | + "url": {} | ||
1159 | + } | ||
1160 | + } | ||
1161 | + } | ||
1162 | +} | ||
1163 | + | ||
1164 | +``` | ||
1165 | + | ||
1166 | +## 10-2 新人专享 | ||
1167 | + | ||
1168 | +``` json | ||
1169 | + | ||
1170 | +{ | ||
1171 | + "template_name": "newUserFloor", | ||
1172 | + "template_intro": "新人专享", | ||
1173 | + "data": { | ||
1174 | + "title": { | ||
1175 | + "name": "新客专享", | ||
1176 | + "more_name": "...", | ||
1177 | + "more_url": { | ||
1178 | + "action": "go.activitytemplate", | ||
1179 | + "url": "http://m.yohobuy.com?template_id=30&title=新人&type=1" | ||
1180 | + }, | ||
1181 | + "active_id": "30" | ||
1182 | + }, | ||
1183 | + "banner_image": { | ||
1184 | + "0": { | ||
1185 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2015/12/22/03/0272d31275119e3ef7319fbee735d8bf21.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1186 | + "url": { | ||
1187 | + "action": "go.h5", | ||
1188 | + "url": "http://huodong.m.yohobuy.com/cuxiao/coupon/newuser3" | ||
1189 | + }, | ||
1190 | + "title": "" | ||
1191 | + } | ||
1192 | + } | ||
1193 | + } | ||
1194 | +} | ||
1195 | + | ||
1196 | +``` | ||
1197 | + | ||
1198 | +## 10-3 图片广告 | ||
1199 | + | ||
1200 | +``` json | ||
1201 | + | ||
1202 | +{ | ||
1203 | + "template_name": "singleNameImage", | ||
1204 | + "template_intro": "带标题的图片广告", | ||
1205 | + "data": { | ||
1206 | + "title": "暖冬新品到着", | ||
1207 | + "src": "http://img12.static.yhbimg.com/yhb-img01/2015/11/25/02/026fd3277e19315508a190e1bf687fd60c.jpg?imageView/{mode}/w/{width}/h/{height}", | ||
1208 | + "url": { | ||
1209 | + "action": "go.list", | ||
1210 | + "url": "http://list.yohobuy.com/?gender=2,3&msort=1&order=s_t_desc" | ||
1211 | + }, | ||
1212 | + "alt": "" | ||
1213 | + } | ||
1214 | +} | ||
1215 | + | ||
1216 | +``` | ||
1217 | + | ||
1218 | +## 11-1自定义参数 | ||
1219 | + | ||
1220 | +``` json | ||
1221 | +{ | ||
1222 | + "template_name": "paramsGroup", | ||
1223 | + "template_intro": "参数集合", | ||
1224 | + "data": { | ||
1225 | + "title": "发现全球潮流好物", | ||
1226 | + "more": "", | ||
1227 | + "more_url": "", | ||
1228 | + "list": { | ||
1229 | + "0": { | ||
1230 | + "title": "最新", | ||
1231 | + "params": "order=s_t_desc" | ||
1232 | + }, | ||
1233 | + "1": { | ||
1234 | + "title": "男装", | ||
1235 | + "params": "order=s_t_desc&msort=85,86,87,88,89,90,91,92,93,94,95,96&yh_channel=1" | ||
1236 | + }, | ||
1237 | + "2": { | ||
1238 | + "title": "女装", | ||
1239 | + "params": "order=s_t_desc&msort=97,98,90,85,86&yh_channel=2" | ||
1240 | + }, | ||
1241 | + "3": { | ||
1242 | + "title": "鞋靴", | ||
1243 | + "params": "order=s_t_desc&msort=110,111,112,113,114&yh_channel=1" | ||
1244 | + }, | ||
1245 | + "4": { | ||
1246 | + "title": "包类", | ||
1247 | + "params": "order=s_t_desc&msort=115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130" | ||
1248 | + }, | ||
1249 | + "5": { | ||
1250 | + "title": "裤装", | ||
1251 | + "params": "order=s_t_desc&msort=99,100,101,102,103,104" | ||
1252 | + } | ||
1253 | + } | ||
1254 | + } | ||
1255 | +} | ||
1256 | + | ||
1257 | + | ||
1258 | +``` | ||
1259 | + | ||
1260 | +## 11-2自定义参数图片 暂无 | ||
1261 | + | ||
1262 | +``` json | ||
1263 | + | ||
1264 | + | ||
1265 | +``` | ||
1266 | + | ||
1267 | +## 11-3站内公告 | ||
1268 | + | ||
1269 | +``` json | ||
1270 | + | ||
1271 | +{ | ||
1272 | + "template_name": "announcement", | ||
1273 | + "template_intro": "站内公告" | ||
1274 | +} | ||
1275 | + | ||
120 | ``` | 1276 | ``` |
-
Please register or login to post a comment