Authored by 周少峰

Merge branch 'feature/mBrandShop' of http://git.dev.yoho.cn/web/yohobuywap into feature/mBrandShop

... ... @@ -13,6 +13,24 @@
overflow: hidden;
}
.logo {
position: absolute;
overflow: hidden;
left: 30rem / $pxConvertRem;
bottom: 30rem / $pxConvertRem;
width: 100rem / $pxConvertRem;
height: 100rem / $pxConvertRem;
}
.name {
color: #fff;
font-size: 28rem / $pxConvertRem;
position: absolute;
overflow: hidden;
left: 148rem / $pxConvertRem;
bottom: 20rem / $pxConvertRem;
}
.collect {
width: 128rem / $pxConvertRem;
height: 50rem / $pxConvertRem;
... ... @@ -38,7 +56,7 @@
background: #fff;
overflow: hidden;
border-sizing: border-box;
border-bottom: 1px solid #e1e1e1;
border-bottom: 1rem / $pxConvertRem solid #e1e1e1;
li{
color: #b1b1b1;
... ... @@ -48,7 +66,7 @@
line-height: 28rem /$pxConvertRem;
width: 24%;
text-align: center;
border-left: 1px solid #e1e1e1;
border-left: 1rem / $pxConvertRem solid #e1e1e1;
margin-top: 30rem / $pxConvertRem;
border-sizing: border-box;
color: #b1b1b1;
... ... @@ -113,12 +131,14 @@
font-size: 20px;
text-align: center;
padding-top: 25rem / $pxConvertRem;
margin-bottom: 30rem / $pxConvertRem;
margin-bottom: 30rem / $pxConvertRem;
overflow: hidden;
}
.multi-browse {
margin-top: 50rem / $pxConvertRem;
overflow: hidden;
@extend .swiper-container
}
.brand-img {
... ... @@ -149,13 +169,13 @@
img {
width: 90%;
border-radius: 10px;
border-radius: 10rem / $pxConvertRem;
vertical-align: top;
}
}
}
.title {
.popularity-title {
background: #fff;
border-bottom: 1px solid #e8e8e8;
text-align: center;
... ... @@ -248,56 +268,20 @@
.goods-container {
position: relative;
min-height: 440px;
min-height: 440rem / $pxConvertRem;
padding-left: 0.375rem;
padding-top: 20rem / $pxConvertRem;
border-bottom: 1px solid #e0e0e0;
}
// .fotter {
// position: fixed;
// left: 0;
// bottom: 0;
// z-index: 3;
// width: 100%;
// height: 88rem / $pxConvertRem;
// margin: 0;
// padding: 0;
// border: 0;
// font: inherit;
// vertical-align: baseline;
// list-style: none;
// font-size: 0.7rem;
// background: #fff;
// overflow: hidden;
// border-sizing: border-box;
// border-top: 1px solid #e1e1e1;
// li{
// display: block;
// height: 28rem /$pxConvertRem;
// float: left;
// line-height: 28rem /$pxConvertRem;
// width: 33%;
// text-align: center;
// border-left: 1px solid #e1e1e1;
// margin-top: 30rem / $pxConvertRem;
// border-sizing: border-box;
// &:first-child {
// border-left: none;
// }
// }
// }
.discount-area {
@extend .discount-page;
.list-nav li {
display: block;
height: 28rem /$pxConvertRem;
height: 28rem / $pxConvertRem;
float: left;
line-height: 28rem /$pxConvertRem;
line-height: 28rem / $pxConvertRem;
width: 24%;
text-align: center;
border-left: 1px solid #e1e1e1;
... ... @@ -305,17 +289,21 @@
margin-bottom: 30rem / $pxConvertRem;
border-sizing: border-box;
span {
font-size: 0.7rem;
}
&:first-child {
border-left: none;
}
}
.list-nav .icon .up {
top: -4px;
top: -6rem / $pxConvertRem;
}
.list-nav .icon .down {
top: 3px;
top: 8rem / $pxConvertRem;
}
.goods-container {
... ... @@ -349,12 +337,6 @@
}
// .fixed-top {
// position: fixed;
// top: 0;
// left: 0;
// }
.shop-foot-wrapper {
position: absolute;
bottom: 0;
... ... @@ -416,4 +398,9 @@
background: image-url("/img/product/sharp.png") no-repeat center center;
}
}
.bytouch{
background:#eee;
}
}
\ No newline at end of file
... ...
... ... @@ -19,103 +19,132 @@
</div>
<div class="branner-top">
<img src="{{branerImg}}">
<img class="logo" src="{{logoImg}}">
<p class="name">{{storeName}}</p>
<div class="collect"></div>
</div>
</div>
<ul id="nav" class="nav">
<li class="active color">首页</li>
<li>上新</li>
<li>人气</li>
<li class="active color" tab="home-page">首页</li>
<li tab="new-arrival">上新</li>
<li tab="popularity">人气</li>
<li>
<a href="#" target="_blank">全部商品</a>
</li>
</ul>
<div id="nav-main" class="main">
{{#unless brands}}
<div class="multi-brands">
<h2>品牌一览</h2>
<!-- {{#each brandImg}}
<div class="brand-img">
<img src="{{brandType}}">
<p>{{brandName}}</p>
<div id="home-page">
<div id="nav-main" class="main">
{{#unless brands}}
<div class="multi-brands">
<h2>品牌一览</h2>
<div class="multi-browse">
<ul class="swiper-wrapper">
{{#each multiList}}
<li class="swiper-slide brand-img">
<a href="{{url}}">
<img src="{{img}}">
</a>
<p>{{brandName}}</p>
</li>
{{/each}}
</ul>
</div>
</div>
{{/each}} -->
{{/unless}}
<div class="multi-browse swiper-container">
<ul class="swiper-wrapper">
{{#each multi-list}}
<li class="swiper-slide brand-img">
<a href="{{url}}">
<img src="{{img}}">
</a>
<p>{{brandName}}</p>
</li>
{{/each}}
</ul>
<div class="banner-area">
{{# bannerTop}}
{{> home/banner_top}}
{{/ bannerTop}}
</div>
</div>
{{/unless}}
<div class="banner-area">
{{# bannerTop}}
{{> home/banner_top}}
{{/ bannerTop}}
</div>
<ul class="spring">
{{#each spring}}
<li>
<img src="{{springType}}">
</li>
{{/each}}
</ul>
<ul class="spring">
{{#each spring}}
<li>
<a href="{{url}}">
<img src="{{springType}}">
</a>
</li>
{{/each}}
</ul>
{{! 热门品类}}
{{# hotCategory}}
{{> home/hot_category}}
{{/ hotCategory}}
{{! 热门品类}}
{{# hotCategory}}
{{> home/hot_category}}
{{/ hotCategory}}
<div class="title">
人气单品
<a class="more" href="{{more_url}}">&#xe618;</a>
<div class="popularity-title">
人气单品
<a class="more" href="{{more_url}}">&#xe618;</a>
</div>
<ul class="product-list">
{{#each hotList}}
<li>
<a href="{{url}}">
<img src="{{listUrl}}">
</a>
<div class="list-price">
<p>VANS AP M BERZE</p>
<p><span class="red">{{originalPrice}}</span>
<span>{{presentPrice}}</span>
</p>
</div>
</li>
{{/each}}
</ul>
</div>
<ul class="product-list">
{{#each hotList}}
<li>
<img src="{{img}}">
<div class="list-price">
<p>{{productName}}</p>
<p><span class="red">{{originalPrice}}</span>
<span>{{presentPrice}}</span>
</p>
</div>
</li>
{{/each}}
</ul>
</div>
<div class="discount-area">
{{> product/goods-nav-top}}
</div>
<div class="discount-area">
{{> product/goods-nav-top}}
</div>
</div>
<div id="new-arrival" class=""></div>
<div id="popularity" class=""></div>
</div>
<ul id="pos-nav" class="nav hide">
<li class="active color">首页</li>
<li>上新</li>
<li>人气</li>
<li>
<a href="#" target="_blank">全部商品</a>
</li>
<li class="active color">首页</li>
<li>上新</li>
<li>人气</li>
<li>
<a href="#" target="_blank">全部商品</a>
</li>
</ul>
<ul id="pos-list" class="nav hide">
<li>最新</li>
<li>价格</li>
<li>折扣</li>
<li>筛选</li>
<ul id="pos-list " class="list-nav clearfixnav hide discount-area">
<li class="new active">
<a href="javascript:void(0);">
<span class="spanTest">最新</span>
<span class="iconfont cur">&#xe616;</span>
</a>
</li>
<li class="price">
<a href="javascript:void(0);">
<span class="spanTest">价格</span>
<span class="icon">
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
<li class="discount">
<a href="javascript:void(0);">
<span class="spanTest">折扣</span>
<span class="icon">
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
<li class="filter">
<a href="javascript:void(0);">
<span class="spanTest">筛选</span>
<span class="iconfont cur">&#xe613;</span>
</a>
</li>
</ul>
</div>
</div>
{{/ shopIndex}}
{{> layout/footer}}
\ No newline at end of file
... ...
... ... @@ -349,5 +349,6 @@
{{#if shopPage}}
<script>
seajs.use('js/product/shop');
seajs.use('js/product/newsale/discount');
</script>
{{/if}}
\ No newline at end of file
... ...
<ul id="list-nav" class="list-nav clearfix">
<li class="new active">
<a href="javascript:void(0);">
<span class="spanTest">最新</span>
<span class="iconfont cur">&#xe616;</span>
</a>
</li>
<li class="price">
<a href="javascript:void(0);">
<span class="spanTest">价格</span>
<span class="icon">
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
<li class="discount">
<a href="javascript:void(0);">
<span class="spanTest">折扣</span>
<span class="icon">
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
<li class="filter">
<a href="javascript:void(0);">
<span class="spanTest">筛选</span>
<span class="iconfont cur">&#xe613;</span>
</a>
</li>
</ul>
<li class="new active">
<a href="javascript:void(0);">
<span class="spanTest">最新</span>
<span class="iconfont cur">&#xe616;</span>
</a>
</li>
<li class="price">
<a href="javascript:void(0);">
<span class="spanTest">价格</span>
<span class="icon">
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
<li class="discount">
<a href="javascript:void(0);">
<span class="spanTest">折扣</span>
<span class="icon">
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
<li class="filter">
<a href="javascript:void(0);">
<span class="spanTest">筛选</span>
<span class="iconfont cur">&#xe613;</span>
</a>
</li>
</ul>
<div id="goods-container" class="goods-container">
<div class="new-goods container clearfix">
{{# goods}}
{{> good}}
{{/ goods}}
</div>
<div class="price-goods container hide clearfix"></div>
<div class="discount-goods container hide clearfix"></div>
<div id="goods-container" class="goods-container">
<div class="new-goods container clearfix">
{{# goods}}
{{> good}}
{{/ goods}}
</div>
<div class="price-goods container hide clearfix"></div>
<div class="discount-goods container hide clearfix"></div>
{{> filter}}
</div>
\ No newline at end of file
{{> filter}}
</div>
\ No newline at end of file
... ...
<?php
use Action\AbstractAction;
// use LibModels\Wap\Product\SearchData;
// use Plugin\DataProcess\ListProcess;
use LibModels\Wap\Product\SearchData;
use Plugin\DataProcess\ListProcess;
use Plugin\Helpers;
/**
... ... @@ -39,6 +39,7 @@ class SearchController extends AbstractAction
'shop' => FILTER_DEFAULT,
'categoryId' => FILTER_DEFAULT,
'subCategoryId' => FILTER_DEFAULT,
'title' => FILTER_DEFAULT,
'query' => FILTER_DEFAULT,
'brand' => FILTER_DEFAULT,
'sort' => FILTER_DEFAULT,
... ... @@ -106,9 +107,9 @@ class SearchController extends AbstractAction
// 跳转到品牌商品列表页
if ($domain !== null) {
$url = Helpers::url('', array(
'from' => 'search',
'query' => $query
), $domain);
'from' => 'search',
'query' => $query
), $domain);
$this->go($url);
}
}
... ... @@ -122,7 +123,7 @@ class SearchController extends AbstractAction
if (empty($classNames)) {
break;
}
/* 精确查一级品类 */
$sorts = array_keys($classNames['first'], $query, true);
if (isset($sorts[0])) {
... ... @@ -151,13 +152,11 @@ class SearchController extends AbstractAction
if ($isQueryFirstClass) {
$this->setTitle('全部' . $query);
$this->setNavHeader('全部' . $query, true, SITE_MAIN);
}
// 搜索是二级品类
} // 搜索是二级品类
elseif ($isQuerySecondClass) {
$this->setTitle($query);
$this->setNavHeader($query, true, SITE_MAIN);
}
// 搜索其它内容
} // 搜索其它内容
else {
$from = $this->get('from');
if ($haveQuery || $from) {
... ... @@ -196,6 +195,11 @@ class SearchController extends AbstractAction
$listData = array();
}
if($condition['title']){
$this->setTitle($condition['title']);
$this->setNavHeader($condition['title'], true, SITE_MAIN);
}
$this->_view->display('list', $data);
}
... ... @@ -254,8 +258,7 @@ class SearchController extends AbstractAction
// 为了兼容现在运营在用的p_d
if (isset($condition['p_d'])) {
$condition['p_d'] = rawurldecode($condition['p_d']);
}
// 转换折扣
} // 转换折扣
elseif (isset($condition['discount'])) {
$condition['p_d'] = rawurldecode($condition['discount']);
unset($condition['discount']);
... ... @@ -345,8 +348,7 @@ class SearchController extends AbstractAction
// 为了兼容现在运营在用的p_d
if (isset($condition['p_d'])) {
$condition['p_d'] = rawurldecode($condition['p_d']);
}
// 转换折扣
} // 转换折扣
elseif (isset($condition['discount'])) {
$condition['p_d'] = rawurldecode($condition['discount']);
unset($condition['discount']);
... ...
... ... @@ -350,10 +350,11 @@ class ListModel
/**
* @param $data
* @param $shop_id
* @return array 返回的处理好的数据
* @author chengyao.guo
*/
public static function categoryData($data)
public static function categoryData($data , $shop_id)
{
$result = array();
$result['class'] = array();
... ... @@ -361,9 +362,13 @@ class ListModel
foreach ($data as &$item) {
array_push($result['class'], array('name' => $item['category_name']));
foreach ($item['sub'] as &$item2) {
$item2['url'] = Helpers::url('/search/list',array(
'shop' => '326'
)); // tar mark 还有其他参数
$item2['url'] = Helpers::url('/search/list', array(
'shop' => $shop_id,
'categoryId' => $item['category_id'],
'subCategoryId' => $item2['category_id'],
'title' => $item2['category_name'],
'query' => $item2['category_name'],
));
}
array_push($result['category'], array('subcategory' => $item['sub']));
}
... ... @@ -374,18 +379,22 @@ class ListModel
* 店铺所有品牌信息处理
* @author chengyao.guo
* @param $data
* @param $shop_id
* @return mixed
*/
public static function brandData($data)
public static function brandData($data,$shop_id)
{
// 处理图片链接
foreach ($data as &$item) {
$item['brand_ico'] = Images::getImageUrl($item['brand_ico'], 0, 0);
$item['url'] = Helpers::url('',array(),$item['brand_domain']);
$item['url'] = Helpers::url('/search/list', array(
'shop' => $shop_id,
'brand' => $item['brand_id'],
'title' => $item['brand_name'],
));
}
return $data;
}
/**
* 新店铺首页
* @param int $shopId 店铺id
... ...
... ... @@ -255,9 +255,8 @@ class IndexController extends AbstractAction
$result = array();
$resource = ShopData::getShopBrands($requestData['shop_id']);
if($resource['code'] === 200){
$result = ListModel::brandData($resource['data']);
$result = ListModel::brandData($resource['data'],$requestData['shop_id']);
}
// ShopData::debugOut($resource);
if(Mobile::isMobile()){
$this->setTitle('品牌');
}else{
... ... @@ -285,14 +284,13 @@ class IndexController extends AbstractAction
$result = array();
$resource = ShopData::getShopCategory($requestData['shop_id'], Helpers::getChannelByCookie(), Helpers::getGenderByCookie());
if ($resource['code'] === 200) {
$result = ListModel::categoryData($resource['data']);
$result = ListModel::categoryData($resource['data'],$requestData['shop_id']);
}
if(Mobile::isMobile()){
$this->setTitle('品类');
}else{
$this->setNavHeader('品类', true, SITE_MAIN);
}
// ShopData::debugOut($resource);
return $this->_view->display('category', array(
'productCategoryPage' => true,
'content' => $result,
... ... @@ -322,7 +320,6 @@ class IndexController extends AbstractAction
}else{
$this->setNavHeader('店铺简介', true, SITE_MAIN);
}
// ShopData::debugOut($resource);
return $this->_view->display('intro', array(
'content' => $result,
));
... ... @@ -366,5 +363,264 @@ class IndexController extends AbstractAction
{
}
/**
* 店铺品牌首页
*
* @return mixed
*/
public function testAction()
{
$data = array(
'branerImg' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026e96d1b403d28407650c7228bb4ca405.jpg?imageView2/2/w/640/h/200',
'logoImg' => '',
'storeName' => 'Vans专营店',
'goodList' => 'http://www.baidu.com',
'brands' => false,
'multiList' => array(
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re34456556900'
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re34456556900'
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re344565'
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re34456556900'
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re34456556900'
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re344565'
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/18/05/026b9aee5b7d2ec33e8db877c3d87b3386.jpg?imageView2/2/w/640/h/403',
'brandName' => '123re344565'
)
),
'bannerTop' => array(
'list' => array(
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/01/19/11/02039485d87cc1b100b883244cf386e62d.jpg?imageView/2/w/640/h/200',
),
array(
'url' => '',
'img' => 'http://img12.static.yhbimg.com/yhb-img01/2016/01/19/11/02039485d87cc1b100b883244cf386e62d.jpg?imageView/2/w/640/h/200',
),
)
),
'spring' => array(
array(
'url' => '',
'springType' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/01ea96f5fd2ea8ef99d37d00f39d8e57f0.jpg?imageView/2/w/275/h/160'
),
array(
'url' => '',
'springType' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160'
)
),
'hotCategory' => array(
'name' => '热门品类',
'list' => array(
array(
'url' => 'http://img12.static.yhbimg.com/yhb-img01/2016/04/15/02/0295b83dc3bcef5bd59f339841f9ee92d1.jpg?imageView2/2/w/640/h/403',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
),
array(
'url' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
'img' => 'http://img11.static.yhbimg.com/yhb-img01/2015/12/29/08/019c44dcf0a93e9f3afe2fbec0d1961046.jpg?imageView/2/w/275/h/160',
)
)
),
'hotList' => array(
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599.00',
'presentPrice' => '¥399.00'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599',
'presentPrice' => '¥399'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599',
'presentPrice' => '¥399'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599',
'presentPrice' => '¥399'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599.00',
'presentPrice' => '¥399.00'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599',
'presentPrice' => '¥399'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599',
'presentPrice' => '¥399'
),
array(
'url' => '',
'listUrl' => 'http://img11.static.yhbimg.com/goodsimg/2016/04/07/07/0147c904336407bb9f4008bfda7920b9bd.jpg?imageMogr2/thumbnail/276x366/extent/276x366/background/d2hpdGU=/position/center/quality/80',
'originalPrice' => '¥599',
'presentPrice' => '¥399'
)
),
'goods' => array(
array(
'url' => 'http://m.yohobuy.com/product/pro_320421_412063/SYSTAGYuanLingWeiYiSYSA601HC09.html',
'thumb' => 'http://img10.static.yhbimg.com/goodsimg/2015/12/07/09/01ced0e2ed6a4f2a6d95be70cd0a6c5a56.jpg?imageView/2/w/235/h/314',
'name' => 'NEFF ONE OF US RAGLAN L/S 男款森林风连帽卫衣',
'salePrice' => '759.00',
'price' => '799.00',
'tags' => array(
'is_new' => false,
'is_advance' => true,
'is_discount' => false,
'is_yohoood' => false,
'is_limited' => false
),
'is_soon_sold_out' => false
),
array(
'url' => 'http://m.yohobuy.com/product/pro_320421_412063/SYSTAGYuanLingWeiYiSYSA601HC09.html',
'thumb' => 'http://img10.static.yhbimg.com/goodsimg/2015/12/07/09/01ced0e2ed6a4f2a6d95be70cd0a6c5a56.jpg?imageView/2/w/235/h/314',
'name' => 'NEFF ONE OF US RAGLAN L/S 男款森林风连帽卫衣',
'salePrice' => '759.00',
'price' => '799.00',
'tags' => array(
'is_new' => true,
'is_advance' => false,
'is_discount' => false,
'is_yohoood' => false,
'is_limited' => false
),
'is_soon_sold_out' => false
),
array(
'url' => 'http://m.yohobuy.com/product/pro_320421_412063/SYSTAGYuanLingWeiYiSYSA601HC09.html',
'thumb' => 'http://img10.static.yhbimg.com/goodsimg/2015/12/07/09/01ced0e2ed6a4f2a6d95be70cd0a6c5a56.jpg?imageView/2/w/235/h/314',
'name' => 'NEFF ONE OF US RAGLAN L/S 男款森林风连帽卫衣',
'salePrice' => '759.00',
'price' => '799.00',
'tags' => array(
'is_new' => true,
'is_advance' => false,
'is_discount' => false,
'is_yohoood' => false,
'is_limited' => false
),
'is_soon_sold_out' => false
),
array(
'url' => 'http://m.yohobuy.com/product/pro_320421_412063/SYSTAGYuanLingWeiYiSYSA601HC09.html',
'thumb' => 'http://img10.static.yhbimg.com/goodsimg/2015/12/07/09/01ced0e2ed6a4f2a6d95be70cd0a6c5a56.jpg?imageView/2/w/235/h/314',
'name' => 'NEFF ONE OF US RAGLAN L/S 男款森林风连帽卫衣',
'salePrice' => '759.00',
'price' => '799.00',
'tags' => array(
'is_new' => true,
'is_advance' => false,
'is_discount' => false,
'is_yohoood' => false,
'is_limited' => false
),
'is_soon_sold_out' => false
),
array(
'url' => 'http://m.yohobuy.com/product/pro_320421_412063/SYSTAGYuanLingWeiYiSYSA601HC09.html',
'thumb' => 'http://img10.static.yhbimg.com/goodsimg/2015/12/07/09/01ced0e2ed6a4f2a6d95be70cd0a6c5a56.jpg?imageView/2/w/235/h/314',
'name' => 'NEFF ONE OF US RAGLAN L/S 男款森林风连帽卫衣',
'salePrice' => '759.00',
'price' => '799.00',
'tags' => array(
'is_new' => true,
'is_advance' => false,
'is_discount' => false,
'is_yohoood' => false,
'is_limited' => false
),
'is_soon_sold_out' => false
),
array(
'url' => 'http://m.yohobuy.com/product/pro_320421_412063/SYSTAGYuanLingWeiYiSYSA601HC09.html',
'thumb' => 'http://img10.static.yhbimg.com/goodsimg/2015/12/07/09/01ced0e2ed6a4f2a6d95be70cd0a6c5a56.jpg?imageView/2/w/235/h/314',
'name' => 'NEFF ONE OF US RAGLAN L/S 男款森林风连帽卫衣',
'salePrice' => '759.00',
'price' => '799.00',
'tags' => array(
'is_new' => true,
'is_advance' => false,
'is_discount' => false,
'is_yohoood' => false,
'is_limited' => false
),
'is_soon_sold_out' => false
)
)
);
return $this->_view->display('shop', array(
'shopIndex' => $data,
'shopPage' => true
));
}
}
... ...