...
|
...
|
@@ -10,13 +10,525 @@ class BoysController extends AbstractAction |
|
|
|
|
|
public function indexAction()
|
|
|
{
|
|
|
// 频道数据
|
|
|
$channelData = Index::getUserChannelData(0, '1,3', '201504091403001');
|
|
|
$jsondata = "{
|
|
|
headerDownload: {
|
|
|
img: 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',
|
|
|
url: 'http://www.baidu.com'
|
|
|
},
|
|
|
homeHeader: {
|
|
|
searchUrl: ''
|
|
|
},
|
|
|
sideNav: [{
|
|
|
textCn: '男生',
|
|
|
textEn: 'BOYS',
|
|
|
styleClass: 'boys',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '女生',
|
|
|
textEn: 'GIRLS',
|
|
|
styleClass: 'girls',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '潮童',
|
|
|
textEn: 'KIDS',
|
|
|
styleClass: 'kids',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '创意生活',
|
|
|
textEn: 'LIFE STYLE',
|
|
|
styleClass: 'life',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '新品节',
|
|
|
textEn: 'NEW',
|
|
|
styleClass: 'new',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '逛',
|
|
|
textEn: 'TRENDFINDER',
|
|
|
styleClass: 'guang',
|
|
|
subNav: {
|
|
|
list: [{
|
|
|
textCn: '逛',
|
|
|
textEn: 'TrendFinder',
|
|
|
back: true
|
|
|
}, {
|
|
|
textCn: '查看全部',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '只看男生',
|
|
|
textEn: 'Boys',
|
|
|
url: '',
|
|
|
isSelect: true
|
|
|
}, {
|
|
|
textCn: '只看女生',
|
|
|
textEn: 'Girls',
|
|
|
url: ''
|
|
|
}]
|
|
|
}
|
|
|
}],
|
|
|
content: [{
|
|
|
bannerTop: {
|
|
|
list: [{
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
iconsEnter: {
|
|
|
list: [{
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '新品到着'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '全球优选'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '明星潮牌'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '全部品类'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '逛'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '搭配指南'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '潮品推荐'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
text: '折扣精选'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
hotCategory: {
|
|
|
img: 'http://img13.static.yhbimg.com/adpic/2015/05/07/15/020cfde7eb630474916655cc0e290c68e2.jpg?imageView/2/w/640/h/480',
|
|
|
url: 'www.baidu.com',
|
|
|
list: [{
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: '打底衫',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
hotBrandsScroll: {
|
|
|
name: '热门品牌',
|
|
|
list: [{
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}, {
|
|
|
textCn: 'Moussy',
|
|
|
img: 'http://img.alicdn.com/imgextra/i1/2086467111/TB2CsqHdXXXXXaDXpXXXXXXXXXX_!!2086467111.jpg',
|
|
|
url: ''
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
hotBrands: {
|
|
|
name: '热门品牌',
|
|
|
more: 'www.baidu.com',
|
|
|
brands: [{
|
|
|
url: '',
|
|
|
img: 'http://img11.static.yhbimg.com/brandLogo/2014/12/24/17/010c9d590aa72776d6fa9c7b29c0dbf02e.jpg?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center',
|
|
|
name: 'Front Row Shop'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/brandLogo/2014/01/27/11/02760471b3fdea1e82e7abfe9155e8654f.jpg?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center',
|
|
|
name: 'dress lab'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/brandLogo/2014/03/04/15/029db86af0b2902805aabc953627bcbb12.jpg?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center',
|
|
|
name: 'DEVIL NUT'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img11.static.yhbimg.com/brandLogo/2014/11/05/09/0157535787c0ad76cd04756a0351ce5b1f.png?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center',
|
|
|
name: 'casselini'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img10.static.yhbimg.com/brandLogo/2013/07/10/15/0101726da2fcae86fa101dc63583457f1a.jpg?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center',
|
|
|
name: 'haso'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/brandLogo/2014/01/10/15/02e40864fc98561c2aac569e4affa3445a.jpg?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center',
|
|
|
name: 'EVISU'
|
|
|
}],
|
|
|
|
|
|
}
|
|
|
}, {
|
|
|
trendColloaction: {
|
|
|
name: '潮人 ▪ 搭配',
|
|
|
more: '',
|
|
|
leftspan: {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
},
|
|
|
rightspan: {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
},
|
|
|
recommendlist: [{
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
trendTopics: {
|
|
|
name: '潮品 ▪ 话题',
|
|
|
more: '',
|
|
|
list: [{
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
title: '现代裁剪',
|
|
|
time: '2月13日 12:34'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
title: '现代裁剪',
|
|
|
time: '2月13日 12:34'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
|
|
|
title: '现代裁剪',
|
|
|
time: '2月13日 12:34'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
goodsCategory: {
|
|
|
name: '经典裤装',
|
|
|
more: '',
|
|
|
banner: {
|
|
|
list: [{
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}]
|
|
|
},
|
|
|
list: [{
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/04/10/05/029bef1041343ea2e31dc0423f2f176589.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '手表'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/07/09/02271a775d17649860abec4387b4559e26.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '烛台'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/05/19/07/02a269d20ed44803eee33e255fe88d7873.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '围巾'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/06/01/07/02fe94083352435ce53b5d90812cc5bdbd.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '盘子'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/08/07/028db8a2afbe4ecbf37bebc7e98e8e1e80.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '耳机'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
goodsCategory: {
|
|
|
name: '时尚鞋履',
|
|
|
more: '',
|
|
|
banner: {
|
|
|
list: [{
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}]
|
|
|
},
|
|
|
list: [{
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/04/10/05/029bef1041343ea2e31dc0423f2f176589.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '手表'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/07/09/02271a775d17649860abec4387b4559e26.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '烛台'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/05/19/07/02a269d20ed44803eee33e255fe88d7873.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '围巾'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/06/01/07/02fe94083352435ce53b5d90812cc5bdbd.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '盘子'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/08/07/028db8a2afbe4ecbf37bebc7e98e8e1e80.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '耳机'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
goodsCategory: {
|
|
|
name: '潮人配饰',
|
|
|
more: '',
|
|
|
banner: {
|
|
|
list: [{
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}, {
|
|
|
img: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
url: ''
|
|
|
}]
|
|
|
},
|
|
|
list: [{
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/04/10/05/029bef1041343ea2e31dc0423f2f176589.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '手表'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/07/09/02271a775d17649860abec4387b4559e26.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '烛台'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/05/19/07/02a269d20ed44803eee33e255fe88d7873.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '围巾'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/06/01/07/02fe94083352435ce53b5d90812cc5bdbd.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '盘子'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/08/07/028db8a2afbe4ecbf37bebc7e98e8e1e80.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
textCn: '耳机'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
bannerCenter: {
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
|
|
|
url: ''
|
|
|
}
|
|
|
}, {
|
|
|
creativeLife: {
|
|
|
name: '创意生活',
|
|
|
more: '',
|
|
|
url: '',
|
|
|
banner: 'http://img10.static.yhbimg.com/yhb-img01/2015/07/09/18/0119ffceddb0819d36d74b408bd743b4a9.jpg?imageView/2/w/640/h/640',
|
|
|
classify: [{
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/04/10/05/029bef1041343ea2e31dc0423f2f176589.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '手表'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/07/09/02271a775d17649860abec4387b4559e26.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '烛台'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/05/19/07/02a269d20ed44803eee33e255fe88d7873.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '围巾'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/06/01/07/02fe94083352435ce53b5d90812cc5bdbd.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '盘子'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img12.static.yhbimg.com/goodsimg/2015/07/08/07/028db8a2afbe4ecbf37bebc7e98e8e1e80.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '耳机'
|
|
|
}, {
|
|
|
url: '',
|
|
|
img: 'http://img13.static.yhbimg.com/goodsimg/2015/04/22/02/02a1b688b6dafd786f391e0624aea1e93b.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '生活'
|
|
|
}]
|
|
|
}
|
|
|
}, {
|
|
|
plusStar: {
|
|
|
name: 'PLUS 全球优选',
|
|
|
url: '',
|
|
|
img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/13/15/014f7ba48071160053ac3b8f045b9fc264.jpg?imageView/2/w/640/h/640'
|
|
|
}
|
|
|
}, {
|
|
|
bannerCenter: {
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
|
|
|
url: ''
|
|
|
}
|
|
|
}, {
|
|
|
plusStar: {
|
|
|
name: 'STAR 明星潮牌',
|
|
|
url: '',
|
|
|
img: 'http://img11.static.yhbimg.com/yhb-img01/2015/07/13/15/014f7ba48071160053ac3b8f045b9fc264.jpg?imageView/2/w/640/h/640'
|
|
|
}
|
|
|
}, {
|
|
|
bannerCenter: {
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
|
|
|
url: ''
|
|
|
}
|
|
|
}],
|
|
|
maybeLike: {
|
|
|
goods: [{
|
|
|
id: 1,
|
|
|
thumb: 'http://img11.static.yhbimg.com/goodsimg/2015/03/02/07/01ebfb219e22770ffb0c2c3a2cbb2b4bef.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: 'GAWS DIGI 丛林数码印花拼接卫衣',
|
|
|
isLike: false,
|
|
|
price: 1268,
|
|
|
salePrice: 589,
|
|
|
isSale: true,
|
|
|
isFew: true,
|
|
|
isNew: false,
|
|
|
url: ''
|
|
|
}, {
|
|
|
id: 2,
|
|
|
thumb: 'http://img13.static.yhbimg.com/goodsimg/2015/03/03/08/023d70c59e81ccbfb39404487aaf642da2.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: 'CLOTtee 撞色连帽外套',
|
|
|
isLike: false,
|
|
|
price: 488,
|
|
|
salePrice: 139,
|
|
|
isSale: true,
|
|
|
isFew: true,
|
|
|
isNew: false,
|
|
|
url: ''
|
|
|
}, {
|
|
|
id: 3,
|
|
|
thumb: 'http://img12.static.yhbimg.com/goodsimg/2015/03/02/08/02e2d44125e95495e3152aa459fa6b9b0c.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: 'HALFGIRL 插肩棒球服短裙套装',
|
|
|
isLike: true,
|
|
|
price: 478,
|
|
|
salePrice: 208,
|
|
|
isSale: true,
|
|
|
isFew: true,
|
|
|
isNew: false,
|
|
|
url: ''
|
|
|
}, {
|
|
|
id: 4,
|
|
|
thumb: 'http://img12.static.yhbimg.com/goodsimg/2015/03/03/08/022f25fbe177ee12803c522f04fcce06d0.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
name: '黄伟文Wyman X yohood联名商品YYYOHOOD连帽卫衣',
|
|
|
isLike: false,
|
|
|
salePrice: 148,
|
|
|
isSale: false,
|
|
|
isFew: false,
|
|
|
isNew: true,
|
|
|
url: ''
|
|
|
}]
|
|
|
},
|
|
|
bannerBottom: {
|
|
|
img: 'http://img02.yohoboys.com/staticimg/2015/06/24/16/02ee02f1dd11c9103f7cf7995eafdaa605.jpg',
|
|
|
url: ''
|
|
|
},
|
|
|
footer: {
|
|
|
|
|
|
user: {
|
|
|
name: 'xuqi',
|
|
|
url: '',
|
|
|
signoutUrl: ''
|
|
|
}
|
|
|
|
|
|
}
|
|
|
}";
|
|
|
|
|
|
$data = json_decode($jsondata, true);
|
|
|
$this->_view->assign('title', '首页');
|
|
|
$this->_view->display('index', $data);
|
|
|
|
|
|
// // 频道数据
|
|
|
// $channelData = Index::getUserChannelData(0, '1,3', '201504091403001');
|
|
|
|
|
|
echo '<pre>';
|
|
|
print_r($channelData);
|
|
|
// echo '<pre>';
|
|
|
// print_r($channelData);
|
|
|
|
|
|
$this->_view->assign('title', 'YOHO!有货');
|
|
|
$this->_view->display('boys', compact('channelData'));
|
|
|
// $this->_view->assign('title', 'YOHO!有货');
|
|
|
// $this->_view->display('boys', compact('channelData'));
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|