...
|
...
|
@@ -20,9 +20,11 @@ class HomeController extends AbstractAction |
|
|
*/
|
|
|
public function indexAction()
|
|
|
{
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('个人中心');
|
|
|
|
|
|
// $uid = $this->getUid();
|
|
|
$uid = 967016;
|
|
|
|
|
|
$data = \Index\UserModel::getUserProfileData($uid);
|
|
|
|
|
|
// print_r($data);
|
...
|
...
|
@@ -34,27 +36,55 @@ class HomeController extends AbstractAction |
|
|
$data['recommendForYou'] = array(
|
|
|
'recommendList' => array(
|
|
|
array(
|
|
|
'img' => ''
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => ''
|
|
|
),
|
|
|
array(
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => ''
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => ''
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => ''
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => ''
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
),
|
|
|
array(
|
|
|
'img' => '',
|
|
|
'salePrice' => '567.44',
|
|
|
'oldPrice' => '876.44'
|
|
|
)
|
|
|
)
|
|
|
);
|
|
|
$data['myIndexPage'] = true;
|
|
|
$data['pageFooter'] = true;
|
|
|
|
|
|
// 设置网站标题
|
|
|
$this->setTitle('个人中心');
|
|
|
|
|
|
$this->_view->display('index', $data);
|
|
|
}
|
|
|
|
...
|
...
|
|