Girls.php 1.77 KB
<?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'));
    }
}