Girls.php 1.28 KB
<?php

use Action\AbstractAction;
use LibModels\Wap\Home\IndexData as Index;
/**
 * 女生首页
 */
class GirlsController extends AbstractAction
{

    public function indexAction()
    {

      // 频道数据
      $channelData = Index::getUserChannelData(0, '2,3', '201504091403002');

      echo '<pre>';
      print_r($channelData);

      $data = array( 
   
        'headerDownload' => $this->getHeaderDownload(),
        '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', 'YOHO!有货');
      $this->_view->display('index', $data);

    	
    }
}