...
|
...
|
@@ -150,7 +150,20 @@ class HomeController extends AbstractAction |
|
|
|
|
|
$favProducts = \Index\UserModel::getFavProductData($uid);
|
|
|
|
|
|
print_r($favProducts);
|
|
|
//print_r($favProducts);
|
|
|
|
|
|
$this->_view->display('favorite', array(
|
|
|
'favPage' => true,
|
|
|
'pageHeader' => array(
|
|
|
'navBack' => true,
|
|
|
'navTitle' => '我的收藏',
|
|
|
'navHome' => true
|
|
|
),
|
|
|
'pageFooter' => true,
|
|
|
'favorite' => true,
|
|
|
'hasFavProduct' => false,
|
|
|
'hasFavBrand' => false
|
|
|
));
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -268,7 +281,37 @@ class HomeController extends AbstractAction |
|
|
|
|
|
$suggest = \Index\UserModel::getSuggestData($udid, $page, $limit);
|
|
|
|
|
|
print_r($suggest);
|
|
|
//print_r($suggest);
|
|
|
$this->_view->display('suggest', array(
|
|
|
'suggestPage' => true,
|
|
|
'pageHeader' => array(
|
|
|
'navBack' => true,
|
|
|
'navTitle' => '意见反馈'
|
|
|
),
|
|
|
'pageFooter' => true,
|
|
|
'suggest' => true,
|
|
|
'suggestContent' => array(
|
|
|
0 => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/yhb-img01/2015/09/12/06/0115bdfeb4a7dca4b4bfdf0e850f82f2a1.jpg?imageView/2/w/640/h/240',
|
|
|
'title' => '为什么手机不能退换货?',
|
|
|
'content' => 'YOHO!有货的退换货承诺:自您签收商品7日内可以退货,15日内可以换货,在商品吊牌、标签、包装完整,不影响二次销售的情况下,YOHO!有货将为您办理退换货服务。',
|
|
|
'good' => true,
|
|
|
'bad' => false),
|
|
|
1 => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/yhb-img01/2015/09/12/06/0115bdfeb4a7dca4b4bfdf0e850f82f2a1.jpg?imageView/2/w/640/h/240',
|
|
|
'title' => '为什么手机不能退换货?',
|
|
|
'content' => 'YOHO!有货的退换货承诺:自您签收商品7日内可以退货,15日内可以换货,在商品吊牌、标签、包装完整,不影响二次销售的情况下,YOHO!有货将为您办理退换货服务。',
|
|
|
'good' => false,
|
|
|
'bad' => true),
|
|
|
2 => array(
|
|
|
'imgUrl' => 'http://img11.static.yhbimg.com/yhb-img01/2015/09/12/06/0115bdfeb4a7dca4b4bfdf0e850f82f2a1.jpg?imageView/2/w/640/h/240',
|
|
|
'title' => '为什么手机不能退换货?',
|
|
|
'content' => 'YOHO!有货的退换货承诺:自您签收商品7日内可以退货,15日内可以换货,在商品吊牌、标签、包装完整,不影响二次销售的情况下,YOHO!有货将为您办理退换货服务。',
|
|
|
'good' => false,
|
|
|
'bad' => false)
|
|
|
)
|
|
|
));
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -300,8 +343,9 @@ class HomeController extends AbstractAction |
|
|
$gender = Helpers::getGenderByCookie();
|
|
|
$channel = Helpers::getChannelByCookie();
|
|
|
$uid = $this -> getUid();
|
|
|
$uid = '10267443';//临时测试用
|
|
|
$uid = '7566245';//临时测试用
|
|
|
$data = GradeModel::getGrade($gender,$channel,$uid);
|
|
|
$data['pageFooter'] = true;
|
|
|
$this -> _view -> display('vip-grade',$data);
|
|
|
}
|
|
|
/*
|
...
|
...
|
@@ -316,6 +360,7 @@ class HomeController extends AbstractAction |
|
|
$channel = Helpers::getChannelByCookie();
|
|
|
$uid = $this -> getUid();
|
|
|
$data = GradeModel::getPreferential($channel,$uid);
|
|
|
$data['pageFooter'] = true;
|
|
|
$this -> _view -> display('privilege',$data);
|
|
|
}
|
|
|
|
...
|
...
|
|