...
|
...
|
@@ -128,26 +128,6 @@ class Index1Controller extends AbstractAction |
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'Adidas Originals'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '鬼洗'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '金银帝国Imperial Taels'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'F.L.Y.D'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'Tapenade特芙娜'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'Adidas Originals'
|
|
|
)
|
|
|
),
|
|
|
'brandIndex' => array(
|
...
|
...
|
@@ -310,8 +290,6 @@ class Index1Controller extends AbstractAction |
|
|
'href' => ''
|
|
|
)
|
|
|
),
|
|
|
'fivePerLine' => true,
|
|
|
'sixPerLineHref' => '',
|
|
|
'countPerPage' => '120',
|
|
|
'pageCounts' => array(
|
|
|
array(
|
...
|
...
|
@@ -330,8 +308,10 @@ class Index1Controller extends AbstractAction |
|
|
'curPage' => 1,
|
|
|
'pageCount' => 30,
|
|
|
'nextHref' => 'hello'
|
|
|
)
|
|
|
),
|
|
|
// 无搜索结果字段
|
|
|
// 'keyWord' => '123'
|
|
|
// 'searchActionUrl' => ''
|
|
|
'goods' => array(
|
|
|
0 => array(
|
|
|
'tags' => array(
|
...
|
...
|
@@ -391,7 +371,14 @@ class Index1Controller extends AbstractAction |
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'hasNextPage' => array(
|
|
|
'href' => '',
|
|
|
'src' => 'http://img10.static.yhbimg.com/product/2014/01/15/11/01fa01614784f6239760f1b749663016f1.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
'totalCount' => '2273',
|
|
|
'pager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="ifont10">></span></a>'
|
|
|
),
|
|
|
);
|
|
|
$this->_view->display('search', $data);
|
|
|
}
|
...
|
...
|
@@ -785,6 +772,12 @@ class Index1Controller extends AbstractAction |
|
|
'salePrice' => '899'
|
|
|
)
|
|
|
),
|
|
|
'hasNextPage' => array(
|
|
|
'href' => '',
|
|
|
'src' => 'http://img10.static.yhbimg.com/product/2014/01/15/11/01fa01614784f6239760f1b749663016f1.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
'leftContent' => array(
|
|
|
array(
|
|
|
'allSort' => array(
|
|
|
'updateNum' => 145,
|
|
|
'list' => array(
|
...
|
...
|
@@ -841,9 +834,11 @@ class Index1Controller extends AbstractAction |
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'advNav' => array(
|
|
|
'advNavTitle' => 'AAAA',
|
|
|
array(
|
|
|
'picLink' => array(
|
|
|
'title' => 'AAAA',
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
...
|
...
|
@@ -854,7 +849,9 @@ class Index1Controller extends AbstractAction |
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'advPic' => array(
|
|
|
'advPicTitle' => false,
|
|
|
'list' => array(
|
...
|
...
|
@@ -867,7 +864,9 @@ class Index1Controller extends AbstractAction |
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'newSales' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
...
|
...
|
@@ -892,7 +891,9 @@ class Index1Controller extends AbstractAction |
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'allDiscount' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
...
|
...
|
@@ -914,454 +915,625 @@ class Index1Controller extends AbstractAction |
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'totalCount' => '2259',
|
|
|
'pager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="iconfont">></span></a>',
|
|
|
'latestWalk' => array(
|
|
|
array(
|
|
|
'img' => 'http://img11.static.yhbimg.com/goodsimg/2015/08/24/11/018fd5cbe604b37ea35336257fcbff8114.jpg?imageMogr2/thumbnail/195x260/extent/195x260/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'Life·After Life 牛角扣夹棉连帽大衣(M51款)【吴亦凡亲身试着】',
|
|
|
'marketPrice' => '939',
|
|
|
'salePrice' => '679'
|
|
|
),
|
|
|
array(
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2014/11/05/08/0110a09053658b079265a553ee20a5779d.jpg?imageMogr2/thumbnail/195x260/extent/195x260/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'th:字母撞色毛衣',
|
|
|
'marketPrice' => '698',
|
|
|
'salePrice' => '209'
|
|
|
),
|
|
|
array(
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2014/11/05/08/0110a09053658b079265a553ee20a5779d.jpg?imageMogr2/thumbnail/195x260/extent/195x260/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'th:字母撞色毛衣',
|
|
|
'marketPrice' => '698',
|
|
|
'salePrice' => '209'
|
|
|
),
|
|
|
array(
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2014/11/05/08/0110a09053658b079265a553ee20a5779d.jpg?imageMogr2/thumbnail/195x260/extent/195x260/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'th:字母撞色毛衣',
|
|
|
'marketPrice' => '698',
|
|
|
'salePrice' => '209'
|
|
|
),
|
|
|
array(
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2014/11/05/08/0110a09053658b079265a553ee20a5779d.jpg?imageMogr2/thumbnail/195x260/extent/195x260/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'th:字母撞色毛衣',
|
|
|
'marketPrice' => '698',
|
|
|
'salePrice' => '209'
|
|
|
),
|
|
|
array(
|
|
|
'img' => 'http://img10.static.yhbimg.com/goodsimg/2014/11/05/08/0110a09053658b079265a553ee20a5779d.jpg?imageMogr2/thumbnail/195x260/extent/195x260/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'th:字母撞色毛衣',
|
|
|
'marketPrice' => '698',
|
|
|
'salePrice' => '209'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('list', $data);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 获取商品颜色
|
|
|
/**
|
|
|
* new sale
|
|
|
*/
|
|
|
public function productColorAction()
|
|
|
public function newSaleAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
'productListPage' => true,
|
|
|
'newSale' => array(
|
|
|
'pathNav' => array(
|
|
|
array(
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html',
|
|
|
'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90'
|
|
|
'href' => 'new.yohobuy.com/girls',
|
|
|
'name' => 'GRILS首页'
|
|
|
),
|
|
|
array(
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html',
|
|
|
'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90'
|
|
|
'href' => '/?sort=1',
|
|
|
'name' => '新品到着'
|
|
|
)
|
|
|
),
|
|
|
);
|
|
|
|
|
|
$this->echoJson($data);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 热销排行
|
|
|
*/
|
|
|
public function hotrankAction() {
|
|
|
$data = array(
|
|
|
'hotrankPage' => true,
|
|
|
'hotrank' => array(
|
|
|
'leftContent' => array(
|
|
|
array(
|
|
|
'slide' => array(
|
|
|
'allSort' => array(
|
|
|
'updateNum' => 145,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
'name' => '裙装',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
'name' => '裙装BBB',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'popular' => array(
|
|
|
'name' => '人气单品',
|
|
|
'picLink' => array(
|
|
|
'title' => 'AAAA',
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '1'
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '2'
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '3'
|
|
|
'advPic' => array(
|
|
|
'advPicTitle' => false,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '4'
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '5'
|
|
|
'newSales' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '6'
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '7'
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '8'
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '9'
|
|
|
'allDiscount' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '1~3折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img13.static.yhbimg.com/goodsimg/2014/09/16/07/027e03e45e3e88db0adbf6255671546a0b.jpg?imageMogr2/thumbnail/378x504/extent/378x504/background/d2hpdGU=/position/center/quality/90',
|
|
|
'title' => 'YYYOHOOD 黄伟文Wyman X yohood联名商品 圆领卫衣',
|
|
|
'price' => '399',
|
|
|
'sPrice' => '199',
|
|
|
'rank' => '10'
|
|
|
'name' => '4~6折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '7折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
|
|
|
)
|
|
|
),
|
|
|
|
|
|
//SALE页面内容
|
|
|
// 'saleBanner' => array(
|
|
|
// 'bannerHeight' => 350,
|
|
|
// 'img' => 'http://img12.static.yhbimg.com/couponImg/2015/12/10/08/02d4c26f19ca2e44359d69d5cff86167fb.jpg'
|
|
|
// ),
|
|
|
// 'saleTitle' => array(
|
|
|
// 'name' => '全部商品',
|
|
|
// 'count' => 540
|
|
|
// ),
|
|
|
|
|
|
//NEW页面内容
|
|
|
'newMain' => array(
|
|
|
'banner' => 'http://img11.static.yhbimg.com/yhb-img01/2015/11/23/07/010a459d41b99a839cba9377532f1c19b2.jpg?imageView/3/w/970/h/200',
|
|
|
'date' => '12月16日',
|
|
|
'title' => '新品到着',
|
|
|
'brands' => array(
|
|
|
array(
|
|
|
'hotBrands' => array(
|
|
|
'name' => '热门品牌'
|
|
|
)
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'hotWeek' => array(
|
|
|
'name' => '一周热卖',
|
|
|
'nav' => array(
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'textCn' => 'TOP100',
|
|
|
'url' => '',
|
|
|
'sid' => 1
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'textCn' => '上装',
|
|
|
'url' => '',
|
|
|
'sid' => 2
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'textCn' => '男生测试',
|
|
|
'url' => '',
|
|
|
'sid' => 3
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'textCn' => '配饰',
|
|
|
'url' => '',
|
|
|
'sid' => 4
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'list' => array(
|
|
|
'filters' => array(
|
|
|
'checkedConditions' => array(
|
|
|
'conditions' => array(
|
|
|
array(
|
|
|
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/11/24/10/020dce58a189f3fbfc071b3d5dc7ccc4e9.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90',
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_294497_377385.html',
|
|
|
'name' => 'MARtube马克图布 暖手宝移动电源萌兔',
|
|
|
'marketPrice' => '109',
|
|
|
'salePrice' => '129'
|
|
|
'href' => '',
|
|
|
'name' => '暗黑'
|
|
|
),
|
|
|
array(
|
|
|
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/11/24/10/020dce58a189f3fbfc071b3d5dc7ccc4e9.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90',
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_294497_377385.html',
|
|
|
'name' => 'MARtube马克图布 暖手宝移动电源萌兔',
|
|
|
'marketPrice' => '109',
|
|
|
'salePrice' => '129'
|
|
|
'href' => '',
|
|
|
'color' => '#f00'
|
|
|
),
|
|
|
array(
|
|
|
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/11/24/10/020dce58a189f3fbfc071b3d5dc7ccc4e9.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90',
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_294497_377385.html',
|
|
|
'name' => 'MARtube马克图布 暖手宝移动电源萌兔',
|
|
|
'marketPrice' => '109',
|
|
|
'salePrice' => '129'
|
|
|
'href' => '',
|
|
|
'name' => 'CLOT'
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/11/24/10/020dce58a189f3fbfc071b3d5dc7ccc4e9.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90',
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_294497_377385.html',
|
|
|
'name' => 'MARtube马克图布 暖手宝移动电源萌兔',
|
|
|
'marketPrice' => '109',
|
|
|
'salePrice' => '129'
|
|
|
'clearUrl' => ''
|
|
|
),
|
|
|
'channel' => array(
|
|
|
array(
|
|
|
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/11/24/10/020dce58a189f3fbfc071b3d5dc7ccc4e9.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90',
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_294497_377385.html',
|
|
|
'name' => 'MARtube马克图布 暖手宝移动电源萌兔',
|
|
|
'marketPrice' => '109',
|
|
|
'salePrice' => '129'
|
|
|
'href' => '/?gender=1,3',
|
|
|
'name' => 'BOYS'
|
|
|
),
|
|
|
array(
|
|
|
'thumb' => 'http://img13.static.yhbimg.com/goodsimg/2015/11/24/10/020dce58a189f3fbfc071b3d5dc7ccc4e9.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90',
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_294497_377385.html',
|
|
|
'name' => 'MARtube马克图布 暖手宝移动电源萌兔',
|
|
|
'marketPrice' => '109',
|
|
|
'salePrice' => '129'
|
|
|
'href' => '/?gender=2,3',
|
|
|
'name' => 'GIRLS'
|
|
|
),
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('hotrank', $data);
|
|
|
}
|
|
|
|
|
|
|
|
|
/*
|
|
|
* 热销排行热门品牌ajax
|
|
|
*/
|
|
|
public function getBrandAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
'logoBrand' => array(
|
|
|
array(
|
|
|
'href' => 'http://www.yohobuy.com',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2014/09/25/17/0248182b151d2d59cbeea8e73495d1607a.jpg?imageView/2/w/185/h/86'
|
|
|
'href' => '',
|
|
|
'name' => 'KIDS'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'LIFESTYLE'
|
|
|
)
|
|
|
),
|
|
|
'sort' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'name' => '上衣',
|
|
|
'sub' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'T恤'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '棉袄'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '外套'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'id' => '2',
|
|
|
'name' => '裤子'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'id' => '3',
|
|
|
'name' => '连衣裙'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'id' => '4',
|
|
|
'name' => '鞋'
|
|
|
)
|
|
|
),
|
|
|
'brand' => array(
|
|
|
'default' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'CLOT'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'ABLE JEANS'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'Eight Guys'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'FAIRWHALE JEANS'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '鬼洗'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '金银帝国Imperial Taels'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'F.L.Y.D'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'Tapenade特芙娜'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'Adidas Originals'
|
|
|
)
|
|
|
),
|
|
|
'brandIndex' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => 'all',
|
|
|
'name' => '全部'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => '0-9',
|
|
|
'name' => '0 ~ 9'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => 'a',
|
|
|
'name' => 'A'
|
|
|
)
|
|
|
),
|
|
|
'brandsShow' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => '0-9',
|
|
|
'name' => '5cm',
|
|
|
'key' => '5cm'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '2',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => 'k',
|
|
|
'name' => 'KTZ',
|
|
|
'key' => 'ktz'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '3',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => 't',
|
|
|
'name' => 'Tapenade特芙娜',
|
|
|
'key' => 'tapenade特芙娜'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '4',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => 'j',
|
|
|
'name' => '金银帝国Imperial Taels',
|
|
|
'key' => '金银帝国imperial taels'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '5',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'index' => 'a',
|
|
|
'name' => 'ABLE JEANS',
|
|
|
'key' => 'able jeans'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'price' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '0-239'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '240-329'
|
|
|
)
|
|
|
),
|
|
|
'color' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '黑色',
|
|
|
'rgb' => '#000'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '红色',
|
|
|
'rgb' => '#f00'
|
|
|
)
|
|
|
),
|
|
|
'size' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'S'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => 'L'
|
|
|
)
|
|
|
),
|
|
|
'seniorChose' => array(
|
|
|
array(
|
|
|
'attr' => 'style',
|
|
|
'name' => '风格',
|
|
|
'showMulti' => true,
|
|
|
'sub' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '街头'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '2',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '简约'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'attr' => 'weather',
|
|
|
'name' => '适用季节',
|
|
|
'sub' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '春天'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '2',
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '夏天'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'opts' => array(
|
|
|
'sortType' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '默认'
|
|
|
),
|
|
|
array(
|
|
|
'active' => true,
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '最新',
|
|
|
'hasSortOrient' => true,
|
|
|
'desc' => true
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '价格',
|
|
|
'hasSortOrient' => true
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '折扣',
|
|
|
'hasSortOrient' => true
|
|
|
)
|
|
|
),
|
|
|
'checks' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '新品',
|
|
|
'checked' => true,
|
|
|
'href' => ''
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '打折',
|
|
|
'href' => ''
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'name' => '限量',
|
|
|
'checked' => true,
|
|
|
'href' => ''
|
|
|
)
|
|
|
),
|
|
|
'fivePerLine' => true,
|
|
|
'sixPerLineHref' => '',
|
|
|
'countPerPage' => '120',
|
|
|
'pageCounts' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'count' => 60
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'count' => 100
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'count' => 120
|
|
|
)
|
|
|
),
|
|
|
'curPage' => 1,
|
|
|
'pageCount' => 30,
|
|
|
'nextHref' => 'hello'
|
|
|
),
|
|
|
'goods' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isYearEndPromotion' => true
|
|
|
),
|
|
|
'url' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899',
|
|
|
'isFew' => true
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
),
|
|
|
'url' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899',
|
|
|
'showColBtn' => true
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
),
|
|
|
'url' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'url' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
),
|
|
|
'url' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899'
|
|
|
),
|
|
|
array(
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
),
|
|
|
'url' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'thumb' => 'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90',
|
|
|
'name' => 'adidas Originals FORUM 中帮拼色休闲板鞋',
|
|
|
'salePrice' => '899'
|
|
|
)
|
|
|
),
|
|
|
'totalCount' => '2259',
|
|
|
'pager' => '<a href="" class="cur"><span>1</span></a><a href=""><span>2</span></a><a href="" title="下一页">下一页<span class="iconfont">></span></a>'
|
|
|
)
|
|
|
);
|
|
|
|
|
|
$this->_view->display('new-sale', $data);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 获取商品颜色
|
|
|
*/
|
|
|
public function productColorAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
array(
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html',
|
|
|
'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
array(
|
|
|
'url' => 'http://item.yohobuy.com/product/pro_187471_252595/NIKEAIRMAX90ESSENTIAL537384126.html',
|
|
|
'src' => 'http://img12.static.yhbimg.com/goodsimg/2015/09/24/09/028738fa8afcf5031733bcdfa83e397f0f.jpg?imageMogr2/thumbnail/75x100/extent/75x100/background/d2hpdGU=/position/center/quality/90'
|
|
|
),
|
|
|
);
|
|
|
|
|
|
$this->echoJson($data);
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|