...
|
...
|
@@ -188,8 +188,9 @@ class HomeController extends AbstractAction |
|
|
*/
|
|
|
public function currencyAction() {
|
|
|
$this->setTitle('YOHO币');
|
|
|
$this->setNavHeader('优惠券', true, SITE_MAIN);
|
|
|
$this->setNavHeader('YOHO币', true, false);
|
|
|
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
$currency = \Index\UserModel::getYohoCoinData($uid);
|
|
|
|
...
|
...
|
@@ -211,8 +212,8 @@ class HomeController extends AbstractAction |
|
|
'couponsUrl' => \Index\UserModel::getCouponData($uid, $status),
|
|
|
'couponsPage' => true
|
|
|
);
|
|
|
|
|
|
print_r($coupons);
|
|
|
|
|
|
$this->_view->display('coupons', $coupons);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -244,7 +245,7 @@ class HomeController extends AbstractAction |
|
|
$address = \Index\UserModel::getAddressData($uid);
|
|
|
$addressList = \Index\UserModel::getAddressListData($uid);
|
|
|
|
|
|
// print_r($address);
|
|
|
// print_r($addressList);
|
|
|
|
|
|
$this->_view->display('address', array(
|
|
|
'addressPage' => true,
|
...
|
...
|
@@ -310,7 +311,7 @@ class HomeController extends AbstractAction |
|
|
|
|
|
$service = home\OnlineModel::getOnlineServiceInfo();
|
|
|
|
|
|
$this->_view->display('online_service', array(
|
|
|
$this->_view->display('online-service', array(
|
|
|
'onlineServicePage' => true,
|
|
|
// 'pageFooter' => true,
|
|
|
'service' => $service
|
...
|
...
|
@@ -327,7 +328,7 @@ class HomeController extends AbstractAction |
|
|
}
|
|
|
$this->setTitle('在线客服');
|
|
|
$this->setNavHeader($cateName, true, '');
|
|
|
$this->_view->display('online_service_detail', $service);
|
|
|
$this->_view->display('online-service-detail', $service);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -351,31 +352,11 @@ class HomeController extends AbstractAction |
|
|
|
|
|
$suggest = \Index\UserModel::getSuggestData($udid, $page, $limit);
|
|
|
|
|
|
print_r($suggest);
|
|
|
$this->_view->display('suggest', array(
|
|
|
'suggestPage' => true, //加载js
|
|
|
'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)
|
|
|
)
|
|
|
'suggestContent' => $suggest
|
|
|
));
|
|
|
}
|
|
|
|
...
|
...
|
|