Girls.php
1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
use Action\AbstractAction;
use LibModels\Wap\Home\IndexData as Index;
/**
* 女生首页
*/
class GirlsController extends AbstractAction
{
public function indexAction()
{
$data = array(
'backUrl' => 'm.yohobuy.com',
'modulePath' => 'index/girls/index',
'headerDownload' => array(
'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',
'url' => 'http://www.baidu.com'
),
'searchUrl' => '',
'sideNav' => array(
'textCn' => '男生',
'textEn' => 'Boys',
'url' => false,
'subNav' => array(
'list' => array(
array(
'textCn' => '男生',
'img' => 'http://res.yohoboys.com/res/new/boys/images/about/thirdbtn-sina.png',
'url' => ''
),
array(
'textCn' => '新品到着',
'img' => 'http://res.yohoboys.com/res/new/boys/images/about/thirdbtn-sina.png',
'url' => ''
)
)
)
),
);
$this->_view->assign('title', '首页');
$this->_view->display('index', $data);
// // 频道数据
// $channelData = Index::getUserChannelData(0, '2,3', '201504091403002');
// echo '<pre>';
// print_r($channelData);
// $this->_view->assign('title', 'YOHO!有货');
// $this->_view->display('girls', compact('channelData'));
}
}