...
|
...
|
@@ -212,6 +212,22 @@ class BoysController extends AbstractAction |
|
|
)
|
|
|
)
|
|
|
);
|
|
|
|
|
|
|
|
|
$imgsrc='http://img11.static.yhbimg.com/goodsimg/2015/10/19/10/01b312c3b7a7efebcd671e73495ff3e306.jpg';
|
|
|
$name_href=array('name'=>'衣服','url'=>'');
|
|
|
$name_href_img=array(
|
|
|
'href' => '',
|
|
|
'img' => $imgsrc,
|
|
|
'name'=>'优显led触控台灯'
|
|
|
);
|
|
|
$name_href_img_price=array(
|
|
|
'href' => '',
|
|
|
'img' => $imgsrc,
|
|
|
'name'=>'优显led触控台灯',
|
|
|
'price'=>'100'
|
|
|
);
|
|
|
|
|
|
$tpldata = array(
|
|
|
'name'=>'潮人配饰 ORNAMENT',
|
|
|
'navs' => array(
|
...
|
...
|
@@ -222,39 +238,15 @@ class BoysController extends AbstractAction |
|
|
)
|
|
|
),
|
|
|
'tplrecommend'=>array(
|
|
|
'keyword'=>array(array('name'=>'工装短裤','img'=>'','url'=>''),array('name'=>'英伦风','img'=>'','url'=>'')),
|
|
|
'category'=>array(array('name'=>'衣服','url'=>''),array('name'=>'裤子','url'=>''),array('name'=>'衣服','url'=>''),array('name'=>'裤子','url'=>''),array('name'=>'衣服','url'=>''),array('name'=>'裤子','url'=>''),array('name'=>'衣服','url'=>''),array('name'=>'裤子','url'=>''),array('name'=>'衣服','url'=>''),array('name'=>'裤子','url'=>''),array('name'=>'衣服','url'=>''),array('name'=>'裤子','url'=>'')),
|
|
|
'brands'=>array(array('name'=>'工装短裤','img'=>'','url'=>''),array('name'=>'英伦风','img'=>'','url'=>'')),
|
|
|
'types'=>array(array('name'=>'工装短裤','img'=>'','url'=>''),array('name'=>'英伦风','img'=>'','url'=>''),array('name'=>'工装短裤','img'=>'','url'=>''),array('name'=>'英伦风','img'=>'','url'=>''),array('name'=>'工装短裤','img'=>'','url'=>''),array('name'=>'英伦风','img'=>'','url'=>'')),
|
|
|
'products'=>array(
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'name'=> '优显led触控台灯'
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'name'=> '优显led触控台灯'
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'name'=> '优显led触控台灯'
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'name'=> '优显led触控台灯'
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'name'=> '优显led触控台灯'
|
|
|
)
|
|
|
)
|
|
|
'keyword'=>array($name_href_img,$name_href_img),
|
|
|
'category'=>array($name_href,$name_href,$name_href,$name_href,$name_href,$name_href,$name_href,$name_href,$name_href,$name_href,$name_href,$name_href),
|
|
|
'brands'=>array($name_href_img,$name_href_img),
|
|
|
'types'=>array($name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img),
|
|
|
'products'=>array($name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img)
|
|
|
)
|
|
|
);
|
|
|
|
|
|
|
|
|
$data = array(
|
|
|
'headerdata' => $headerdata,
|
|
|
'boysHomePage' => true,
|
...
|
...
|
@@ -416,51 +408,10 @@ class BoysController extends AbstractAction |
|
|
array(
|
|
|
'singlehot'=>array(
|
|
|
'name' => '单品 HOT',
|
|
|
'imgHot' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2015/01/30/05/01524c049077911258735906dafd6a4b45.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90'
|
|
|
)
|
|
|
)
|
|
|
'imgHot' => array($name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img,$name_href_img)
|
|
|
)
|
|
|
),
|
|
|
array('adbanner'=>array('href' => '','img'=>'' )),//楼层广告
|
|
|
array('adbanner'=>$name_href_img),//楼层广告
|
|
|
array(
|
|
|
'recommend'=>$tpldata//潮人适配
|
|
|
),
|
...
|
...
|
@@ -504,41 +455,41 @@ class BoysController extends AbstractAction |
|
|
if($pageIndex>=3){
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
$imgsrc='http://img11.static.yhbimg.com/goodsimg/2015/10/19/10/01b312c3b7a7efebcd671e73495ff3e306.jpg';
|
|
|
$result=array(
|
|
|
'code'=>200,
|
|
|
'commodity'=>array(
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'img'=> $imgsrc,
|
|
|
'name'=> '优显led触控台灯',
|
|
|
'price'=> 168,
|
|
|
'state'=> 1 //状态
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'img'=> $imgsrc,
|
|
|
'name'=> '优显led触控台灯',
|
|
|
'price'=> 168,
|
|
|
'state'=> 1 //状态
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'img'=> $imgsrc,
|
|
|
'name'=> '优显led触控台灯',
|
|
|
'price'=> 168,
|
|
|
'state'=> 1 //状态
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'img'=> $imgsrc,
|
|
|
'name'=> '优显led触控台灯',
|
|
|
'price'=> 168,
|
|
|
'state'=> 1 //状态
|
|
|
),
|
|
|
array(
|
|
|
'url' =>'http://www.muji.com.cn/cn/store/goods/4547315967308' ,
|
|
|
'img'=> 'http://img11.static.yhbimg.com/yhb-img01/2015/12/01/02/01c21e6610eefdc5ebd7ad890e49b09c2d.jpg',
|
|
|
'img'=> $imgsrc,
|
|
|
'name'=> '优显led触控台灯',
|
|
|
'price'=> 168,
|
|
|
'state'=> 1 //状态
|
...
|
...
|
|