...
|
...
|
@@ -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,68 +308,77 @@ class Index1Controller extends AbstractAction |
|
|
'curPage' => 1,
|
|
|
'pageCount' => 30,
|
|
|
'nextHref' => 'hello'
|
|
|
)
|
|
|
),
|
|
|
'goods' => array(
|
|
|
0 => array(
|
|
|
'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
|
|
|
),
|
|
|
1 => array(
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
// 无搜索结果字段
|
|
|
// 'keyWord' => '123'
|
|
|
// 'searchActionUrl' => ''
|
|
|
'goods' => array(
|
|
|
0 => array(
|
|
|
'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
|
|
|
),
|
|
|
'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
|
|
|
),
|
|
|
2 => array(
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
1 => 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',
|
|
|
'showColBtn' => 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'
|
|
|
),
|
|
|
3 => array(
|
|
|
'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'
|
|
|
),
|
|
|
4 => array(
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
2 => 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'
|
|
|
),
|
|
|
'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'
|
|
|
),
|
|
|
5 => array(
|
|
|
'tags' => array(
|
|
|
'isNew' => true,
|
|
|
'isReNew' => true
|
|
|
3 => array(
|
|
|
'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'
|
|
|
),
|
|
|
'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'
|
|
|
)
|
|
|
)
|
|
|
4 => 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'
|
|
|
),
|
|
|
5 => 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'
|
|
|
)
|
|
|
),
|
|
|
'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,581 +772,766 @@ class Index1Controller extends AbstractAction |
|
|
'salePrice' => '899'
|
|
|
)
|
|
|
),
|
|
|
'allSort' => array(
|
|
|
'updateNum' => 145,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '裙装',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
'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(
|
|
|
array(
|
|
|
'name' => '裙装',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'name' => '裙装BBB',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'picLink' => array(
|
|
|
'title' => 'AAAA',
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'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' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'newSales' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'name' => '裙装BBB',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'allDiscount' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '1~3折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'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'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'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 newSaleAction()
|
|
|
{
|
|
|
$data = array(
|
|
|
'productListPage' => true,
|
|
|
'newSale' => array(
|
|
|
'pathNav' => array(
|
|
|
array(
|
|
|
'href' => 'new.yohobuy.com/girls',
|
|
|
'name' => 'GRILS首页'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?sort=1',
|
|
|
'name' => '新品到着'
|
|
|
)
|
|
|
),
|
|
|
'leftContent' => array(
|
|
|
array(
|
|
|
'allSort' => array(
|
|
|
'updateNum' => 145,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '裙装',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'name' => '裙装BBB',
|
|
|
'num' => '10',
|
|
|
'childList' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'picLink' => array(
|
|
|
'title' => 'AAAA',
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'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' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'newSales' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '全身裙装',
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'advNav' => array(
|
|
|
'advNavTitle' => 'AAAA',
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img12.static.yhbimg.com/brandBanner/2015/02/04/06/0216e9a4c1c1edb0c8fe6b4347cc5a8035.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'allDiscount' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'name' => '1~3折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
),
|
|
|
array(
|
|
|
'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'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'advPic' => array(
|
|
|
'advPicTitle' => false,
|
|
|
'list' => array(
|
|
|
|
|
|
//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(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/02/28/15/02b2b5ded161ab31e2e097a327ed475052.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'href' => 'http://adidas.yohobuy.com/?folder=1366',
|
|
|
'src' => 'http://img02.static.yohobuy.com/cms/2015/11/10/15/02ee7970deb68390b77cbf0685f26fc5bf.jpg'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'newSales' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/11/09/09/023721f44182f775d79904010af421331e.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img11.static.yhbimg.com/brandLogo/2012/12/13/17/01408fb72646c8f3fa59d870514f08a356.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img13.static.yhbimg.com/brandLogo/2012/12/24/13/0265b45e37af697c5ba12d5415fb341f27.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/11/15/012d09a5cae187af1f6f3ed246b9b5a4fc.jpg?imageView/2/w/170/h/120'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '12月03日',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '',
|
|
|
'logo' => 'http://img11.static.yhbimg.com/brandLogo/2015/08/20/16/01047ffb3ca182871821d551af31ac2378.jpg?imageView/2/w/170/h/120'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'allDiscount' => array(
|
|
|
'updateNum' => 130,
|
|
|
'list' => array(
|
|
|
'filters' => array(
|
|
|
'checkedConditions' => array(
|
|
|
'conditions' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '暗黑'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'color' => '#f00'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'CLOT'
|
|
|
)
|
|
|
),
|
|
|
'clearUrl' => ''
|
|
|
),
|
|
|
'channel' => array(
|
|
|
array(
|
|
|
'name' => '1~3折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '/?gender=1,3',
|
|
|
'name' => 'BOYS'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=2,3',
|
|
|
'name' => 'GIRLS'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '4~6折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '',
|
|
|
'name' => 'KIDS'
|
|
|
),
|
|
|
array(
|
|
|
'name' => '7折',
|
|
|
'href' => 'http://adidas.yohobuy.com/?gender=1,3',
|
|
|
'num' => '5'
|
|
|
'href' => '',
|
|
|
'name' => 'LIFESTYLE'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
);
|
|
|
$this->_view->display('list', $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);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 热销排行
|
|
|
*/
|
|
|
public function hotrankAction() {
|
|
|
$data = array(
|
|
|
'hotrankPage' => true,
|
|
|
'hotrank' => array(
|
|
|
array(
|
|
|
'slide' => array(
|
|
|
'list' => array(
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img10.static.yhbimg.com/taobaocms/2015/11/26/12/01c3b99f554ad50d9e5a9900719715c94c.jpg'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '/?gender=1,3',
|
|
|
'img' => 'http://img12.static.yhbimg.com/taobaocms/2015/11/27/09/02a4f1c10e1e81574520e5c0239741a076.jpg'
|
|
|
),
|
|
|
'sort' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'name' => '上衣',
|
|
|
'sub' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'T恤'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '棉袄'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '外套'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'id' => '2',
|
|
|
'name' => '裤子'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '3',
|
|
|
'name' => '连衣裙'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '4',
|
|
|
'name' => '鞋'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'popular' => array(
|
|
|
'name' => '人气单品',
|
|
|
'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'
|
|
|
),
|
|
|
),
|
|
|
'brand' => array(
|
|
|
'default' => 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' => '2'
|
|
|
'name' => 'CLOT'
|
|
|
),
|
|
|
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'
|
|
|
'name' => 'ABLE JEANS'
|
|
|
),
|
|
|
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'
|
|
|
'name' => 'Eight Guys'
|
|
|
),
|
|
|
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'
|
|
|
'name' => 'FAIRWHALE JEANS'
|
|
|
),
|
|
|
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' => '鬼洗'
|
|
|
),
|
|
|
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' => '金银帝国Imperial Taels'
|
|
|
),
|
|
|
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' => 'F.L.Y.D'
|
|
|
),
|
|
|
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'
|
|
|
'name' => 'Tapenade特芙娜'
|
|
|
),
|
|
|
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' => 'Adidas Originals'
|
|
|
)
|
|
|
)
|
|
|
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'hotBrands' => array(
|
|
|
'name' => '热门品牌'
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'hotWeek' => array(
|
|
|
'name' => '一周热卖',
|
|
|
'nav' => array(
|
|
|
array(
|
|
|
'textCn' => 'TOP100',
|
|
|
'url' => '',
|
|
|
'sid' => 1
|
|
|
),
|
|
|
),
|
|
|
'brandIndex' => array(
|
|
|
array(
|
|
|
'textCn' => '上装',
|
|
|
'url' => '',
|
|
|
'sid' => 2
|
|
|
'index' => 'all',
|
|
|
'name' => '全部'
|
|
|
),
|
|
|
array(
|
|
|
'textCn' => '男生测试',
|
|
|
'url' => '',
|
|
|
'sid' => 3
|
|
|
'index' => '0-9',
|
|
|
'name' => '0 ~ 9'
|
|
|
),
|
|
|
array(
|
|
|
'textCn' => '配饰',
|
|
|
'url' => '',
|
|
|
'sid' => 4
|
|
|
'index' => 'a',
|
|
|
'name' => 'A'
|
|
|
)
|
|
|
),
|
|
|
'list' => 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'
|
|
|
),
|
|
|
'brandsShow' => 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'
|
|
|
'id' => '1',
|
|
|
'href' => '',
|
|
|
'index' => '0-9',
|
|
|
'name' => '5cm',
|
|
|
'key' => '5cm'
|
|
|
),
|
|
|
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'
|
|
|
'id' => '2',
|
|
|
'href' => '',
|
|
|
'index' => 'k',
|
|
|
'name' => 'KTZ',
|
|
|
'key' => 'ktz'
|
|
|
),
|
|
|
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'
|
|
|
'id' => '3',
|
|
|
'href' => '',
|
|
|
'index' => 't',
|
|
|
'name' => 'Tapenade特芙娜',
|
|
|
'key' => 'tapenade特芙娜'
|
|
|
),
|
|
|
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'
|
|
|
'id' => '4',
|
|
|
'href' => '',
|
|
|
'index' => 'j',
|
|
|
'name' => '金银帝国Imperial Taels',
|
|
|
'key' => '金银帝国imperial taels'
|
|
|
),
|
|
|
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'
|
|
|
),
|
|
|
'id' => '5',
|
|
|
'href' => '',
|
|
|
'index' => 'a',
|
|
|
'name' => 'ABLE JEANS',
|
|
|
'key' => 'able jeans'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'price' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '0-239'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '240-329'
|
|
|
)
|
|
|
),
|
|
|
'color' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '黑色',
|
|
|
'rgb' => '#000'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '红色',
|
|
|
'rgb' => '#f00'
|
|
|
)
|
|
|
),
|
|
|
'size' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'S'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => 'L'
|
|
|
)
|
|
|
),
|
|
|
'seniorChose' => array(
|
|
|
array(
|
|
|
'attr' => 'style',
|
|
|
'name' => '风格',
|
|
|
'showMulti' => true,
|
|
|
'sub' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'href' => '',
|
|
|
'name' => '街头'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '2',
|
|
|
'href' => '',
|
|
|
'name' => '简约'
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
array(
|
|
|
'attr' => 'weather',
|
|
|
'name' => '适用季节',
|
|
|
'sub' => array(
|
|
|
array(
|
|
|
'id' => '1',
|
|
|
'href' => '',
|
|
|
'name' => '春天'
|
|
|
),
|
|
|
array(
|
|
|
'id' => '2',
|
|
|
'href' => '',
|
|
|
'name' => '夏天'
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
)
|
|
|
),
|
|
|
'opts' => array(
|
|
|
'sortType' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '默认'
|
|
|
),
|
|
|
array(
|
|
|
'active' => true,
|
|
|
'href' => '',
|
|
|
'name' => '最新',
|
|
|
'hasSortOrient' => true,
|
|
|
'desc' => true
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '价格',
|
|
|
'hasSortOrient' => true
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'name' => '折扣',
|
|
|
'hasSortOrient' => true
|
|
|
)
|
|
|
),
|
|
|
'checks' => array(
|
|
|
array(
|
|
|
'name' => '新品',
|
|
|
'checked' => true,
|
|
|
'href' => ''
|
|
|
),
|
|
|
array(
|
|
|
'name' => '打折',
|
|
|
'href' => ''
|
|
|
),
|
|
|
array(
|
|
|
'name' => '限量',
|
|
|
'checked' => true,
|
|
|
'href' => ''
|
|
|
)
|
|
|
),
|
|
|
'fivePerLine' => true,
|
|
|
'sixPerLineHref' => '',
|
|
|
'countPerPage' => '120',
|
|
|
'pageCounts' => array(
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'count' => 60
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'count' => 100
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'count' => 120
|
|
|
)
|
|
|
),
|
|
|
'curPage' => 1,
|
|
|
'pageCount' => 30,
|
|
|
'nextHref' => 'hello'
|
|
|
),
|
|
|
'goods' => array(
|
|
|
array(
|
|
|
'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(
|
|
|
'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(
|
|
|
'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(
|
|
|
'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'
|
|
|
),
|
|
|
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('hotrank', $data);
|
|
|
}
|
|
|
|
|
|
$this->_view->display('new-sale', $data);
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
* 热销排行热门品牌ajax
|
|
|
* 获取商品颜色
|
|
|
*/
|
|
|
public function getBrandAction()
|
|
|
public function productColorAction()
|
|
|
{
|
|
|
$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'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
),
|
|
|
array(
|
|
|
'href' => '',
|
|
|
'img' => 'http://img12.static.yhbimg.com/brandLogo/2015/03/18/16/020d4fec29ade8ccb6bc8e23b02c958a9d.jpg?imageView/2/w/185/h/86'
|
|
|
)
|
|
|
)
|
|
|
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);
|
...
|
...
|
|